Class SaveSliceInfoDef.Builder

    • 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 class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
      • clear

        public SaveSliceInfoDef.Builder clear()
        Specified by:
        clear in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clear in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
      • getDescriptorForType

        public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
      • getDefaultInstanceForType

        public SaveSliceInfoDef getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
      • build

        public SaveSliceInfoDef build()
        Specified by:
        build in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        build in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • buildPartial

        public SaveSliceInfoDef buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • clone

        public SaveSliceInfoDef.Builder clone()
        Specified by:
        clone in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clone in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clone in class org.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 interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
      • clearField

        public SaveSliceInfoDef.Builder clearField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
      • clearOneof

        public SaveSliceInfoDef.Builder clearOneof​(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearOneof in class org.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 interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class org.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 interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
      • mergeFrom

        public SaveSliceInfoDef.Builder mergeFrom​(org.nd4j.shade.protobuf.Message other)
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<SaveSliceInfoDef.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.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 interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<SaveSliceInfoDef.Builder>
        Throws:
        IOException
      • 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 interface SaveSliceInfoDefOrBuilder
        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.
      • getFullShapeCount

        public int getFullShapeCount()
         Shape of the full variable.
         
        repeated int64 full_shape = 2;
        Specified by:
        getFullShapeCount in interface SaveSliceInfoDefOrBuilder
        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 interface SaveSliceInfoDefOrBuilder
        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 interface SaveSliceInfoDefOrBuilder
        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 interface SaveSliceInfoDefOrBuilder
        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 interface SaveSliceInfoDefOrBuilder
        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.
      • getVarShapeCount

        public int getVarShapeCount()
         Shape of this variable.
         
        repeated int64 var_shape = 4;
        Specified by:
        getVarShapeCount in interface SaveSliceInfoDefOrBuilder
        Returns:
        The count of varShape.
      • getVarShape

        public long getVarShape​(int index)
         Shape of this variable.
         
        repeated int64 var_shape = 4;
        Specified by:
        getVarShape in interface SaveSliceInfoDefOrBuilder
        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 interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>
      • mergeUnknownFields

        public final SaveSliceInfoDef.Builder mergeUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<SaveSliceInfoDef.Builder>