Class essential_type.Builder

  • All Implemented Interfaces:
    essential_typeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    essential_type

    public static final class essential_type.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<essential_type.Builder>
    implements essential_typeOrBuilder
    没有scala中的char,short,Byte
     
    Protobuf type RDDReaderTransfer.essential_type
    • 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<essential_type.Builder>
      • clear

        public essential_type.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<essential_type.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<essential_type.Builder>
      • getDefaultInstanceForType

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

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

        public essential_type buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public essential_type.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<essential_type.Builder>
      • setField

        public essential_type.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<essential_type.Builder>
      • clearField

        public essential_type.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<essential_type.Builder>
      • clearOneof

        public essential_type.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<essential_type.Builder>
      • setRepeatedField

        public essential_type.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       int index,
                                                       Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<essential_type.Builder>
      • addRepeatedField

        public essential_type.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<essential_type.Builder>
      • mergeFrom

        public essential_type.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<essential_type.Builder>
      • isInitialized

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

        public essential_type.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<essential_type.Builder>
        Throws:
        IOException
      • hasIntData

        public boolean hasIntData()
        int32 int_data = 1;
        Specified by:
        hasIntData in interface essential_typeOrBuilder
        Returns:
        Whether the intData field is set.
      • setIntData

        public essential_type.Builder setIntData​(int value)
        int32 int_data = 1;
        Parameters:
        value - The intData to set.
        Returns:
        This builder for chaining.
      • clearIntData

        public essential_type.Builder clearIntData()
        int32 int_data = 1;
        Returns:
        This builder for chaining.
      • hasLongData

        public boolean hasLongData()
        int64 long_data = 2;
        Specified by:
        hasLongData in interface essential_typeOrBuilder
        Returns:
        Whether the longData field is set.
      • setLongData

        public essential_type.Builder setLongData​(long value)
        int64 long_data = 2;
        Parameters:
        value - The longData to set.
        Returns:
        This builder for chaining.
      • clearLongData

        public essential_type.Builder clearLongData()
        int64 long_data = 2;
        Returns:
        This builder for chaining.
      • hasFloatData

        public boolean hasFloatData()
        float float_data = 3;
        Specified by:
        hasFloatData in interface essential_typeOrBuilder
        Returns:
        Whether the floatData field is set.
      • setFloatData

        public essential_type.Builder setFloatData​(float value)
        float float_data = 3;
        Parameters:
        value - The floatData to set.
        Returns:
        This builder for chaining.
      • clearFloatData

        public essential_type.Builder clearFloatData()
        float float_data = 3;
        Returns:
        This builder for chaining.
      • hasDoubleData

        public boolean hasDoubleData()
        double double_data = 4;
        Specified by:
        hasDoubleData in interface essential_typeOrBuilder
        Returns:
        Whether the doubleData field is set.
      • setDoubleData

        public essential_type.Builder setDoubleData​(double value)
        double double_data = 4;
        Parameters:
        value - The doubleData to set.
        Returns:
        This builder for chaining.
      • clearDoubleData

        public essential_type.Builder clearDoubleData()
        double double_data = 4;
        Returns:
        This builder for chaining.
      • hasBoolData

        public boolean hasBoolData()
        bool bool_data = 5;
        Specified by:
        hasBoolData in interface essential_typeOrBuilder
        Returns:
        Whether the boolData field is set.
      • setBoolData

        public essential_type.Builder setBoolData​(boolean value)
        bool bool_data = 5;
        Parameters:
        value - The boolData to set.
        Returns:
        This builder for chaining.
      • clearBoolData

        public essential_type.Builder clearBoolData()
        bool bool_data = 5;
        Returns:
        This builder for chaining.
      • hasStringData

        public boolean hasStringData()
        string string_data = 6;
        Specified by:
        hasStringData in interface essential_typeOrBuilder
        Returns:
        Whether the stringData field is set.
      • getStringDataBytes

        public com.google.protobuf.ByteString getStringDataBytes()
        string string_data = 6;
        Specified by:
        getStringDataBytes in interface essential_typeOrBuilder
        Returns:
        The bytes for stringData.
      • setStringData

        public essential_type.Builder setStringData​(String value)
        string string_data = 6;
        Parameters:
        value - The stringData to set.
        Returns:
        This builder for chaining.
      • clearStringData

        public essential_type.Builder clearStringData()
        string string_data = 6;
        Returns:
        This builder for chaining.
      • setStringDataBytes

        public essential_type.Builder setStringDataBytes​(com.google.protobuf.ByteString value)
        string string_data = 6;
        Parameters:
        value - The bytes for stringData to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final essential_type.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<essential_type.Builder>
      • mergeUnknownFields

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