Package tensorflow
Class CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder>
-
- tensorflow.CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder
-
- All Implemented Interfaces:
Cloneable
,org.nd4j.shade.protobuf.Message.Builder
,org.nd4j.shade.protobuf.MessageLite.Builder
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
,CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensorOrBuilder
- Enclosing class:
- CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor
public static final class CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder> implements CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensorOrBuilder
Protobuf typetensorflow.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor
-
-
Method Summary
-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder>
-
clear
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder>
-
getDefaultInstanceForType
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder>
-
setField
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder>
-
clearField
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder>
-
clearOneof
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder>
-
setRepeatedField
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder>
-
addRepeatedField
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder>
-
mergeFrom
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder>
-
mergeFrom
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder mergeFrom(CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder>
-
mergeFrom
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder>
- Throws:
IOException
-
getName
public String getName()
A name for the Tensor. Simple variables have only one `SerializedTensor` named "VARIABLE_VALUE" by convention. This value may be restored on object creation as an optimization.
string name = 1;
- Specified by:
getName
in interfaceCheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensorOrBuilder
- Returns:
- The name.
-
getNameBytes
public org.nd4j.shade.protobuf.ByteString getNameBytes()
A name for the Tensor. Simple variables have only one `SerializedTensor` named "VARIABLE_VALUE" by convention. This value may be restored on object creation as an optimization.
string name = 1;
- Specified by:
getNameBytes
in interfaceCheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensorOrBuilder
- Returns:
- The bytes for name.
-
setName
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder setName(String value)
A name for the Tensor. Simple variables have only one `SerializedTensor` named "VARIABLE_VALUE" by convention. This value may be restored on object creation as an optimization.
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder clearName()
A name for the Tensor. Simple variables have only one `SerializedTensor` named "VARIABLE_VALUE" by convention. This value may be restored on object creation as an optimization.
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
A name for the Tensor. Simple variables have only one `SerializedTensor` named "VARIABLE_VALUE" by convention. This value may be restored on object creation as an optimization.
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getFullName
public String getFullName()
The full name of the variable/tensor, if applicable. Used to allow name-based loading of checkpoints which were saved using an object-based API. Should match the checkpoint key which would have been assigned by tf.train.Saver.
string full_name = 2;
- Specified by:
getFullName
in interfaceCheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensorOrBuilder
- Returns:
- The fullName.
-
getFullNameBytes
public org.nd4j.shade.protobuf.ByteString getFullNameBytes()
The full name of the variable/tensor, if applicable. Used to allow name-based loading of checkpoints which were saved using an object-based API. Should match the checkpoint key which would have been assigned by tf.train.Saver.
string full_name = 2;
- Specified by:
getFullNameBytes
in interfaceCheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensorOrBuilder
- Returns:
- The bytes for fullName.
-
setFullName
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder setFullName(String value)
The full name of the variable/tensor, if applicable. Used to allow name-based loading of checkpoints which were saved using an object-based API. Should match the checkpoint key which would have been assigned by tf.train.Saver.
string full_name = 2;
- Parameters:
value
- The fullName to set.- Returns:
- This builder for chaining.
-
clearFullName
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder clearFullName()
The full name of the variable/tensor, if applicable. Used to allow name-based loading of checkpoints which were saved using an object-based API. Should match the checkpoint key which would have been assigned by tf.train.Saver.
string full_name = 2;
- Returns:
- This builder for chaining.
-
setFullNameBytes
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder setFullNameBytes(org.nd4j.shade.protobuf.ByteString value)
The full name of the variable/tensor, if applicable. Used to allow name-based loading of checkpoints which were saved using an object-based API. Should match the checkpoint key which would have been assigned by tf.train.Saver.
string full_name = 2;
- Parameters:
value
- The bytes for fullName to set.- Returns:
- This builder for chaining.
-
getCheckpointKey
public String getCheckpointKey()
The generated name of the Tensor in the checkpoint.
string checkpoint_key = 3;
- Specified by:
getCheckpointKey
in interfaceCheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensorOrBuilder
- Returns:
- The checkpointKey.
-
getCheckpointKeyBytes
public org.nd4j.shade.protobuf.ByteString getCheckpointKeyBytes()
The generated name of the Tensor in the checkpoint.
string checkpoint_key = 3;
- Specified by:
getCheckpointKeyBytes
in interfaceCheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensorOrBuilder
- Returns:
- The bytes for checkpointKey.
-
setCheckpointKey
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder setCheckpointKey(String value)
The generated name of the Tensor in the checkpoint.
string checkpoint_key = 3;
- Parameters:
value
- The checkpointKey to set.- Returns:
- This builder for chaining.
-
clearCheckpointKey
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder clearCheckpointKey()
The generated name of the Tensor in the checkpoint.
string checkpoint_key = 3;
- Returns:
- This builder for chaining.
-
setCheckpointKeyBytes
public CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder setCheckpointKeyBytes(org.nd4j.shade.protobuf.ByteString value)
The generated name of the Tensor in the checkpoint.
string checkpoint_key = 3;
- Parameters:
value
- The bytes for checkpointKey to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder>
-
mergeUnknownFields
public final CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CheckpointableObjectGraphOuterClass.CheckpointableObjectGraph.CheckpointableObject.SerializedTensor.Builder>
-
-