Class NcStreamProto.Data.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.Data.Builder>
      • clear

        public NcStreamProto.Data.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<NcStreamProto.Data.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.Data.Builder>
      • getDefaultInstanceForType

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

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

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

        public NcStreamProto.Data.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NcStreamProto.Data.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.Data.Builder>
      • mergeFrom

        public NcStreamProto.Data.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.Data.Builder>
        Throws:
        IOException
      • getVarNameBytes

        public com.google.protobuf.ByteString getVarNameBytes()
         full escaped name.
         
        string varName = 1;
        Specified by:
        getVarNameBytes in interface NcStreamProto.DataOrBuilder
        Returns:
        The bytes for varName.
      • setVarName

        public NcStreamProto.Data.Builder setVarName​(String value)
         full escaped name.
         
        string varName = 1;
        Parameters:
        value - The varName to set.
        Returns:
        This builder for chaining.
      • clearVarName

        public NcStreamProto.Data.Builder clearVarName()
         full escaped name.
         
        string varName = 1;
        Returns:
        This builder for chaining.
      • setVarNameBytes

        public NcStreamProto.Data.Builder setVarNameBytes​(com.google.protobuf.ByteString value)
         full escaped name.
         
        string varName = 1;
        Parameters:
        value - The bytes for varName to set.
        Returns:
        This builder for chaining.
      • setDataTypeValue

        public NcStreamProto.Data.Builder setDataTypeValue​(int value)
        .DataType dataType = 2;
        Parameters:
        value - The enum numeric value on the wire for dataType to set.
        Returns:
        This builder for chaining.
      • hasSection

        public boolean hasSection()
         not required for SEQUENCE
         
        .Section section = 3;
        Specified by:
        hasSection in interface NcStreamProto.DataOrBuilder
        Returns:
        Whether the section field is set.
      • hasBigend

        public boolean hasBigend()
         [default=true] in proto2
         
        bool bigend = 4;
        Specified by:
        hasBigend in interface NcStreamProto.DataOrBuilder
        Returns:
        Whether the bigend field is set.
      • setBigend

        public NcStreamProto.Data.Builder setBigend​(boolean value)
         [default=true] in proto2
         
        bool bigend = 4;
        Parameters:
        value - The bigend to set.
        Returns:
        This builder for chaining.
      • clearBigend

        public NcStreamProto.Data.Builder clearBigend()
         [default=true] in proto2
         
        bool bigend = 4;
        Returns:
        This builder for chaining.
      • getVersion

        public int getVersion()
         version=2 for proto2, >=3 for proto3 (v5.0+)
         
        uint32 version = 5;
        Specified by:
        getVersion in interface NcStreamProto.DataOrBuilder
        Returns:
        The version.
      • setVersion

        public NcStreamProto.Data.Builder setVersion​(int value)
         version=2 for proto2, >=3 for proto3 (v5.0+)
         
        uint32 version = 5;
        Parameters:
        value - The version to set.
        Returns:
        This builder for chaining.
      • clearVersion

        public NcStreamProto.Data.Builder clearVersion()
         version=2 for proto2, >=3 for proto3 (v5.0+)
         
        uint32 version = 5;
        Returns:
        This builder for chaining.
      • setCompressValue

        public NcStreamProto.Data.Builder setCompressValue​(int value)
        .Compress compress = 6;
        Parameters:
        value - The enum numeric value on the wire for compress to set.
        Returns:
        This builder for chaining.
      • setVdata

        public NcStreamProto.Data.Builder setVdata​(boolean value)
        bool vdata = 7;
        Parameters:
        value - The vdata to set.
        Returns:
        This builder for chaining.
      • setUncompressedSize

        public NcStreamProto.Data.Builder setUncompressedSize​(int value)
        uint32 uncompressedSize = 8;
        Parameters:
        value - The uncompressedSize to set.
        Returns:
        This builder for chaining.
      • clearUncompressedSize

        public NcStreamProto.Data.Builder clearUncompressedSize()
        uint32 uncompressedSize = 8;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

        public final NcStreamProto.Data.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.Data.Builder>