public static final class SavedObjectGraphOuterClass.SavedVariable.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedVariable.Builder> implements SavedObjectGraphOuterClass.SavedVariableOrBuilder
Represents a Variable that is initialized by loading the contents from the checkpoint.Protobuf type
tensorflow.SavedVariable
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedVariable.Builder>
public SavedObjectGraphOuterClass.SavedVariable.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedVariable.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedVariable.Builder>
public SavedObjectGraphOuterClass.SavedVariable getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SavedObjectGraphOuterClass.SavedVariable build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SavedObjectGraphOuterClass.SavedVariable buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SavedObjectGraphOuterClass.SavedVariable.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedVariable.Builder>
public SavedObjectGraphOuterClass.SavedVariable.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedVariable.Builder>
public SavedObjectGraphOuterClass.SavedVariable.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedVariable.Builder>
public SavedObjectGraphOuterClass.SavedVariable.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedVariable.Builder>
public SavedObjectGraphOuterClass.SavedVariable.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedVariable.Builder>
public SavedObjectGraphOuterClass.SavedVariable.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedVariable.Builder>
public SavedObjectGraphOuterClass.SavedVariable.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SavedObjectGraphOuterClass.SavedVariable.Builder>
public SavedObjectGraphOuterClass.SavedVariable.Builder mergeFrom(SavedObjectGraphOuterClass.SavedVariable other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedVariable.Builder>
public SavedObjectGraphOuterClass.SavedVariable.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SavedObjectGraphOuterClass.SavedVariable.Builder>
IOException
public int getDtypeValue()
.tensorflow.DataType dtype = 1;
getDtypeValue
in interface SavedObjectGraphOuterClass.SavedVariableOrBuilder
public SavedObjectGraphOuterClass.SavedVariable.Builder setDtypeValue(int value)
.tensorflow.DataType dtype = 1;
public DataType getDtype()
.tensorflow.DataType dtype = 1;
getDtype
in interface SavedObjectGraphOuterClass.SavedVariableOrBuilder
public SavedObjectGraphOuterClass.SavedVariable.Builder setDtype(DataType value)
.tensorflow.DataType dtype = 1;
public SavedObjectGraphOuterClass.SavedVariable.Builder clearDtype()
.tensorflow.DataType dtype = 1;
public boolean hasShape()
.tensorflow.TensorShapeProto shape = 2;
hasShape
in interface SavedObjectGraphOuterClass.SavedVariableOrBuilder
public TensorShapeProto getShape()
.tensorflow.TensorShapeProto shape = 2;
getShape
in interface SavedObjectGraphOuterClass.SavedVariableOrBuilder
public SavedObjectGraphOuterClass.SavedVariable.Builder setShape(TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2;
public SavedObjectGraphOuterClass.SavedVariable.Builder setShape(TensorShapeProto.Builder builderForValue)
.tensorflow.TensorShapeProto shape = 2;
public SavedObjectGraphOuterClass.SavedVariable.Builder mergeShape(TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2;
public SavedObjectGraphOuterClass.SavedVariable.Builder clearShape()
.tensorflow.TensorShapeProto shape = 2;
public TensorShapeProto.Builder getShapeBuilder()
.tensorflow.TensorShapeProto shape = 2;
public TensorShapeProtoOrBuilder getShapeOrBuilder()
.tensorflow.TensorShapeProto shape = 2;
getShapeOrBuilder
in interface SavedObjectGraphOuterClass.SavedVariableOrBuilder
public boolean getTrainable()
bool trainable = 3;
getTrainable
in interface SavedObjectGraphOuterClass.SavedVariableOrBuilder
public SavedObjectGraphOuterClass.SavedVariable.Builder setTrainable(boolean value)
bool trainable = 3;
public SavedObjectGraphOuterClass.SavedVariable.Builder clearTrainable()
bool trainable = 3;
public int getSynchronizationValue()
.tensorflow.VariableSynchronization synchronization = 4;
getSynchronizationValue
in interface SavedObjectGraphOuterClass.SavedVariableOrBuilder
public SavedObjectGraphOuterClass.SavedVariable.Builder setSynchronizationValue(int value)
.tensorflow.VariableSynchronization synchronization = 4;
public VariableSynchronization getSynchronization()
.tensorflow.VariableSynchronization synchronization = 4;
getSynchronization
in interface SavedObjectGraphOuterClass.SavedVariableOrBuilder
public SavedObjectGraphOuterClass.SavedVariable.Builder setSynchronization(VariableSynchronization value)
.tensorflow.VariableSynchronization synchronization = 4;
public SavedObjectGraphOuterClass.SavedVariable.Builder clearSynchronization()
.tensorflow.VariableSynchronization synchronization = 4;
public int getAggregationValue()
.tensorflow.VariableAggregation aggregation = 5;
getAggregationValue
in interface SavedObjectGraphOuterClass.SavedVariableOrBuilder
public SavedObjectGraphOuterClass.SavedVariable.Builder setAggregationValue(int value)
.tensorflow.VariableAggregation aggregation = 5;
public VariableAggregation getAggregation()
.tensorflow.VariableAggregation aggregation = 5;
getAggregation
in interface SavedObjectGraphOuterClass.SavedVariableOrBuilder
public SavedObjectGraphOuterClass.SavedVariable.Builder setAggregation(VariableAggregation value)
.tensorflow.VariableAggregation aggregation = 5;
public SavedObjectGraphOuterClass.SavedVariable.Builder clearAggregation()
.tensorflow.VariableAggregation aggregation = 5;
public String getName()
string name = 6;
getName
in interface SavedObjectGraphOuterClass.SavedVariableOrBuilder
public com.google.protobuf.ByteString getNameBytes()
string name = 6;
getNameBytes
in interface SavedObjectGraphOuterClass.SavedVariableOrBuilder
public SavedObjectGraphOuterClass.SavedVariable.Builder setName(String value)
string name = 6;
public SavedObjectGraphOuterClass.SavedVariable.Builder clearName()
string name = 6;
public SavedObjectGraphOuterClass.SavedVariable.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 6;
public final SavedObjectGraphOuterClass.SavedVariable.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedVariable.Builder>
public final SavedObjectGraphOuterClass.SavedVariable.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SavedObjectGraphOuterClass.SavedVariable.Builder>
Copyright © 2015–2019. All rights reserved.