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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Struct.TypeSpecProto.TypeSpecClass getTypeSpecClass()
      .org.platanios.tensorflow.proto.TypeSpecProto.TypeSpecClass type_spec_class = 1;
      java.lang.String getTypeSpecClassName()
      This is currently redundant with the type_spec_class enum, and is only used for error reporting.
      com.google.protobuf.ByteString getTypeSpecClassNameBytes()
      This is currently redundant with the type_spec_class enum, and is only used for error reporting.
      int getTypeSpecClassValue()
      .org.platanios.tensorflow.proto.TypeSpecProto.TypeSpecClass type_spec_class = 1;
      Struct.StructuredValue getTypeState()
      The value returned by TypeSpec._serialize().
      Struct.StructuredValueOrBuilder getTypeStateOrBuilder()
      The value returned by TypeSpec._serialize().
      boolean hasTypeState()
      The value returned by TypeSpec._serialize().
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getTypeSpecClassValue

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

        Struct.TypeSpecProto.TypeSpecClass getTypeSpecClass()
        .org.platanios.tensorflow.proto.TypeSpecProto.TypeSpecClass type_spec_class = 1;
        Returns:
        The typeSpecClass.
      • hasTypeState

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

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

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

        java.lang.String getTypeSpecClassName()
         This is currently redundant with the type_spec_class enum, and is only
         used for error reporting.  In particular, if you use an older binary to
         load a newer model, and the model uses a TypeSpecClass that the older
         binary doesn't support, then this lets us display a useful error message.
         
        string type_spec_class_name = 3;
        Returns:
        The typeSpecClassName.
      • getTypeSpecClassNameBytes

        com.google.protobuf.ByteString getTypeSpecClassNameBytes()
         This is currently redundant with the type_spec_class enum, and is only
         used for error reporting.  In particular, if you use an older binary to
         load a newer model, and the model uses a TypeSpecClass that the older
         binary doesn't support, then this lets us display a useful error message.
         
        string type_spec_class_name = 3;
        Returns:
        The bytes for typeSpecClassName.