public static final class VariableDef.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<VariableDef.Builder> implements VariableDefOrBuilder
Protocol buffer representing a Variable.Protobuf type
tensorflow.VariableDef| Modifier and Type | Method and Description |
|---|---|
VariableDef.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
VariableDef |
build() |
VariableDef |
buildPartial() |
VariableDef.Builder |
clear() |
VariableDef.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
VariableDef.Builder |
clearInitializerName()
Name of the initializer op.
|
VariableDef.Builder |
clearInitialValueName()
Name of the tensor holding the variable's initial value.
|
VariableDef.Builder |
clearIsResource()
Whether to represent this as a ResourceVariable.
|
VariableDef.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
VariableDef.Builder |
clearSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
|
VariableDef.Builder |
clearSnapshotName()
Name of the snapshot tensor.
|
VariableDef.Builder |
clearVariableName()
Name of the variable tensor.
|
VariableDef.Builder |
clone() |
VariableDef |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
String |
getInitializerName()
Name of the initializer op.
|
com.github.os72.protobuf351.ByteString |
getInitializerNameBytes()
Name of the initializer op.
|
String |
getInitialValueName()
Name of the tensor holding the variable's initial value.
|
com.github.os72.protobuf351.ByteString |
getInitialValueNameBytes()
Name of the tensor holding the variable's initial value.
|
boolean |
getIsResource()
Whether to represent this as a ResourceVariable.
|
SaveSliceInfoDef |
getSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
|
SaveSliceInfoDef.Builder |
getSaveSliceInfoDefBuilder()
Support for saving variables as slices of a larger variable.
|
SaveSliceInfoDefOrBuilder |
getSaveSliceInfoDefOrBuilder()
Support for saving variables as slices of a larger variable.
|
String |
getSnapshotName()
Name of the snapshot tensor.
|
com.github.os72.protobuf351.ByteString |
getSnapshotNameBytes()
Name of the snapshot tensor.
|
String |
getVariableName()
Name of the variable tensor.
|
com.github.os72.protobuf351.ByteString |
getVariableNameBytes()
Name of the variable tensor.
|
boolean |
hasSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
VariableDef.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
VariableDef.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
VariableDef.Builder |
mergeFrom(VariableDef other) |
VariableDef.Builder |
mergeSaveSliceInfoDef(SaveSliceInfoDef value)
Support for saving variables as slices of a larger variable.
|
VariableDef.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
VariableDef.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
VariableDef.Builder |
setInitializerName(String value)
Name of the initializer op.
|
VariableDef.Builder |
setInitializerNameBytes(com.github.os72.protobuf351.ByteString value)
Name of the initializer op.
|
VariableDef.Builder |
setInitialValueName(String value)
Name of the tensor holding the variable's initial value.
|
VariableDef.Builder |
setInitialValueNameBytes(com.github.os72.protobuf351.ByteString value)
Name of the tensor holding the variable's initial value.
|
VariableDef.Builder |
setIsResource(boolean value)
Whether to represent this as a ResourceVariable.
|
VariableDef.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
VariableDef.Builder |
setSaveSliceInfoDef(SaveSliceInfoDef.Builder builderForValue)
Support for saving variables as slices of a larger variable.
|
VariableDef.Builder |
setSaveSliceInfoDef(SaveSliceInfoDef value)
Support for saving variables as slices of a larger variable.
|
VariableDef.Builder |
setSnapshotName(String value)
Name of the snapshot tensor.
|
VariableDef.Builder |
setSnapshotNameBytes(com.github.os72.protobuf351.ByteString value)
Name of the snapshot tensor.
|
VariableDef.Builder |
setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
VariableDef.Builder |
setVariableName(String value)
Name of the variable tensor.
|
VariableDef.Builder |
setVariableNameBytes(com.github.os72.protobuf351.ByteString value)
Name of the variable tensor.
|
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.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<VariableDef.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic VariableDef build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic VariableDef buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic VariableDef.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<VariableDef.Builder>public VariableDef.Builder mergeFrom(VariableDef other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<VariableDef.Builder>IOExceptionpublic String getVariableName()
Name of the variable tensor.
string variable_name = 1;getVariableName in interface VariableDefOrBuilderpublic com.github.os72.protobuf351.ByteString getVariableNameBytes()
Name of the variable tensor.
string variable_name = 1;getVariableNameBytes in interface VariableDefOrBuilderpublic VariableDef.Builder setVariableName(String value)
Name of the variable tensor.
string variable_name = 1;public VariableDef.Builder clearVariableName()
Name of the variable tensor.
string variable_name = 1;public VariableDef.Builder setVariableNameBytes(com.github.os72.protobuf351.ByteString value)
Name of the variable tensor.
string variable_name = 1;public String getInitialValueName()
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;getInitialValueName in interface VariableDefOrBuilderpublic com.github.os72.protobuf351.ByteString getInitialValueNameBytes()
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;getInitialValueNameBytes in interface VariableDefOrBuilderpublic VariableDef.Builder setInitialValueName(String value)
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;public VariableDef.Builder clearInitialValueName()
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;public VariableDef.Builder setInitialValueNameBytes(com.github.os72.protobuf351.ByteString value)
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;public String getInitializerName()
Name of the initializer op.
string initializer_name = 2;getInitializerName in interface VariableDefOrBuilderpublic com.github.os72.protobuf351.ByteString getInitializerNameBytes()
Name of the initializer op.
string initializer_name = 2;getInitializerNameBytes in interface VariableDefOrBuilderpublic VariableDef.Builder setInitializerName(String value)
Name of the initializer op.
string initializer_name = 2;public VariableDef.Builder clearInitializerName()
Name of the initializer op.
string initializer_name = 2;public VariableDef.Builder setInitializerNameBytes(com.github.os72.protobuf351.ByteString value)
Name of the initializer op.
string initializer_name = 2;public String getSnapshotName()
Name of the snapshot tensor.
string snapshot_name = 3;getSnapshotName in interface VariableDefOrBuilderpublic com.github.os72.protobuf351.ByteString getSnapshotNameBytes()
Name of the snapshot tensor.
string snapshot_name = 3;getSnapshotNameBytes in interface VariableDefOrBuilderpublic VariableDef.Builder setSnapshotName(String value)
Name of the snapshot tensor.
string snapshot_name = 3;public VariableDef.Builder clearSnapshotName()
Name of the snapshot tensor.
string snapshot_name = 3;public VariableDef.Builder setSnapshotNameBytes(com.github.os72.protobuf351.ByteString value)
Name of the snapshot tensor.
string snapshot_name = 3;public boolean hasSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;hasSaveSliceInfoDef in interface VariableDefOrBuilderpublic SaveSliceInfoDef getSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;getSaveSliceInfoDef in interface VariableDefOrBuilderpublic VariableDef.Builder setSaveSliceInfoDef(SaveSliceInfoDef value)
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;public VariableDef.Builder setSaveSliceInfoDef(SaveSliceInfoDef.Builder builderForValue)
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;public VariableDef.Builder mergeSaveSliceInfoDef(SaveSliceInfoDef value)
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;public VariableDef.Builder clearSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;public SaveSliceInfoDef.Builder getSaveSliceInfoDefBuilder()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;public SaveSliceInfoDefOrBuilder getSaveSliceInfoDefOrBuilder()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;getSaveSliceInfoDefOrBuilder in interface VariableDefOrBuilderpublic boolean getIsResource()
Whether to represent this as a ResourceVariable.
bool is_resource = 5;getIsResource in interface VariableDefOrBuilderpublic VariableDef.Builder setIsResource(boolean value)
Whether to represent this as a ResourceVariable.
bool is_resource = 5;public VariableDef.Builder clearIsResource()
Whether to represent this as a ResourceVariable.
bool is_resource = 5;public final VariableDef.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<VariableDef.Builder>public final VariableDef.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<VariableDef.Builder>Copyright © 2018. All rights reserved.