Class SaveSliceInfoDef.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SaveSliceInfoDef.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
org.tensorflow.proto.SaveSliceInfoDef.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, SaveSliceInfoDefOrBuilder
- Enclosing class:
SaveSliceInfoDef
public static final class SaveSliceInfoDef.Builder
extends GeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
implements SaveSliceInfoDefOrBuilder
Protobuf type
tensorflow.SaveSliceInfoDef-
Method Summary
Modifier and TypeMethodDescriptionaddAllFullShape(Iterable<? extends Long> values) Shape of the full variable.addAllVarOffset(Iterable<? extends Long> values) Offset of this variable into the full variable.addAllVarShape(Iterable<? extends Long> values) Shape of this variable.addFullShape(long value) Shape of the full variable.addRepeatedField(Descriptors.FieldDescriptor field, Object value) addVarOffset(long value) Offset of this variable into the full variable.addVarShape(long value) Shape of this variable.build()clear()Name of the full variable of which this is a slice.Shape of the full variable.Offset of this variable into the full variable.Shape of this variable.clone()static final Descriptors.DescriptorName of the full variable of which this is a slice.Name of the full variable of which this is a slice.longgetFullShape(int index) Shape of the full variable.intShape of the full variable.Shape of the full variable.longgetVarOffset(int index) Offset of this variable into the full variable.intOffset of this variable into the full variable.Offset of this variable into the full variable.longgetVarShape(int index) Shape of this variable.intShape of this variable.Shape of this variable.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(SaveSliceInfoDef other) final SaveSliceInfoDef.BuildermergeUnknownFields(UnknownFieldSet unknownFields) setField(Descriptors.FieldDescriptor field, Object value) setFullName(String value) Name of the full variable of which this is a slice.setFullNameBytes(ByteString value) Name of the full variable of which this is a slice.setFullShape(int index, long value) Shape of the full variable.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) final SaveSliceInfoDef.BuildersetUnknownFields(UnknownFieldSet unknownFields) setVarOffset(int index, long value) Offset of this variable into the full variable.setVarShape(int index, long value) Shape of this variable.Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<SaveSliceInfoDef.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
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
-
setRepeatedField
public SaveSliceInfoDef.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
-
addRepeatedField
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<SaveSliceInfoDef.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
-
mergeFrom
public SaveSliceInfoDef.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<SaveSliceInfoDef.Builder>- Throws:
IOException
-
getFullName
Name of the full variable of which this is a slice.
string full_name = 1;- Specified by:
getFullNamein interfaceSaveSliceInfoDefOrBuilder- Returns:
- The fullName.
-
getFullNameBytes
Name of the full variable of which this is a slice.
string full_name = 1;- Specified by:
getFullNameBytesin interfaceSaveSliceInfoDefOrBuilder- Returns:
- The bytes for fullName.
-
setFullName
Name of the full variable of which this is a slice.
string full_name = 1;- Parameters:
value- The fullName to set.- Returns:
- This builder for chaining.
-
clearFullName
Name of the full variable of which this is a slice.
string full_name = 1;- Returns:
- This builder for chaining.
-
setFullNameBytes
Name of the full variable of which this is a slice.
string full_name = 1;- Parameters:
value- The bytes for fullName to set.- Returns:
- This builder for chaining.
-
getFullShapeList
Shape of the full variable.
repeated int64 full_shape = 2;- Specified by:
getFullShapeListin interfaceSaveSliceInfoDefOrBuilder- Returns:
- A list containing the fullShape.
-
getFullShapeCount
public int getFullShapeCount()Shape of the full variable.
repeated int64 full_shape = 2;- Specified by:
getFullShapeCountin interfaceSaveSliceInfoDefOrBuilder- Returns:
- The count of fullShape.
-
getFullShape
public long getFullShape(int index) Shape of the full variable.
repeated int64 full_shape = 2;- Specified by:
getFullShapein interfaceSaveSliceInfoDefOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The fullShape at the given index.
-
setFullShape
Shape of the full variable.
repeated int64 full_shape = 2;- Parameters:
index- The index to set the value at.value- The fullShape to set.- Returns:
- This builder for chaining.
-
addFullShape
Shape of the full variable.
repeated int64 full_shape = 2;- Parameters:
value- The fullShape to add.- Returns:
- This builder for chaining.
-
addAllFullShape
Shape of the full variable.
repeated int64 full_shape = 2;- Parameters:
values- The fullShape to add.- Returns:
- This builder for chaining.
-
clearFullShape
Shape of the full variable.
repeated int64 full_shape = 2;- Returns:
- This builder for chaining.
-
getVarOffsetList
Offset of this variable into the full variable.
repeated int64 var_offset = 3;- Specified by:
getVarOffsetListin interfaceSaveSliceInfoDefOrBuilder- Returns:
- A list containing the varOffset.
-
getVarOffsetCount
public int getVarOffsetCount()Offset of this variable into the full variable.
repeated int64 var_offset = 3;- Specified by:
getVarOffsetCountin interfaceSaveSliceInfoDefOrBuilder- Returns:
- The count of varOffset.
-
getVarOffset
public long getVarOffset(int index) Offset of this variable into the full variable.
repeated int64 var_offset = 3;- Specified by:
getVarOffsetin interfaceSaveSliceInfoDefOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The varOffset at the given index.
-
setVarOffset
Offset of this variable into the full variable.
repeated int64 var_offset = 3;- Parameters:
index- The index to set the value at.value- The varOffset to set.- Returns:
- This builder for chaining.
-
addVarOffset
Offset of this variable into the full variable.
repeated int64 var_offset = 3;- Parameters:
value- The varOffset to add.- Returns:
- This builder for chaining.
-
addAllVarOffset
Offset of this variable into the full variable.
repeated int64 var_offset = 3;- Parameters:
values- The varOffset to add.- Returns:
- This builder for chaining.
-
clearVarOffset
Offset of this variable into the full variable.
repeated int64 var_offset = 3;- Returns:
- This builder for chaining.
-
getVarShapeList
Shape of this variable.
repeated int64 var_shape = 4;- Specified by:
getVarShapeListin interfaceSaveSliceInfoDefOrBuilder- Returns:
- A list containing the varShape.
-
getVarShapeCount
public int getVarShapeCount()Shape of this variable.
repeated int64 var_shape = 4;- Specified by:
getVarShapeCountin interfaceSaveSliceInfoDefOrBuilder- Returns:
- The count of varShape.
-
getVarShape
public long getVarShape(int index) Shape of this variable.
repeated int64 var_shape = 4;- Specified by:
getVarShapein interfaceSaveSliceInfoDefOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The varShape at the given index.
-
setVarShape
Shape of this variable.
repeated int64 var_shape = 4;- Parameters:
index- The index to set the value at.value- The varShape to set.- Returns:
- This builder for chaining.
-
addVarShape
Shape of this variable.
repeated int64 var_shape = 4;- Parameters:
value- The varShape to add.- Returns:
- This builder for chaining.
-
addAllVarShape
Shape of this variable.
repeated int64 var_shape = 4;- Parameters:
values- The varShape to add.- Returns:
- This builder for chaining.
-
clearVarShape
Shape of this variable.
repeated int64 var_shape = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
-