Class NcStreamProto.StructureData.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.StructureData.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.StructureData.Builder>
      • getDefaultInstanceForType

        public NcStreamProto.StructureData getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public NcStreamProto.StructureData build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public NcStreamProto.StructureData buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.StructureData.Builder>
      • mergeFrom

        public NcStreamProto.StructureData.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NcStreamProto.StructureData.Builder>
        Throws:
        IOException
      • getMemberCount

        public int getMemberCount()
         list of members present, if none then all, these are the index in Structure
         
        repeated uint32 member = 1;
        Specified by:
        getMemberCount in interface NcStreamProto.StructureDataOrBuilder
        Returns:
        The count of member.
      • getMember

        public int getMember​(int index)
         list of members present, if none then all, these are the index in Structure
         
        repeated uint32 member = 1;
        Specified by:
        getMember in interface NcStreamProto.StructureDataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The member at the given index.
      • setMember

        public NcStreamProto.StructureData.Builder setMember​(int index,
                                                             int value)
         list of members present, if none then all, these are the index in Structure
         
        repeated uint32 member = 1;
        Parameters:
        index - The index to set the value at.
        value - The member to set.
        Returns:
        This builder for chaining.
      • addMember

        public NcStreamProto.StructureData.Builder addMember​(int value)
         list of members present, if none then all, these are the index in Structure
         
        repeated uint32 member = 1;
        Parameters:
        value - The member to add.
        Returns:
        This builder for chaining.
      • addAllMember

        public NcStreamProto.StructureData.Builder addAllMember​(Iterable<? extends Integer> values)
         list of members present, if none then all, these are the index in Structure
         
        repeated uint32 member = 1;
        Parameters:
        values - The member to add.
        Returns:
        This builder for chaining.
      • clearMember

        public NcStreamProto.StructureData.Builder clearMember()
         list of members present, if none then all, these are the index in Structure
         
        repeated uint32 member = 1;
        Returns:
        This builder for chaining.
      • setData

        public NcStreamProto.StructureData.Builder setData​(com.google.protobuf.ByteString value)
         fixed length data
         
        bytes data = 2;
        Parameters:
        value - The data to set.
        Returns:
        This builder for chaining.
      • getHeapCount

        public int getHeapCount​(int index)
         heap String count
         
        repeated uint32 heapCount = 3;
        Specified by:
        getHeapCount in interface NcStreamProto.StructureDataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The heapCount at the given index.
      • setHeapCount

        public NcStreamProto.StructureData.Builder setHeapCount​(int index,
                                                                int value)
         heap String count
         
        repeated uint32 heapCount = 3;
        Parameters:
        index - The index to set the value at.
        value - The heapCount to set.
        Returns:
        This builder for chaining.
      • addHeapCount

        public NcStreamProto.StructureData.Builder addHeapCount​(int value)
         heap String count
         
        repeated uint32 heapCount = 3;
        Parameters:
        value - The heapCount to add.
        Returns:
        This builder for chaining.
      • getSdata

        public String getSdata​(int index)
         Strings
         
        repeated string sdata = 4;
        Specified by:
        getSdata in interface NcStreamProto.StructureDataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The sdata at the given index.
      • getSdataBytes

        public com.google.protobuf.ByteString getSdataBytes​(int index)
         Strings
         
        repeated string sdata = 4;
        Specified by:
        getSdataBytes in interface NcStreamProto.StructureDataOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the sdata at the given index.
      • setSdata

        public NcStreamProto.StructureData.Builder setSdata​(int index,
                                                            String value)
         Strings
         
        repeated string sdata = 4;
        Parameters:
        index - The index to set the value at.
        value - The sdata to set.
        Returns:
        This builder for chaining.
      • addSdataBytes

        public NcStreamProto.StructureData.Builder addSdataBytes​(com.google.protobuf.ByteString value)
         Strings
         
        repeated string sdata = 4;
        Parameters:
        value - The bytes of the sdata to add.
        Returns:
        This builder for chaining.
      • setNrows

        public NcStreamProto.StructureData.Builder setNrows​(long value)
         [default = 1] number of rows in this message
         
        uint64 nrows = 5;
        Parameters:
        value - The nrows to set.
        Returns:
        This builder for chaining.
      • setRowLength

        public NcStreamProto.StructureData.Builder setRowLength​(int value)
         length in bytes of each row
         
        uint32 rowLength = 6;
        Parameters:
        value - The rowLength to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final NcStreamProto.StructureData.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.StructureData.Builder>