Class SavedObjectGraphOuterClass.SavedUserObject.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SavedObjectGraphOuterClass.SavedUserObject.Builder>
com.google.protobuf.GeneratedMessage.Builder<SavedObjectGraphOuterClass.SavedUserObject.Builder>
org.tensorflow.proto.SavedObjectGraphOuterClass.SavedUserObject.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, SavedObjectGraphOuterClass.SavedUserObjectOrBuilder
- Enclosing class:
SavedObjectGraphOuterClass.SavedUserObject
public static final class SavedObjectGraphOuterClass.SavedUserObject.Builder
extends GeneratedMessage.Builder<SavedObjectGraphOuterClass.SavedUserObject.Builder>
implements SavedObjectGraphOuterClass.SavedUserObjectOrBuilder
A SavedUserObject is an object (in the object-oriented language of the TensorFlow program) of some user- or framework-defined class other than those handled specifically by the other kinds of SavedObjects. This object cannot be evaluated as a tensor, and therefore cannot be bound to an input of a function.Protobuf type
tensorflow.SavedUserObject-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Corresponds to a registration of the type to use in the loading program.Deprecated.tensorflow.SavedUserObject.metadata is deprecated.Version information from the producer of this SavedUserObject.static final Descriptors.DescriptorCorresponds to a registration of the type to use in the loading program.Corresponds to a registration of the type to use in the loading program.Deprecated.tensorflow.SavedUserObject.metadata is deprecated.Deprecated.tensorflow.SavedUserObject.metadata is deprecated.Version information from the producer of this SavedUserObject.Version information from the producer of this SavedUserObject.Version information from the producer of this SavedUserObject.booleanVersion information from the producer of this SavedUserObject.protected GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeVersion(VersionDef value) Version information from the producer of this SavedUserObject.setIdentifier(String value) Corresponds to a registration of the type to use in the loading program.setIdentifierBytes(ByteString value) Corresponds to a registration of the type to use in the loading program.setMetadata(String value) Deprecated.tensorflow.SavedUserObject.metadata is deprecated.setMetadataBytes(ByteString value) Deprecated.tensorflow.SavedUserObject.metadata is deprecated.setVersion(VersionDef value) Version information from the producer of this SavedUserObject.setVersion(VersionDef.Builder builderForValue) Version information from the producer of this SavedUserObject.Methods inherited from class GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage.Builder<SavedObjectGraphOuterClass.SavedUserObject.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessage.Builder<SavedObjectGraphOuterClass.SavedUserObject.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessage.Builder<SavedObjectGraphOuterClass.SavedUserObject.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<SavedObjectGraphOuterClass.SavedUserObject.Builder>
-
mergeFrom
public SavedObjectGraphOuterClass.SavedUserObject.Builder mergeFrom(SavedObjectGraphOuterClass.SavedUserObject other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage.Builder<SavedObjectGraphOuterClass.SavedUserObject.Builder>
-
mergeFrom
public SavedObjectGraphOuterClass.SavedUserObject.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<SavedObjectGraphOuterClass.SavedUserObject.Builder>- Throws:
IOException
-
getIdentifier
Corresponds to a registration of the type to use in the loading program.
string identifier = 1;- Specified by:
getIdentifierin interfaceSavedObjectGraphOuterClass.SavedUserObjectOrBuilder- Returns:
- The identifier.
-
getIdentifierBytes
Corresponds to a registration of the type to use in the loading program.
string identifier = 1;- Specified by:
getIdentifierBytesin interfaceSavedObjectGraphOuterClass.SavedUserObjectOrBuilder- Returns:
- The bytes for identifier.
-
setIdentifier
Corresponds to a registration of the type to use in the loading program.
string identifier = 1;- Parameters:
value- The identifier to set.- Returns:
- This builder for chaining.
-
clearIdentifier
Corresponds to a registration of the type to use in the loading program.
string identifier = 1;- Returns:
- This builder for chaining.
-
setIdentifierBytes
Corresponds to a registration of the type to use in the loading program.
string identifier = 1;- Parameters:
value- The bytes for identifier to set.- Returns:
- This builder for chaining.
-
hasVersion
public boolean hasVersion()Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2;- Specified by:
hasVersionin interfaceSavedObjectGraphOuterClass.SavedUserObjectOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2;- Specified by:
getVersionin interfaceSavedObjectGraphOuterClass.SavedUserObjectOrBuilder- Returns:
- The version.
-
setVersion
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2; -
setVersion
public SavedObjectGraphOuterClass.SavedUserObject.Builder setVersion(VersionDef.Builder builderForValue) Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2; -
mergeVersion
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2; -
clearVersion
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2; -
getVersionBuilder
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2; -
getVersionOrBuilder
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2;- Specified by:
getVersionOrBuilderin interfaceSavedObjectGraphOuterClass.SavedUserObjectOrBuilder
-
getMetadata
Deprecated.tensorflow.SavedUserObject.metadata is deprecated. See tensorflow/core/protobuf/saved_object_graph.proto;l=123Metadata for deserializing this object. Deprecated! At the time of deprecation, Keras was the only user of this field, and its saving and loading code will be updated shortly. Please save your application-specific metadata to a separate file.
string metadata = 3 [deprecated = true];- Specified by:
getMetadatain interfaceSavedObjectGraphOuterClass.SavedUserObjectOrBuilder- Returns:
- The metadata.
-
getMetadataBytes
Deprecated.tensorflow.SavedUserObject.metadata is deprecated. See tensorflow/core/protobuf/saved_object_graph.proto;l=123Metadata for deserializing this object. Deprecated! At the time of deprecation, Keras was the only user of this field, and its saving and loading code will be updated shortly. Please save your application-specific metadata to a separate file.
string metadata = 3 [deprecated = true];- Specified by:
getMetadataBytesin interfaceSavedObjectGraphOuterClass.SavedUserObjectOrBuilder- Returns:
- The bytes for metadata.
-
setMetadata
Deprecated.tensorflow.SavedUserObject.metadata is deprecated. See tensorflow/core/protobuf/saved_object_graph.proto;l=123Metadata for deserializing this object. Deprecated! At the time of deprecation, Keras was the only user of this field, and its saving and loading code will be updated shortly. Please save your application-specific metadata to a separate file.
string metadata = 3 [deprecated = true];- Parameters:
value- The metadata to set.- Returns:
- This builder for chaining.
-
clearMetadata
Deprecated.tensorflow.SavedUserObject.metadata is deprecated. See tensorflow/core/protobuf/saved_object_graph.proto;l=123Metadata for deserializing this object. Deprecated! At the time of deprecation, Keras was the only user of this field, and its saving and loading code will be updated shortly. Please save your application-specific metadata to a separate file.
string metadata = 3 [deprecated = true];- Returns:
- This builder for chaining.
-
setMetadataBytes
@Deprecated public SavedObjectGraphOuterClass.SavedUserObject.Builder setMetadataBytes(ByteString value) Deprecated.tensorflow.SavedUserObject.metadata is deprecated. See tensorflow/core/protobuf/saved_object_graph.proto;l=123Metadata for deserializing this object. Deprecated! At the time of deprecation, Keras was the only user of this field, and its saving and loading code will be updated shortly. Please save your application-specific metadata to a separate file.
string metadata = 3 [deprecated = true];- Parameters:
value- The bytes for metadata to set.- Returns:
- This builder for chaining.
-