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 Summary
Modifier and Type Method Description Struct.TypeSpecProto.TypeSpecClassgetTypeSpecClass().tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;java.lang.StringgetTypeSpecClassName()This is currently redundant with the type_spec_class enum, and is only used for error reporting.com.google.protobuf.ByteStringgetTypeSpecClassNameBytes()This is currently redundant with the type_spec_class enum, and is only used for error reporting.intgetTypeSpecClassValue().tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;Struct.StructuredValuegetTypeState()The value returned by TypeSpec._serialize().Struct.StructuredValueOrBuildergetTypeStateOrBuilder()The value returned by TypeSpec._serialize().booleanhasTypeState()The value returned by TypeSpec._serialize().Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTypeSpecClassValue
int getTypeSpecClassValue().tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;- Returns:
- The enum numeric value on the wire for typeSpecClass.
-
getTypeSpecClass
Struct.TypeSpecProto.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
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.
-