Package org.tensorflow.framework
Class SaveSliceInfoDef.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
-
- org.tensorflow.framework.SaveSliceInfoDef.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
,SaveSliceInfoDefOrBuilder
- Enclosing class:
- SaveSliceInfoDef
public static final class SaveSliceInfoDef.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<SaveSliceInfoDef.Builder> implements SaveSliceInfoDefOrBuilder
Protobuf typetensorflow.SaveSliceInfoDef
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SaveSliceInfoDef.Builder
addAllFullShape(Iterable<? extends Long> values)
Shape of the full variable.SaveSliceInfoDef.Builder
addAllVarOffset(Iterable<? extends Long> values)
Offset of this variable into the full variable.SaveSliceInfoDef.Builder
addAllVarShape(Iterable<? extends Long> values)
Shape of this variable.SaveSliceInfoDef.Builder
addFullShape(long value)
Shape of the full variable.SaveSliceInfoDef.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
SaveSliceInfoDef.Builder
addVarOffset(long value)
Offset of this variable into the full variable.SaveSliceInfoDef.Builder
addVarShape(long value)
Shape of this variable.SaveSliceInfoDef
build()
SaveSliceInfoDef
buildPartial()
SaveSliceInfoDef.Builder
clear()
SaveSliceInfoDef.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
SaveSliceInfoDef.Builder
clearFullName()
Name of the full variable of which this is a slice.SaveSliceInfoDef.Builder
clearFullShape()
Shape of the full variable.SaveSliceInfoDef.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
SaveSliceInfoDef.Builder
clearVarOffset()
Offset of this variable into the full variable.SaveSliceInfoDef.Builder
clearVarShape()
Shape of this variable.SaveSliceInfoDef.Builder
clone()
SaveSliceInfoDef
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFullName()
Name of the full variable of which this is a slice.org.nd4j.shade.protobuf.ByteString
getFullNameBytes()
Name of the full variable of which this is a slice.long
getFullShape(int index)
Shape of the full variable.int
getFullShapeCount()
Shape of the full variable.List<Long>
getFullShapeList()
Shape of the full variable.long
getVarOffset(int index)
Offset of this variable into the full variable.int
getVarOffsetCount()
Offset of this variable into the full variable.List<Long>
getVarOffsetList()
Offset of this variable into the full variable.long
getVarShape(int index)
Shape of this variable.int
getVarShapeCount()
Shape of this variable.List<Long>
getVarShapeList()
Shape of this variable.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
SaveSliceInfoDef.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
SaveSliceInfoDef.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
SaveSliceInfoDef.Builder
mergeFrom(SaveSliceInfoDef other)
SaveSliceInfoDef.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
SaveSliceInfoDef.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
SaveSliceInfoDef.Builder
setFullName(String value)
Name of the full variable of which this is a slice.SaveSliceInfoDef.Builder
setFullNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the full variable of which this is a slice.SaveSliceInfoDef.Builder
setFullShape(int index, long value)
Shape of the full variable.SaveSliceInfoDef.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
SaveSliceInfoDef.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
SaveSliceInfoDef.Builder
setVarOffset(int index, long value)
Offset of this variable into the full variable.SaveSliceInfoDef.Builder
setVarShape(int index, long value)
Shape of this variable.-
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<SaveSliceInfoDef.Builder>
-
clear
public SaveSliceInfoDef.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<SaveSliceInfoDef.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<SaveSliceInfoDef.Builder>
-
getDefaultInstanceForType
public SaveSliceInfoDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public SaveSliceInfoDef build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public SaveSliceInfoDef buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public SaveSliceInfoDef.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<SaveSliceInfoDef.Builder>
-
setField
public SaveSliceInfoDef.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<SaveSliceInfoDef.Builder>
-
clearField
public SaveSliceInfoDef.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<SaveSliceInfoDef.Builder>
-
clearOneof
public SaveSliceInfoDef.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<SaveSliceInfoDef.Builder>
-
setRepeatedField
public SaveSliceInfoDef.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<SaveSliceInfoDef.Builder>
-
addRepeatedField
public SaveSliceInfoDef.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<SaveSliceInfoDef.Builder>
-
mergeFrom
public SaveSliceInfoDef.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<SaveSliceInfoDef.Builder>
-
mergeFrom
public SaveSliceInfoDef.Builder mergeFrom(SaveSliceInfoDef other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
-
mergeFrom
public SaveSliceInfoDef.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<SaveSliceInfoDef.Builder>
- Throws:
IOException
-
getFullName
public String getFullName()
Name of the full variable of which this is a slice.
string full_name = 1;
- Specified by:
getFullName
in interfaceSaveSliceInfoDefOrBuilder
- Returns:
- The fullName.
-
getFullNameBytes
public org.nd4j.shade.protobuf.ByteString getFullNameBytes()
Name of the full variable of which this is a slice.
string full_name = 1;
- Specified by:
getFullNameBytes
in interfaceSaveSliceInfoDefOrBuilder
- Returns:
- The bytes for fullName.
-
setFullName
public SaveSliceInfoDef.Builder setFullName(String value)
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
public SaveSliceInfoDef.Builder clearFullName()
Name of the full variable of which this is a slice.
string full_name = 1;
- Returns:
- This builder for chaining.
-
setFullNameBytes
public SaveSliceInfoDef.Builder setFullNameBytes(org.nd4j.shade.protobuf.ByteString value)
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
public List<Long> getFullShapeList()
Shape of the full variable.
repeated int64 full_shape = 2;
- Specified by:
getFullShapeList
in interfaceSaveSliceInfoDefOrBuilder
- Returns:
- A list containing the fullShape.
-
getFullShapeCount
public int getFullShapeCount()
Shape of the full variable.
repeated int64 full_shape = 2;
- Specified by:
getFullShapeCount
in interfaceSaveSliceInfoDefOrBuilder
- Returns:
- The count of fullShape.
-
getFullShape
public long getFullShape(int index)
Shape of the full variable.
repeated int64 full_shape = 2;
- Specified by:
getFullShape
in interfaceSaveSliceInfoDefOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The fullShape at the given index.
-
setFullShape
public SaveSliceInfoDef.Builder setFullShape(int index, long value)
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
public SaveSliceInfoDef.Builder addFullShape(long value)
Shape of the full variable.
repeated int64 full_shape = 2;
- Parameters:
value
- The fullShape to add.- Returns:
- This builder for chaining.
-
addAllFullShape
public SaveSliceInfoDef.Builder addAllFullShape(Iterable<? extends Long> values)
Shape of the full variable.
repeated int64 full_shape = 2;
- Parameters:
values
- The fullShape to add.- Returns:
- This builder for chaining.
-
clearFullShape
public SaveSliceInfoDef.Builder clearFullShape()
Shape of the full variable.
repeated int64 full_shape = 2;
- Returns:
- This builder for chaining.
-
getVarOffsetList
public List<Long> getVarOffsetList()
Offset of this variable into the full variable.
repeated int64 var_offset = 3;
- Specified by:
getVarOffsetList
in 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:
getVarOffsetCount
in 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:
getVarOffset
in interfaceSaveSliceInfoDefOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The varOffset at the given index.
-
setVarOffset
public SaveSliceInfoDef.Builder setVarOffset(int index, long value)
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
public SaveSliceInfoDef.Builder addVarOffset(long value)
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
public SaveSliceInfoDef.Builder addAllVarOffset(Iterable<? extends Long> values)
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
public SaveSliceInfoDef.Builder clearVarOffset()
Offset of this variable into the full variable.
repeated int64 var_offset = 3;
- Returns:
- This builder for chaining.
-
getVarShapeList
public List<Long> getVarShapeList()
Shape of this variable.
repeated int64 var_shape = 4;
- Specified by:
getVarShapeList
in interfaceSaveSliceInfoDefOrBuilder
- Returns:
- A list containing the varShape.
-
getVarShapeCount
public int getVarShapeCount()
Shape of this variable.
repeated int64 var_shape = 4;
- Specified by:
getVarShapeCount
in interfaceSaveSliceInfoDefOrBuilder
- Returns:
- The count of varShape.
-
getVarShape
public long getVarShape(int index)
Shape of this variable.
repeated int64 var_shape = 4;
- Specified by:
getVarShape
in interfaceSaveSliceInfoDefOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The varShape at the given index.
-
setVarShape
public SaveSliceInfoDef.Builder setVarShape(int index, long value)
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
public SaveSliceInfoDef.Builder addVarShape(long value)
Shape of this variable.
repeated int64 var_shape = 4;
- Parameters:
value
- The varShape to add.- Returns:
- This builder for chaining.
-
addAllVarShape
public SaveSliceInfoDef.Builder addAllVarShape(Iterable<? extends Long> values)
Shape of this variable.
repeated int64 var_shape = 4;
- Parameters:
values
- The varShape to add.- Returns:
- This builder for chaining.
-
clearVarShape
public SaveSliceInfoDef.Builder clearVarShape()
Shape of this variable.
repeated int64 var_shape = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final SaveSliceInfoDef.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<SaveSliceInfoDef.Builder>
-
mergeUnknownFields
public final SaveSliceInfoDef.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<SaveSliceInfoDef.Builder>
-
-