public static final class Struct.TypeSpecProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Struct.TypeSpecProto.Builder> implements Struct.TypeSpecProtoOrBuilder
Represents a tf.TypeSpecProtobuf type
tensorflow.TypeSpecProto| Modifier and Type | Method and Description |
|---|---|
Struct.TypeSpecProto.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Struct.TypeSpecProto |
build() |
Struct.TypeSpecProto |
buildPartial() |
Struct.TypeSpecProto.Builder |
clear() |
Struct.TypeSpecProto.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Struct.TypeSpecProto.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Struct.TypeSpecProto.Builder |
clearTypeSpecClass()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
Struct.TypeSpecProto.Builder |
clearTypeSpecClassName()
This is currently redundant with the type_spec_class enum, and is only
used for error reporting.
|
Struct.TypeSpecProto.Builder |
clearTypeState()
The value returned by TypeSpec._serialize().
|
Struct.TypeSpecProto.Builder |
clone() |
Struct.TypeSpecProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Struct.TypeSpecProto.TypeSpecClass |
getTypeSpecClass()
.tensorflow.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()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
Struct.StructuredValue |
getTypeState()
The value returned by TypeSpec._serialize().
|
Struct.StructuredValue.Builder |
getTypeStateBuilder()
The value returned by TypeSpec._serialize().
|
Struct.StructuredValueOrBuilder |
getTypeStateOrBuilder()
The value returned by TypeSpec._serialize().
|
boolean |
hasTypeState()
The value returned by TypeSpec._serialize().
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Struct.TypeSpecProto.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Struct.TypeSpecProto.Builder |
mergeFrom(com.google.protobuf.Message other) |
Struct.TypeSpecProto.Builder |
mergeFrom(Struct.TypeSpecProto other) |
Struct.TypeSpecProto.Builder |
mergeTypeState(Struct.StructuredValue value)
The value returned by TypeSpec._serialize().
|
Struct.TypeSpecProto.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Struct.TypeSpecProto.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Struct.TypeSpecProto.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Struct.TypeSpecProto.Builder |
setTypeSpecClass(Struct.TypeSpecProto.TypeSpecClass value)
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
Struct.TypeSpecProto.Builder |
setTypeSpecClassName(java.lang.String value)
This is currently redundant with the type_spec_class enum, and is only
used for error reporting.
|
Struct.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.
|
Struct.TypeSpecProto.Builder |
setTypeSpecClassValue(int value)
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1; |
Struct.TypeSpecProto.Builder |
setTypeState(Struct.StructuredValue.Builder builderForValue)
The value returned by TypeSpec._serialize().
|
Struct.TypeSpecProto.Builder |
setTypeState(Struct.StructuredValue value)
The value returned by TypeSpec._serialize().
|
Struct.TypeSpecProto.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.TypeSpecProto.Builder>public Struct.TypeSpecProto.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.TypeSpecProto.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.TypeSpecProto.Builder>public Struct.TypeSpecProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Struct.TypeSpecProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Struct.TypeSpecProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Struct.TypeSpecProto.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.TypeSpecProto.Builder>public Struct.TypeSpecProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.TypeSpecProto.Builder>public Struct.TypeSpecProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.TypeSpecProto.Builder>public Struct.TypeSpecProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.TypeSpecProto.Builder>public Struct.TypeSpecProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.TypeSpecProto.Builder>public Struct.TypeSpecProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.TypeSpecProto.Builder>public Struct.TypeSpecProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Struct.TypeSpecProto.Builder>public Struct.TypeSpecProto.Builder mergeFrom(Struct.TypeSpecProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.TypeSpecProto.Builder>public Struct.TypeSpecProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Struct.TypeSpecProto.Builder>java.io.IOExceptionpublic int getTypeSpecClassValue()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;getTypeSpecClassValue in interface Struct.TypeSpecProtoOrBuilderpublic Struct.TypeSpecProto.Builder setTypeSpecClassValue(int value)
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;value - The enum numeric value on the wire for typeSpecClass to set.public Struct.TypeSpecProto.TypeSpecClass getTypeSpecClass()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;getTypeSpecClass in interface Struct.TypeSpecProtoOrBuilderpublic Struct.TypeSpecProto.Builder setTypeSpecClass(Struct.TypeSpecProto.TypeSpecClass value)
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;value - The typeSpecClass to set.public Struct.TypeSpecProto.Builder clearTypeSpecClass()
.tensorflow.TypeSpecProto.TypeSpecClass type_spec_class = 1;public boolean hasTypeState()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2;hasTypeState in interface Struct.TypeSpecProtoOrBuilderpublic Struct.StructuredValue getTypeState()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2;getTypeState in interface Struct.TypeSpecProtoOrBuilderpublic Struct.TypeSpecProto.Builder setTypeState(Struct.StructuredValue value)
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2;public Struct.TypeSpecProto.Builder setTypeState(Struct.StructuredValue.Builder builderForValue)
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2;public Struct.TypeSpecProto.Builder mergeTypeState(Struct.StructuredValue value)
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2;public Struct.TypeSpecProto.Builder clearTypeState()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2;public Struct.StructuredValue.Builder getTypeStateBuilder()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2;public Struct.StructuredValueOrBuilder getTypeStateOrBuilder()
The value returned by TypeSpec._serialize().
.tensorflow.StructuredValue type_state = 2;getTypeStateOrBuilder in interface Struct.TypeSpecProtoOrBuilderpublic 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;getTypeSpecClassName in interface Struct.TypeSpecProtoOrBuilderpublic 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;getTypeSpecClassNameBytes in interface Struct.TypeSpecProtoOrBuilderpublic Struct.TypeSpecProto.Builder setTypeSpecClassName(java.lang.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;value - The typeSpecClassName to set.public Struct.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 Struct.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;value - The bytes for typeSpecClassName to set.public final Struct.TypeSpecProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.TypeSpecProto.Builder>public final Struct.TypeSpecProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Struct.TypeSpecProto.Builder>