Package tensorflow

Interface Struct.TypeSpecProtoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Struct.TypeSpecProto, Struct.TypeSpecProto.Builder
Enclosing class:
Struct

public static interface Struct.TypeSpecProtoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getTypeSpecClassValue

      int getTypeSpecClassValue()
      .tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
      Returns:
      The enum numeric value on the wire for typeSpecClass.
    • getTypeSpecClass

      .tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
      Returns:
      The typeSpecClass.
    • hasTypeState

      boolean hasTypeState()
       The value returned by TypeSpec._serialize().
       
      .tensorflow.StructuredValue type_state = 2;
      Returns:
      Whether the typeState field is set.
    • getTypeState

      Struct.StructuredValue getTypeState()
       The value returned by TypeSpec._serialize().
       
      .tensorflow.StructuredValue type_state = 2;
      Returns:
      The typeState.
    • getTypeStateOrBuilder

      Struct.StructuredValueOrBuilder getTypeStateOrBuilder()
       The value returned by TypeSpec._serialize().
       
      .tensorflow.StructuredValue type_state = 2;
    • getTypeSpecClassName

      String getTypeSpecClassName()
       The name of the TypeSpec class.
        * If type_spec_class == REGISTERED_TYPE_SPEC, the TypeSpec class is
          the one registered under this name. For types registered outside
          core TensorFlow by an add-on library, that library must be loaded
          before this value can be deserialized by nested_structure_coder.
        * If type_spec_class specifies a particular TypeSpec class, this field is
          redundant with the type_spec_class enum, and is only used for error
          reporting in older binaries that do not know the tupe_spec_class enum.
       
      string type_spec_class_name = 3;
      Returns:
      The typeSpecClassName.
    • getTypeSpecClassNameBytes

      com.google.protobuf.ByteString getTypeSpecClassNameBytes()
       The name of the TypeSpec class.
        * If type_spec_class == REGISTERED_TYPE_SPEC, the TypeSpec class is
          the one registered under this name. For types registered outside
          core TensorFlow by an add-on library, that library must be loaded
          before this value can be deserialized by nested_structure_coder.
        * If type_spec_class specifies a particular TypeSpec class, this field is
          redundant with the type_spec_class enum, and is only used for error
          reporting in older binaries that do not know the tupe_spec_class enum.
       
      string type_spec_class_name = 3;
      Returns:
      The bytes for typeSpecClassName.
    • getNumFlatComponents

      int getNumFlatComponents()
       The number of flat tensor components required by this TypeSpec.
       
      int32 num_flat_components = 4;
      Returns:
      The numFlatComponents.