Package com.alibaba.RDDReaderTransfer
Class essential_type.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<essential_type.Builder>
-
- com.alibaba.RDDReaderTransfer.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 typeRDDReaderTransfer.essential_type
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description essential_type.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
essential_type
build()
essential_type
buildPartial()
essential_type.Builder
clear()
essential_type.Builder
clearBoolData()
bool bool_data = 5;
essential_type.Builder
clearDoubleData()
double double_data = 4;
essential_type.Builder
clearEssential()
essential_type.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
essential_type.Builder
clearFloatData()
float float_data = 3;
essential_type.Builder
clearIntData()
int32 int_data = 1;
essential_type.Builder
clearLongData()
int64 long_data = 2;
essential_type.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
essential_type.Builder
clearStringData()
string string_data = 6;
essential_type.Builder
clone()
boolean
getBoolData()
bool bool_data = 5;
essential_type
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
double
getDoubleData()
double double_data = 4;
essential_type.EssentialCase
getEssentialCase()
float
getFloatData()
float float_data = 3;
int
getIntData()
int32 int_data = 1;
long
getLongData()
int64 long_data = 2;
String
getStringData()
string string_data = 6;
com.google.protobuf.ByteString
getStringDataBytes()
string string_data = 6;
boolean
hasBoolData()
bool bool_data = 5;
boolean
hasDoubleData()
double double_data = 4;
boolean
hasFloatData()
float float_data = 3;
boolean
hasIntData()
int32 int_data = 1;
boolean
hasLongData()
int64 long_data = 2;
boolean
hasStringData()
string string_data = 6;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
essential_type.Builder
mergeFrom(essential_type other)
essential_type.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
essential_type.Builder
mergeFrom(com.google.protobuf.Message other)
essential_type.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
essential_type.Builder
setBoolData(boolean value)
bool bool_data = 5;
essential_type.Builder
setDoubleData(double value)
double double_data = 4;
essential_type.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
essential_type.Builder
setFloatData(float value)
float float_data = 3;
essential_type.Builder
setIntData(int value)
int32 int_data = 1;
essential_type.Builder
setLongData(long value)
int64 long_data = 2;
essential_type.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
essential_type.Builder
setStringData(String value)
string string_data = 6;
essential_type.Builder
setStringDataBytes(com.google.protobuf.ByteString value)
string string_data = 6;
essential_type.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.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 com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<essential_type.Builder>
-
clear
public essential_type.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<essential_type.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<essential_type.Builder>
-
getDefaultInstanceForType
public essential_type getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public essential_type build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public essential_type buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public essential_type.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<essential_type.Builder>
-
clearField
public essential_type.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<essential_type.Builder>
-
clearOneof
public essential_type.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<essential_type.Builder>
-
mergeFrom
public essential_type.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<essential_type.Builder>
-
mergeFrom
public essential_type.Builder mergeFrom(essential_type other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<essential_type.Builder>
- Throws:
IOException
-
getEssentialCase
public essential_type.EssentialCase getEssentialCase()
- Specified by:
getEssentialCase
in interfaceessential_typeOrBuilder
-
clearEssential
public essential_type.Builder clearEssential()
-
hasIntData
public boolean hasIntData()
int32 int_data = 1;
- Specified by:
hasIntData
in interfaceessential_typeOrBuilder
- Returns:
- Whether the intData field is set.
-
getIntData
public int getIntData()
int32 int_data = 1;
- Specified by:
getIntData
in interfaceessential_typeOrBuilder
- Returns:
- The intData.
-
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 interfaceessential_typeOrBuilder
- Returns:
- Whether the longData field is set.
-
getLongData
public long getLongData()
int64 long_data = 2;
- Specified by:
getLongData
in interfaceessential_typeOrBuilder
- Returns:
- The longData.
-
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 interfaceessential_typeOrBuilder
- Returns:
- Whether the floatData field is set.
-
getFloatData
public float getFloatData()
float float_data = 3;
- Specified by:
getFloatData
in interfaceessential_typeOrBuilder
- Returns:
- The floatData.
-
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 interfaceessential_typeOrBuilder
- Returns:
- Whether the doubleData field is set.
-
getDoubleData
public double getDoubleData()
double double_data = 4;
- Specified by:
getDoubleData
in interfaceessential_typeOrBuilder
- Returns:
- The doubleData.
-
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 interfaceessential_typeOrBuilder
- Returns:
- Whether the boolData field is set.
-
getBoolData
public boolean getBoolData()
bool bool_data = 5;
- Specified by:
getBoolData
in interfaceessential_typeOrBuilder
- Returns:
- The boolData.
-
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 interfaceessential_typeOrBuilder
- Returns:
- Whether the stringData field is set.
-
getStringData
public String getStringData()
string string_data = 6;
- Specified by:
getStringData
in interfaceessential_typeOrBuilder
- Returns:
- The stringData.
-
getStringDataBytes
public com.google.protobuf.ByteString getStringDataBytes()
string string_data = 6;
- Specified by:
getStringDataBytes
in interfaceessential_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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<essential_type.Builder>
-
mergeUnknownFields
public final essential_type.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<essential_type.Builder>
-
-