Package org.apache.spark.status.protobuf
Class StoreTypes.SinkProgress.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SinkProgress.Builder>
org.apache.spark.status.protobuf.StoreTypes.SinkProgress.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.SinkProgressOrBuilder
- Enclosing class:
- StoreTypes.SinkProgress
public static final class StoreTypes.SinkProgress.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SinkProgress.Builder>
implements StoreTypes.SinkProgressOrBuilder
Protobuf type
org.apache.spark.status.protobuf.SinkProgress
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional string description = 1;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) int64 num_output_rows = 2;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
boolean
containsMetrics
(String key) map<string, string> metrics = 3;
optional string description = 1;
com.google.protobuf.ByteString
optional string description = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.int
map<string, string> metrics = 3;
map<string, string> metrics = 3;
getMetricsOrDefault
(String key, String defaultValue) map<string, string> metrics = 3;
getMetricsOrThrow
(String key) map<string, string> metrics = 3;
Deprecated.long
int64 num_output_rows = 2;
boolean
optional string description = 1;
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(StoreTypes.SinkProgress other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) putAllMetrics
(Map<String, String> values) map<string, string> metrics = 3;
putMetrics
(String key, String value) map<string, string> metrics = 3;
removeMetrics
(String key) map<string, string> metrics = 3;
setDescription
(String value) optional string description = 1;
setDescriptionBytes
(com.google.protobuf.ByteString value) optional string description = 1;
setNumOutputRows
(long value) int64 num_output_rows = 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.SinkProgress.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.SinkProgress.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.SinkProgress.Builder>
-
setField
public StoreTypes.SinkProgress.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.SinkProgress.Builder>
-
clearField
public StoreTypes.SinkProgress.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.SinkProgress.Builder>
-
clearOneof
public StoreTypes.SinkProgress.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.SinkProgress.Builder>
-
setRepeatedField
public StoreTypes.SinkProgress.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.SinkProgress.Builder>
-
addRepeatedField
public StoreTypes.SinkProgress.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.SinkProgress.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.SinkProgress.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SinkProgress.Builder>
-
mergeFrom
public StoreTypes.SinkProgress.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.SinkProgress.Builder>
- Throws:
IOException
-
hasDescription
public boolean hasDescription()optional string description = 1;
- Specified by:
hasDescription
in interfaceStoreTypes.SinkProgressOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
optional string description = 1;
- Specified by:
getDescription
in interfaceStoreTypes.SinkProgressOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()optional string description = 1;
- Specified by:
getDescriptionBytes
in interfaceStoreTypes.SinkProgressOrBuilder
- Returns:
- The bytes for description.
-
setDescription
optional string description = 1;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
optional string description = 1;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
optional string description = 1;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getNumOutputRows
public long getNumOutputRows()int64 num_output_rows = 2;
- Specified by:
getNumOutputRows
in interfaceStoreTypes.SinkProgressOrBuilder
- Returns:
- The numOutputRows.
-
setNumOutputRows
int64 num_output_rows = 2;
- Parameters:
value
- The numOutputRows to set.- Returns:
- This builder for chaining.
-
clearNumOutputRows
int64 num_output_rows = 2;
- Returns:
- This builder for chaining.
-
getMetricsCount
public int getMetricsCount()Description copied from interface:StoreTypes.SinkProgressOrBuilder
map<string, string> metrics = 3;
- Specified by:
getMetricsCount
in interfaceStoreTypes.SinkProgressOrBuilder
-
containsMetrics
map<string, string> metrics = 3;
- Specified by:
containsMetrics
in interfaceStoreTypes.SinkProgressOrBuilder
-
getMetrics
Deprecated.UsegetMetricsMap()
instead.- Specified by:
getMetrics
in interfaceStoreTypes.SinkProgressOrBuilder
-
getMetricsMap
map<string, string> metrics = 3;
- Specified by:
getMetricsMap
in interfaceStoreTypes.SinkProgressOrBuilder
-
getMetricsOrDefault
map<string, string> metrics = 3;
- Specified by:
getMetricsOrDefault
in interfaceStoreTypes.SinkProgressOrBuilder
-
getMetricsOrThrow
map<string, string> metrics = 3;
- Specified by:
getMetricsOrThrow
in interfaceStoreTypes.SinkProgressOrBuilder
-
clearMetrics
-
removeMetrics
map<string, string> metrics = 3;
-
getMutableMetrics
Deprecated.Use alternate mutation accessors instead. -
putMetrics
map<string, string> metrics = 3;
-
putAllMetrics
map<string, string> metrics = 3;
-
setUnknownFields
public final StoreTypes.SinkProgress.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.SinkProgress.Builder>
-
mergeUnknownFields
public final StoreTypes.SinkProgress.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.SinkProgress.Builder>
-