public static final class
SavedUserObject.Builder
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.
tensorflow.SavedUserObject
Public Methods
SavedUserObject.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
SavedUserObject |
build()
|
SavedUserObject | |
SavedUserObject.Builder |
clear()
|
SavedUserObject.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
SavedUserObject.Builder |
clearIdentifier()
Corresponds to a registration of the type to use in the loading program. |
SavedUserObject.Builder |
clearMetadata()
Initialization-related metadata. |
SavedUserObject.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
SavedUserObject.Builder |
clearVersion()
Version information from the producer of this SavedUserObject. |
SavedUserObject.Builder |
clone()
|
SavedUserObject | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
String |
getIdentifier()
Corresponds to a registration of the type to use in the loading program. |
com.google.protobuf.ByteString |
getIdentifierBytes()
Corresponds to a registration of the type to use in the loading program. |
String |
getMetadata()
Initialization-related metadata. |
com.google.protobuf.ByteString |
getMetadataBytes()
Initialization-related metadata. |
VersionDef |
getVersion()
Version information from the producer of this SavedUserObject. |
VersionDef.Builder |
getVersionBuilder()
Version information from the producer of this SavedUserObject. |
VersionDefOrBuilder |
getVersionOrBuilder()
Version information from the producer of this SavedUserObject. |
boolean |
hasVersion()
Version information from the producer of this SavedUserObject. |
final boolean | |
SavedUserObject.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
SavedUserObject.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final SavedUserObject.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
SavedUserObject.Builder | |
SavedUserObject.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
SavedUserObject.Builder |
setIdentifier(String value)
Corresponds to a registration of the type to use in the loading program. |
SavedUserObject.Builder |
setIdentifierBytes(com.google.protobuf.ByteString value)
Corresponds to a registration of the type to use in the loading program. |
SavedUserObject.Builder |
setMetadata(String value)
Initialization-related metadata. |
SavedUserObject.Builder |
setMetadataBytes(com.google.protobuf.ByteString value)
Initialization-related metadata. |
SavedUserObject.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final SavedUserObject.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
SavedUserObject.Builder | |
SavedUserObject.Builder |
setVersion(VersionDef.Builder builderForValue)
Version information from the producer of this SavedUserObject. |
Inherited Methods
Public Methods
public SavedUserObject.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public SavedUserObject.Builder clearIdentifier ()
Corresponds to a registration of the type to use in the loading program.
string identifier = 1;
public SavedUserObject.Builder clearMetadata ()
Initialization-related metadata.
string metadata = 3;
public SavedUserObject.Builder clearVersion ()
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getIdentifier ()
Corresponds to a registration of the type to use in the loading program.
string identifier = 1;
public com.google.protobuf.ByteString getIdentifierBytes ()
Corresponds to a registration of the type to use in the loading program.
string identifier = 1;
public String getMetadata ()
Initialization-related metadata.
string metadata = 3;
public com.google.protobuf.ByteString getMetadataBytes ()
Initialization-related metadata.
string metadata = 3;
public VersionDef getVersion ()
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2;
public VersionDef.Builder getVersionBuilder ()
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2;
public VersionDefOrBuilder getVersionOrBuilder ()
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2;
public boolean hasVersion ()
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2;
public final boolean isInitialized ()
public SavedUserObject.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final SavedUserObject.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public SavedUserObject.Builder mergeVersion (VersionDef value)
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2;
public SavedUserObject.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public SavedUserObject.Builder setIdentifier (String value)
Corresponds to a registration of the type to use in the loading program.
string identifier = 1;
public SavedUserObject.Builder setIdentifierBytes (com.google.protobuf.ByteString value)
Corresponds to a registration of the type to use in the loading program.
string identifier = 1;
public SavedUserObject.Builder setMetadata (String value)
Initialization-related metadata.
string metadata = 3;
public SavedUserObject.Builder setMetadataBytes (com.google.protobuf.ByteString value)
Initialization-related metadata.
string metadata = 3;
public SavedUserObject.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public final SavedUserObject.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public SavedUserObject.Builder setVersion (VersionDef value)
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2;
public SavedUserObject.Builder setVersion (VersionDef.Builder builderForValue)
Version information from the producer of this SavedUserObject.
.tensorflow.VersionDef version = 2;