public static final class StoreTypes.SinkProgress.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SinkProgress.Builder> implements StoreTypes.SinkProgressOrBuilder
org.apache.spark.status.protobuf.SinkProgress
Modifier and Type | Method and Description |
---|---|
StoreTypes.SinkProgress.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.SinkProgress |
build() |
StoreTypes.SinkProgress |
buildPartial() |
StoreTypes.SinkProgress.Builder |
clear() |
StoreTypes.SinkProgress.Builder |
clearDescription()
optional string description = 1; |
StoreTypes.SinkProgress.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StoreTypes.SinkProgress.Builder |
clearMetrics() |
StoreTypes.SinkProgress.Builder |
clearNumOutputRows()
int64 num_output_rows = 2; |
StoreTypes.SinkProgress.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StoreTypes.SinkProgress.Builder |
clone() |
boolean |
containsMetrics(String key)
map<string, string> metrics = 3; |
StoreTypes.SinkProgress |
getDefaultInstanceForType() |
String |
getDescription()
optional string description = 1; |
com.google.protobuf.ByteString |
getDescriptionBytes()
optional string description = 1; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.util.Map<String,String> |
getMetrics()
Deprecated.
|
int |
getMetricsCount()
map<string, string> metrics = 3; |
java.util.Map<String,String> |
getMetricsMap()
map<string, string> metrics = 3; |
String |
getMetricsOrDefault(String key,
String defaultValue)
map<string, string> metrics = 3; |
String |
getMetricsOrThrow(String key)
map<string, string> metrics = 3; |
java.util.Map<String,String> |
getMutableMetrics()
Deprecated.
|
long |
getNumOutputRows()
int64 num_output_rows = 2; |
boolean |
hasDescription()
optional string description = 1; |
boolean |
isInitialized() |
StoreTypes.SinkProgress.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StoreTypes.SinkProgress.Builder |
mergeFrom(com.google.protobuf.Message other) |
StoreTypes.SinkProgress.Builder |
mergeFrom(StoreTypes.SinkProgress other) |
StoreTypes.SinkProgress.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StoreTypes.SinkProgress.Builder |
putAllMetrics(java.util.Map<String,String> values)
map<string, string> metrics = 3; |
StoreTypes.SinkProgress.Builder |
putMetrics(String key,
String value)
map<string, string> metrics = 3; |
StoreTypes.SinkProgress.Builder |
removeMetrics(String key)
map<string, string> metrics = 3; |
StoreTypes.SinkProgress.Builder |
setDescription(String value)
optional string description = 1; |
StoreTypes.SinkProgress.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 1; |
StoreTypes.SinkProgress.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.SinkProgress.Builder |
setNumOutputRows(long value)
int64 num_output_rows = 2; |
StoreTypes.SinkProgress.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StoreTypes.SinkProgress.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.SinkProgress.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.SinkProgress.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.SinkProgress.Builder>
public StoreTypes.SinkProgress getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public StoreTypes.SinkProgress build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.SinkProgress buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.SinkProgress.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.SinkProgress.Builder>
public StoreTypes.SinkProgress.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.SinkProgress.Builder>
public StoreTypes.SinkProgress.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.SinkProgress.Builder>
public StoreTypes.SinkProgress.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.SinkProgress.Builder>
public StoreTypes.SinkProgress.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.SinkProgress.Builder>
public StoreTypes.SinkProgress.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.SinkProgress.Builder>
public StoreTypes.SinkProgress.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StoreTypes.SinkProgress.Builder>
public StoreTypes.SinkProgress.Builder mergeFrom(StoreTypes.SinkProgress other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SinkProgress.Builder>
public StoreTypes.SinkProgress.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.SinkProgress.Builder>
java.io.IOException
public boolean hasDescription()
optional string description = 1;
hasDescription
in interface StoreTypes.SinkProgressOrBuilder
public String getDescription()
optional string description = 1;
getDescription
in interface StoreTypes.SinkProgressOrBuilder
public com.google.protobuf.ByteString getDescriptionBytes()
optional string description = 1;
getDescriptionBytes
in interface StoreTypes.SinkProgressOrBuilder
public StoreTypes.SinkProgress.Builder setDescription(String value)
optional string description = 1;
value
- The description to set.public StoreTypes.SinkProgress.Builder clearDescription()
optional string description = 1;
public StoreTypes.SinkProgress.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 1;
value
- The bytes for description to set.public long getNumOutputRows()
int64 num_output_rows = 2;
getNumOutputRows
in interface StoreTypes.SinkProgressOrBuilder
public StoreTypes.SinkProgress.Builder setNumOutputRows(long value)
int64 num_output_rows = 2;
value
- The numOutputRows to set.public StoreTypes.SinkProgress.Builder clearNumOutputRows()
int64 num_output_rows = 2;
public int getMetricsCount()
StoreTypes.SinkProgressOrBuilder
map<string, string> metrics = 3;
getMetricsCount
in interface StoreTypes.SinkProgressOrBuilder
public boolean containsMetrics(String key)
map<string, string> metrics = 3;
containsMetrics
in interface StoreTypes.SinkProgressOrBuilder
@Deprecated public java.util.Map<String,String> getMetrics()
getMetricsMap()
instead.getMetrics
in interface StoreTypes.SinkProgressOrBuilder
public java.util.Map<String,String> getMetricsMap()
map<string, string> metrics = 3;
getMetricsMap
in interface StoreTypes.SinkProgressOrBuilder
public String getMetricsOrDefault(String key, String defaultValue)
map<string, string> metrics = 3;
getMetricsOrDefault
in interface StoreTypes.SinkProgressOrBuilder
public String getMetricsOrThrow(String key)
map<string, string> metrics = 3;
getMetricsOrThrow
in interface StoreTypes.SinkProgressOrBuilder
public StoreTypes.SinkProgress.Builder clearMetrics()
public StoreTypes.SinkProgress.Builder removeMetrics(String key)
map<string, string> metrics = 3;
@Deprecated public java.util.Map<String,String> getMutableMetrics()
public StoreTypes.SinkProgress.Builder putMetrics(String key, String value)
map<string, string> metrics = 3;
public StoreTypes.SinkProgress.Builder putAllMetrics(java.util.Map<String,String> values)
map<string, string> metrics = 3;
public final StoreTypes.SinkProgress.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SinkProgress.Builder>
public final StoreTypes.SinkProgress.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SinkProgress.Builder>