Package com.alibaba.RDDReaderTransfer
Class PartitionInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PartitionInfo.Builder>
-
- com.alibaba.RDDReaderTransfer.PartitionInfo.Builder
-
- All Implemented Interfaces:
PartitionInfoOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- PartitionInfo
public static final class PartitionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PartitionInfo.Builder> implements PartitionInfoOrBuilder
Protobuf typeRDDReaderTransfer.PartitionInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PartitionInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
PartitionInfo
build()
PartitionInfo
buildPartial()
PartitionInfo.Builder
clear()
PartitionInfo.Builder
clearDataType()
string dataType = 3;
PartitionInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
PartitionInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
PartitionInfo.Builder
clearPartitionCnt()
int32 partitionCnt = 2;
PartitionInfo.Builder
clearPartitionId()
int32 partitionId = 1;
PartitionInfo.Builder
clone()
String
getDataType()
string dataType = 3;
com.google.protobuf.ByteString
getDataTypeBytes()
string dataType = 3;
PartitionInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getPartitionCnt()
int32 partitionCnt = 2;
int
getPartitionId()
int32 partitionId = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
PartitionInfo.Builder
mergeFrom(PartitionInfo other)
PartitionInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
PartitionInfo.Builder
mergeFrom(com.google.protobuf.Message other)
PartitionInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PartitionInfo.Builder
setDataType(String value)
string dataType = 3;
PartitionInfo.Builder
setDataTypeBytes(com.google.protobuf.ByteString value)
string dataType = 3;
PartitionInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
PartitionInfo.Builder
setPartitionCnt(int value)
int32 partitionCnt = 2;
PartitionInfo.Builder
setPartitionId(int value)
int32 partitionId = 1;
PartitionInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
PartitionInfo.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<PartitionInfo.Builder>
-
clear
public PartitionInfo.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<PartitionInfo.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<PartitionInfo.Builder>
-
getDefaultInstanceForType
public PartitionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PartitionInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PartitionInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PartitionInfo.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<PartitionInfo.Builder>
-
setField
public PartitionInfo.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<PartitionInfo.Builder>
-
clearField
public PartitionInfo.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<PartitionInfo.Builder>
-
clearOneof
public PartitionInfo.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<PartitionInfo.Builder>
-
setRepeatedField
public PartitionInfo.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<PartitionInfo.Builder>
-
addRepeatedField
public PartitionInfo.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<PartitionInfo.Builder>
-
mergeFrom
public PartitionInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PartitionInfo.Builder>
-
mergeFrom
public PartitionInfo.Builder mergeFrom(PartitionInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionInfo.Builder>
-
mergeFrom
public PartitionInfo.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<PartitionInfo.Builder>
- Throws:
IOException
-
getPartitionId
public int getPartitionId()
int32 partitionId = 1;
- Specified by:
getPartitionId
in interfacePartitionInfoOrBuilder
- Returns:
- The partitionId.
-
setPartitionId
public PartitionInfo.Builder setPartitionId(int value)
int32 partitionId = 1;
- Parameters:
value
- The partitionId to set.- Returns:
- This builder for chaining.
-
clearPartitionId
public PartitionInfo.Builder clearPartitionId()
int32 partitionId = 1;
- Returns:
- This builder for chaining.
-
getPartitionCnt
public int getPartitionCnt()
int32 partitionCnt = 2;
- Specified by:
getPartitionCnt
in interfacePartitionInfoOrBuilder
- Returns:
- The partitionCnt.
-
setPartitionCnt
public PartitionInfo.Builder setPartitionCnt(int value)
int32 partitionCnt = 2;
- Parameters:
value
- The partitionCnt to set.- Returns:
- This builder for chaining.
-
clearPartitionCnt
public PartitionInfo.Builder clearPartitionCnt()
int32 partitionCnt = 2;
- Returns:
- This builder for chaining.
-
getDataType
public String getDataType()
string dataType = 3;
- Specified by:
getDataType
in interfacePartitionInfoOrBuilder
- Returns:
- The dataType.
-
getDataTypeBytes
public com.google.protobuf.ByteString getDataTypeBytes()
string dataType = 3;
- Specified by:
getDataTypeBytes
in interfacePartitionInfoOrBuilder
- Returns:
- The bytes for dataType.
-
setDataType
public PartitionInfo.Builder setDataType(String value)
string dataType = 3;
- Parameters:
value
- The dataType to set.- Returns:
- This builder for chaining.
-
clearDataType
public PartitionInfo.Builder clearDataType()
string dataType = 3;
- Returns:
- This builder for chaining.
-
setDataTypeBytes
public PartitionInfo.Builder setDataTypeBytes(com.google.protobuf.ByteString value)
string dataType = 3;
- Parameters:
value
- The bytes for dataType to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final PartitionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionInfo.Builder>
-
mergeUnknownFields
public final PartitionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PartitionInfo.Builder>
-
-