Package org.apache.spark.status.protobuf
Class StoreTypes.SparkPlanGraphNode.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SparkPlanGraphNode.Builder>
org.apache.spark.status.protobuf.StoreTypes.SparkPlanGraphNode.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.SparkPlanGraphNodeOrBuilder
- Enclosing class:
- StoreTypes.SparkPlanGraphNode
public static final class StoreTypes.SparkPlanGraphNode.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SparkPlanGraphNode.Builder>
implements StoreTypes.SparkPlanGraphNodeOrBuilder
Protobuf type
org.apache.spark.status.protobuf.SparkPlanGraphNode
-
Method Summary
Modifier and TypeMethodDescriptionaddAllMetrics
(Iterable<? extends StoreTypes.SQLPlanMetric> values) repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
addMetrics
(int index, StoreTypes.SQLPlanMetric value) repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
addMetrics
(int index, StoreTypes.SQLPlanMetric.Builder builderForValue) repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
addMetrics
(StoreTypes.SQLPlanMetric.Builder builderForValue) repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
addMetricsBuilder
(int index) repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional string desc = 3;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()
int64 id = 1;
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
optional string name = 2;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
getDesc()
optional string desc = 3;
com.google.protobuf.ByteString
optional string desc = 3;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
getId()
int64 id = 1;
getMetrics
(int index) repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
getMetricsBuilder
(int index) repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
int
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
getMetricsOrBuilder
(int index) repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
List<? extends StoreTypes.SQLPlanMetricOrBuilder>
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
getName()
optional string name = 2;
com.google.protobuf.ByteString
optional string name = 2;
boolean
hasDesc()
optional string desc = 3;
boolean
hasName()
optional string name = 2;
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeMetrics
(int index) repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
optional string desc = 3;
setDescBytes
(com.google.protobuf.ByteString value) optional string desc = 3;
setId
(long value) int64 id = 1;
setMetrics
(int index, StoreTypes.SQLPlanMetric value) repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
setMetrics
(int index, StoreTypes.SQLPlanMetric.Builder builderForValue) repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
optional string name = 2;
setNameBytes
(com.google.protobuf.ByteString value) optional string name = 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.SparkPlanGraphNode.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.SparkPlanGraphNode.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.SparkPlanGraphNode.Builder>
-
setField
public StoreTypes.SparkPlanGraphNode.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.SparkPlanGraphNode.Builder>
-
clearField
public StoreTypes.SparkPlanGraphNode.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.SparkPlanGraphNode.Builder>
-
clearOneof
public StoreTypes.SparkPlanGraphNode.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.SparkPlanGraphNode.Builder>
-
setRepeatedField
public StoreTypes.SparkPlanGraphNode.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.SparkPlanGraphNode.Builder>
-
addRepeatedField
public StoreTypes.SparkPlanGraphNode.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.SparkPlanGraphNode.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.SparkPlanGraphNode.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SparkPlanGraphNode.Builder>
-
mergeFrom
public StoreTypes.SparkPlanGraphNode.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.SparkPlanGraphNode.Builder>
- Throws:
IOException
-
getId
public long getId()int64 id = 1;
- Specified by:
getId
in interfaceStoreTypes.SparkPlanGraphNodeOrBuilder
- Returns:
- The id.
-
setId
int64 id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
int64 id = 1;
- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()optional string name = 2;
- Specified by:
hasName
in interfaceStoreTypes.SparkPlanGraphNodeOrBuilder
- Returns:
- Whether the name field is set.
-
getName
optional string name = 2;
- Specified by:
getName
in interfaceStoreTypes.SparkPlanGraphNodeOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 2;
- Specified by:
getNameBytes
in interfaceStoreTypes.SparkPlanGraphNodeOrBuilder
- Returns:
- The bytes for name.
-
setName
optional string name = 2;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
optional string name = 2;
- Returns:
- This builder for chaining.
-
setNameBytes
optional string name = 2;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDesc
public boolean hasDesc()optional string desc = 3;
- Specified by:
hasDesc
in interfaceStoreTypes.SparkPlanGraphNodeOrBuilder
- Returns:
- Whether the desc field is set.
-
getDesc
optional string desc = 3;
- Specified by:
getDesc
in interfaceStoreTypes.SparkPlanGraphNodeOrBuilder
- Returns:
- The desc.
-
getDescBytes
public com.google.protobuf.ByteString getDescBytes()optional string desc = 3;
- Specified by:
getDescBytes
in interfaceStoreTypes.SparkPlanGraphNodeOrBuilder
- Returns:
- The bytes for desc.
-
setDesc
optional string desc = 3;
- Parameters:
value
- The desc to set.- Returns:
- This builder for chaining.
-
clearDesc
optional string desc = 3;
- Returns:
- This builder for chaining.
-
setDescBytes
optional string desc = 3;
- Parameters:
value
- The bytes for desc to set.- Returns:
- This builder for chaining.
-
getMetricsList
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
- Specified by:
getMetricsList
in interfaceStoreTypes.SparkPlanGraphNodeOrBuilder
-
getMetricsCount
public int getMetricsCount()repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
- Specified by:
getMetricsCount
in interfaceStoreTypes.SparkPlanGraphNodeOrBuilder
-
getMetrics
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
- Specified by:
getMetrics
in interfaceStoreTypes.SparkPlanGraphNodeOrBuilder
-
setMetrics
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
-
setMetrics
public StoreTypes.SparkPlanGraphNode.Builder setMetrics(int index, StoreTypes.SQLPlanMetric.Builder builderForValue) repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
-
addMetrics
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
-
addMetrics
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
-
addMetrics
public StoreTypes.SparkPlanGraphNode.Builder addMetrics(StoreTypes.SQLPlanMetric.Builder builderForValue) repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
-
addMetrics
public StoreTypes.SparkPlanGraphNode.Builder addMetrics(int index, StoreTypes.SQLPlanMetric.Builder builderForValue) repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
-
addAllMetrics
public StoreTypes.SparkPlanGraphNode.Builder addAllMetrics(Iterable<? extends StoreTypes.SQLPlanMetric> values) repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
-
clearMetrics
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
-
removeMetrics
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
-
getMetricsBuilder
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
-
getMetricsOrBuilder
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
- Specified by:
getMetricsOrBuilder
in interfaceStoreTypes.SparkPlanGraphNodeOrBuilder
-
getMetricsOrBuilderList
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
- Specified by:
getMetricsOrBuilderList
in interfaceStoreTypes.SparkPlanGraphNodeOrBuilder
-
addMetricsBuilder
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
-
addMetricsBuilder
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
-
getMetricsBuilderList
repeated .org.apache.spark.status.protobuf.SQLPlanMetric metrics = 4;
-
setUnknownFields
public final StoreTypes.SparkPlanGraphNode.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.SparkPlanGraphNode.Builder>
-
mergeUnknownFields
public final StoreTypes.SparkPlanGraphNode.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.SparkPlanGraphNode.Builder>
-