TypeSpecProto.Builder

public static final class TypeSpecProto.Builder

 Represents a tf.TypeSpec
 
Protobuf type tensorflow.TypeSpecProto

Public Methods

TypeSpecProto.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TypeSpecProto
build()
TypeSpecProto
TypeSpecProto.Builder
clear()
TypeSpecProto.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TypeSpecProto.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TypeSpecProto.Builder
clearTypeSpecClass()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
TypeSpecProto.Builder
clearTypeSpecClassName()
 This is currently redundant with the type_spec_class enum, and is only
 used for error reporting.
TypeSpecProto.Builder
clearTypeState()
 The value returned by TypeSpec._serialize().
TypeSpecProto.Builder
clone()
TypeSpecProto
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
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().
StructuredValue.Builder
getTypeStateBuilder()
 The value returned by TypeSpec._serialize().
StructuredValueOrBuilder
getTypeStateOrBuilder()
 The value returned by TypeSpec._serialize().
boolean
hasTypeState()
 The value returned by TypeSpec._serialize().
final boolean
TypeSpecProto.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TypeSpecProto.Builder
mergeFrom(com.google.protobuf.Message other)
TypeSpecProto.Builder
mergeTypeState(StructuredValue value)
 The value returned by TypeSpec._serialize().
final TypeSpecProto.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TypeSpecProto.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TypeSpecProto.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TypeSpecProto.Builder
setTypeSpecClass(TypeSpecProto.TypeSpecClass value)
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
TypeSpecProto.Builder
setTypeSpecClassName(String value)
 This is currently redundant with the type_spec_class enum, and is only
 used for error reporting.
TypeSpecProto.Builder
setTypeSpecClassNameBytes(com.google.protobuf.ByteString value)
 This is currently redundant with the type_spec_class enum, and is only
 used for error reporting.
TypeSpecProto.Builder
setTypeSpecClassValue(int value)
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;
TypeSpecProto.Builder
setTypeState(StructuredValue value)
 The value returned by TypeSpec._serialize().
TypeSpecProto.Builder
setTypeState(StructuredValue.Builder builderForValue)
 The value returned by TypeSpec._serialize().
final TypeSpecProto.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public TypeSpecProto.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public TypeSpecProto build ()

public TypeSpecProto buildPartial ()

public TypeSpecProto.Builder clear ()

public TypeSpecProto.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public TypeSpecProto.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public TypeSpecProto.Builder clearTypeSpecClass ()

.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;

public TypeSpecProto.Builder clearTypeSpecClassName ()

 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 TypeSpecProto.Builder clearTypeState ()

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

public TypeSpecProto.Builder clone ()

public TypeSpecProto getDefaultInstanceForType ()

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

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

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 StructuredValue.Builder getTypeStateBuilder ()

 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 boolean hasTypeState ()

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

public final boolean isInitialized ()

public TypeSpecProto.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public TypeSpecProto.Builder mergeFrom (com.google.protobuf.Message other)

public TypeSpecProto.Builder mergeTypeState (StructuredValue value)

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

public final TypeSpecProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public TypeSpecProto.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public TypeSpecProto.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public TypeSpecProto.Builder setTypeSpecClass (TypeSpecProto.TypeSpecClass value)

.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;

public TypeSpecProto.Builder setTypeSpecClassName (String value)

 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 TypeSpecProto.Builder setTypeSpecClassNameBytes (com.google.protobuf.ByteString value)

 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 TypeSpecProto.Builder setTypeSpecClassValue (int value)

.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;

public TypeSpecProto.Builder setTypeState (StructuredValue value)

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

public TypeSpecProto.Builder setTypeState (StructuredValue.Builder builderForValue)

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

public final TypeSpecProto.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)