Package org.apache.spark.status.protobuf
Class StoreTypes.StageDataWrapper.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StageDataWrapper.Builder>
org.apache.spark.status.protobuf.StoreTypes.StageDataWrapper.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.StageDataWrapperOrBuilder
- Enclosing class:
- StoreTypes.StageDataWrapper
public static final class StoreTypes.StageDataWrapper.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StageDataWrapper.Builder>
implements StoreTypes.StageDataWrapperOrBuilder
Protobuf type
org.apache.spark.status.protobuf.StageDataWrapper
-
Method Summary
Modifier and TypeMethodDescriptionaddAllJobIds
(Iterable<? extends Long> values) repeated int64 job_ids = 2;
addJobIds
(long value) repeated int64 job_ids = 2;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) .org.apache.spark.status.protobuf.StageData info = 1;
repeated int64 job_ids = 2;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
boolean
containsLocality
(String key) map<string, int64> locality = 3;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getInfo()
.org.apache.spark.status.protobuf.StageData info = 1;
.org.apache.spark.status.protobuf.StageData info = 1;
.org.apache.spark.status.protobuf.StageData info = 1;
long
getJobIds
(int index) repeated int64 job_ids = 2;
int
repeated int64 job_ids = 2;
repeated int64 job_ids = 2;
Deprecated.int
map<string, int64> locality = 3;
map<string, int64> locality = 3;
long
getLocalityOrDefault
(String key, long defaultValue) map<string, int64> locality = 3;
long
getLocalityOrThrow
(String key) map<string, int64> locality = 3;
Deprecated.boolean
hasInfo()
.org.apache.spark.status.protobuf.StageData info = 1;
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeInfo
(StoreTypes.StageData value) .org.apache.spark.status.protobuf.StageData info = 1;
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) putAllLocality
(Map<String, Long> values) map<string, int64> locality = 3;
putLocality
(String key, long value) map<string, int64> locality = 3;
removeLocality
(String key) map<string, int64> locality = 3;
setInfo
(StoreTypes.StageData value) .org.apache.spark.status.protobuf.StageData info = 1;
setInfo
(StoreTypes.StageData.Builder builderForValue) .org.apache.spark.status.protobuf.StageData info = 1;
setJobIds
(int index, long value) repeated int64 job_ids = 2;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeFrom
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
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<StoreTypes.StageDataWrapper.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<StoreTypes.StageDataWrapper.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.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<StoreTypes.StageDataWrapper.Builder>
-
setField
public StoreTypes.StageDataWrapper.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<StoreTypes.StageDataWrapper.Builder>
-
clearField
public StoreTypes.StageDataWrapper.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<StoreTypes.StageDataWrapper.Builder>
-
clearOneof
public StoreTypes.StageDataWrapper.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<StoreTypes.StageDataWrapper.Builder>
-
setRepeatedField
public StoreTypes.StageDataWrapper.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<StoreTypes.StageDataWrapper.Builder>
-
addRepeatedField
public StoreTypes.StageDataWrapper.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<StoreTypes.StageDataWrapper.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.StageDataWrapper.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StageDataWrapper.Builder>
-
mergeFrom
public StoreTypes.StageDataWrapper.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<StoreTypes.StageDataWrapper.Builder>
- Throws:
IOException
-
hasInfo
public boolean hasInfo().org.apache.spark.status.protobuf.StageData info = 1;
- Specified by:
hasInfo
in interfaceStoreTypes.StageDataWrapperOrBuilder
- Returns:
- Whether the info field is set.
-
getInfo
.org.apache.spark.status.protobuf.StageData info = 1;
- Specified by:
getInfo
in interfaceStoreTypes.StageDataWrapperOrBuilder
- Returns:
- The info.
-
setInfo
.org.apache.spark.status.protobuf.StageData info = 1;
-
setInfo
.org.apache.spark.status.protobuf.StageData info = 1;
-
mergeInfo
.org.apache.spark.status.protobuf.StageData info = 1;
-
clearInfo
.org.apache.spark.status.protobuf.StageData info = 1;
-
getInfoBuilder
.org.apache.spark.status.protobuf.StageData info = 1;
-
getInfoOrBuilder
.org.apache.spark.status.protobuf.StageData info = 1;
- Specified by:
getInfoOrBuilder
in interfaceStoreTypes.StageDataWrapperOrBuilder
-
getJobIdsList
repeated int64 job_ids = 2;
- Specified by:
getJobIdsList
in interfaceStoreTypes.StageDataWrapperOrBuilder
- Returns:
- A list containing the jobIds.
-
getJobIdsCount
public int getJobIdsCount()repeated int64 job_ids = 2;
- Specified by:
getJobIdsCount
in interfaceStoreTypes.StageDataWrapperOrBuilder
- Returns:
- The count of jobIds.
-
getJobIds
public long getJobIds(int index) repeated int64 job_ids = 2;
- Specified by:
getJobIds
in interfaceStoreTypes.StageDataWrapperOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The jobIds at the given index.
-
setJobIds
repeated int64 job_ids = 2;
- Parameters:
index
- The index to set the value at.value
- The jobIds to set.- Returns:
- This builder for chaining.
-
addJobIds
repeated int64 job_ids = 2;
- Parameters:
value
- The jobIds to add.- Returns:
- This builder for chaining.
-
addAllJobIds
repeated int64 job_ids = 2;
- Parameters:
values
- The jobIds to add.- Returns:
- This builder for chaining.
-
clearJobIds
repeated int64 job_ids = 2;
- Returns:
- This builder for chaining.
-
getLocalityCount
public int getLocalityCount()Description copied from interface:StoreTypes.StageDataWrapperOrBuilder
map<string, int64> locality = 3;
- Specified by:
getLocalityCount
in interfaceStoreTypes.StageDataWrapperOrBuilder
-
containsLocality
map<string, int64> locality = 3;
- Specified by:
containsLocality
in interfaceStoreTypes.StageDataWrapperOrBuilder
-
getLocality
Deprecated.UsegetLocalityMap()
instead.- Specified by:
getLocality
in interfaceStoreTypes.StageDataWrapperOrBuilder
-
getLocalityMap
map<string, int64> locality = 3;
- Specified by:
getLocalityMap
in interfaceStoreTypes.StageDataWrapperOrBuilder
-
getLocalityOrDefault
map<string, int64> locality = 3;
- Specified by:
getLocalityOrDefault
in interfaceStoreTypes.StageDataWrapperOrBuilder
-
getLocalityOrThrow
map<string, int64> locality = 3;
- Specified by:
getLocalityOrThrow
in interfaceStoreTypes.StageDataWrapperOrBuilder
-
clearLocality
-
removeLocality
map<string, int64> locality = 3;
-
getMutableLocality
Deprecated.Use alternate mutation accessors instead. -
putLocality
map<string, int64> locality = 3;
-
putAllLocality
map<string, int64> locality = 3;
-
setUnknownFields
public final StoreTypes.StageDataWrapper.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StageDataWrapper.Builder>
-
mergeUnknownFields
public final StoreTypes.StageDataWrapper.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.StageDataWrapper.Builder>
-