TypeSpecProto

public final class TypeSpecProto

 Represents a tf.TypeSpec
 
Protobuf type tensorflow.TypeSpecProto

Nested Classes

class TypeSpecProto.Builder
 Represents a tf.TypeSpec
 
Protobuf type tensorflow.TypeSpecProto  
enum TypeSpecProto.TypeSpecClass Protobuf enum tensorflow.TypeSpecProto.TypeSpecClass  

Constants

int TYPE_SPEC_CLASS_FIELD_NUMBER
int TYPE_SPEC_CLASS_NAME_FIELD_NUMBER
int TYPE_STATE_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
static TypeSpecProto
TypeSpecProto
final static com.google.protobuf.Descriptors.Descriptor
int
TypeSpecProto.TypeSpecClass
getTypeSpecClass()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
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()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
StructuredValue
getTypeState()
 The value returned by TypeSpec._serialize().
StructuredValueOrBuilder
getTypeStateOrBuilder()
 The value returned by TypeSpec._serialize().
final com.google.protobuf.UnknownFieldSet
boolean
hasTypeState()
 The value returned by TypeSpec._serialize().
int
final boolean
static TypeSpecProto.Builder
static TypeSpecProto.Builder
TypeSpecProto.Builder
static TypeSpecProto
parseDelimitedFrom(InputStream input)
static TypeSpecProto
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TypeSpecProto
parseFrom(ByteBuffer data)
static TypeSpecProto
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TypeSpecProto
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TypeSpecProto
parseFrom(com.google.protobuf.CodedInputStream input)
static TypeSpecProto
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TypeSpecProto
parseFrom(com.google.protobuf.ByteString data)
static TypeSpecProto
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TypeSpecProto
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
TypeSpecProto.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int TYPE_SPEC_CLASS_FIELD_NUMBER

Constant Value: 1

public static final int TYPE_SPEC_CLASS_NAME_FIELD_NUMBER

Constant Value: 3

public static final int TYPE_STATE_FIELD_NUMBER

Constant Value: 2

Public Methods

public boolean equals (Object obj)

public static TypeSpecProto getDefaultInstance ()

public TypeSpecProto getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public getParserForType ()

public int getSerializedSize ()

public TypeSpecProto.TypeSpecClass getTypeSpecClass ()

.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;

public 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;

public 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;

public int getTypeSpecClassValue ()

.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;

public StructuredValue getTypeState ()

 The value returned by TypeSpec._serialize().
 
.tensorflow.StructuredValue type_state = 2;

public StructuredValueOrBuilder getTypeStateOrBuilder ()

 The value returned by TypeSpec._serialize().
 
.tensorflow.StructuredValue type_state = 2;

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public boolean hasTypeState ()

 The value returned by TypeSpec._serialize().
 
.tensorflow.StructuredValue type_state = 2;

public int hashCode ()

public final boolean isInitialized ()

public static TypeSpecProto.Builder newBuilder (TypeSpecProto prototype)

public static TypeSpecProto.Builder newBuilder ()

public TypeSpecProto.Builder newBuilderForType ()

public static TypeSpecProto parseDelimitedFrom (InputStream input)

Throws
IOException

public static TypeSpecProto parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static TypeSpecProto parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static TypeSpecProto parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static TypeSpecProto parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static TypeSpecProto parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static TypeSpecProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static TypeSpecProto parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static TypeSpecProto parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static TypeSpecProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public TypeSpecProto.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException