public static final class StoreTypes.PoolData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.PoolData.Builder> implements StoreTypes.PoolDataOrBuilder
org.apache.spark.status.protobuf.PoolData
Modifier and Type | Method and Description |
---|---|
StoreTypes.PoolData.Builder |
addAllStageIds(Iterable<? extends Long> values)
repeated int64 stage_ids = 2; |
StoreTypes.PoolData.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.PoolData.Builder |
addStageIds(long value)
repeated int64 stage_ids = 2; |
StoreTypes.PoolData |
build() |
StoreTypes.PoolData |
buildPartial() |
StoreTypes.PoolData.Builder |
clear() |
StoreTypes.PoolData.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StoreTypes.PoolData.Builder |
clearName()
optional string name = 1; |
StoreTypes.PoolData.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StoreTypes.PoolData.Builder |
clearStageIds()
repeated int64 stage_ids = 2; |
StoreTypes.PoolData.Builder |
clone() |
StoreTypes.PoolData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
optional string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 1; |
long |
getStageIds(int index)
repeated int64 stage_ids = 2; |
int |
getStageIdsCount()
repeated int64 stage_ids = 2; |
java.util.List<Long> |
getStageIdsList()
repeated int64 stage_ids = 2; |
boolean |
hasName()
optional string name = 1; |
boolean |
isInitialized() |
StoreTypes.PoolData.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StoreTypes.PoolData.Builder |
mergeFrom(com.google.protobuf.Message other) |
StoreTypes.PoolData.Builder |
mergeFrom(StoreTypes.PoolData other) |
StoreTypes.PoolData.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StoreTypes.PoolData.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.PoolData.Builder |
setName(String value)
optional string name = 1; |
StoreTypes.PoolData.Builder |
setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1; |
StoreTypes.PoolData.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StoreTypes.PoolData.Builder |
setStageIds(int index,
long value)
repeated int64 stage_ids = 2; |
StoreTypes.PoolData.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public StoreTypes.PoolData.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.PoolData.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.PoolData.Builder>
public StoreTypes.PoolData getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public StoreTypes.PoolData build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.PoolData buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.PoolData.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.PoolData.Builder>
public StoreTypes.PoolData.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.PoolData.Builder>
public StoreTypes.PoolData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.PoolData.Builder>
public StoreTypes.PoolData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.PoolData.Builder>
public StoreTypes.PoolData.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.PoolData.Builder>
public StoreTypes.PoolData.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.PoolData.Builder>
public StoreTypes.PoolData.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StoreTypes.PoolData.Builder>
public StoreTypes.PoolData.Builder mergeFrom(StoreTypes.PoolData other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.PoolData.Builder>
public StoreTypes.PoolData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StoreTypes.PoolData.Builder>
java.io.IOException
public boolean hasName()
optional string name = 1;
hasName
in interface StoreTypes.PoolDataOrBuilder
public String getName()
optional string name = 1;
getName
in interface StoreTypes.PoolDataOrBuilder
public com.google.protobuf.ByteString getNameBytes()
optional string name = 1;
getNameBytes
in interface StoreTypes.PoolDataOrBuilder
public StoreTypes.PoolData.Builder setName(String value)
optional string name = 1;
value
- The name to set.public StoreTypes.PoolData.Builder clearName()
optional string name = 1;
public StoreTypes.PoolData.Builder setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1;
value
- The bytes for name to set.public java.util.List<Long> getStageIdsList()
repeated int64 stage_ids = 2;
getStageIdsList
in interface StoreTypes.PoolDataOrBuilder
public int getStageIdsCount()
repeated int64 stage_ids = 2;
getStageIdsCount
in interface StoreTypes.PoolDataOrBuilder
public long getStageIds(int index)
repeated int64 stage_ids = 2;
getStageIds
in interface StoreTypes.PoolDataOrBuilder
index
- The index of the element to return.public StoreTypes.PoolData.Builder setStageIds(int index, long value)
repeated int64 stage_ids = 2;
index
- The index to set the value at.value
- The stageIds to set.public StoreTypes.PoolData.Builder addStageIds(long value)
repeated int64 stage_ids = 2;
value
- The stageIds to add.public StoreTypes.PoolData.Builder addAllStageIds(Iterable<? extends Long> values)
repeated int64 stage_ids = 2;
values
- The stageIds to add.public StoreTypes.PoolData.Builder clearStageIds()
repeated int64 stage_ids = 2;
public final StoreTypes.PoolData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.PoolData.Builder>
public final StoreTypes.PoolData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.PoolData.Builder>