public static final class StoreTypes.SourceProgress.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SourceProgress.Builder> implements StoreTypes.SourceProgressOrBuilder
org.apache.spark.status.protobuf.SourceProgress
Modifier and Type | Method and Description |
---|---|
StoreTypes.SourceProgress.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.SourceProgress |
build() |
StoreTypes.SourceProgress |
buildPartial() |
StoreTypes.SourceProgress.Builder |
clear() |
StoreTypes.SourceProgress.Builder |
clearDescription()
optional string description = 1; |
StoreTypes.SourceProgress.Builder |
clearEndOffset()
optional string end_offset = 3; |
StoreTypes.SourceProgress.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StoreTypes.SourceProgress.Builder |
clearInputRowsPerSecond()
double input_rows_per_second = 6; |
StoreTypes.SourceProgress.Builder |
clearLatestOffset()
optional string latest_offset = 4; |
StoreTypes.SourceProgress.Builder |
clearMetrics() |
StoreTypes.SourceProgress.Builder |
clearNumInputRows()
int64 num_input_rows = 5; |
StoreTypes.SourceProgress.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StoreTypes.SourceProgress.Builder |
clearProcessedRowsPerSecond()
double processed_rows_per_second = 7; |
StoreTypes.SourceProgress.Builder |
clearStartOffset()
optional string start_offset = 2; |
StoreTypes.SourceProgress.Builder |
clone() |
boolean |
containsMetrics(String key)
map<string, string> metrics = 8; |
StoreTypes.SourceProgress |
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() |
String |
getEndOffset()
optional string end_offset = 3; |
com.google.protobuf.ByteString |
getEndOffsetBytes()
optional string end_offset = 3; |
double |
getInputRowsPerSecond()
double input_rows_per_second = 6; |
String |
getLatestOffset()
optional string latest_offset = 4; |
com.google.protobuf.ByteString |
getLatestOffsetBytes()
optional string latest_offset = 4; |
java.util.Map<String,String> |
getMetrics()
Deprecated.
|
int |
getMetricsCount()
map<string, string> metrics = 8; |
java.util.Map<String,String> |
getMetricsMap()
map<string, string> metrics = 8; |
String |
getMetricsOrDefault(String key,
String defaultValue)
map<string, string> metrics = 8; |
String |
getMetricsOrThrow(String key)
map<string, string> metrics = 8; |
java.util.Map<String,String> |
getMutableMetrics()
Deprecated.
|
long |
getNumInputRows()
int64 num_input_rows = 5; |
double |
getProcessedRowsPerSecond()
double processed_rows_per_second = 7; |
String |
getStartOffset()
optional string start_offset = 2; |
com.google.protobuf.ByteString |
getStartOffsetBytes()
optional string start_offset = 2; |
boolean |
hasDescription()
optional string description = 1; |
boolean |
hasEndOffset()
optional string end_offset = 3; |
boolean |
hasLatestOffset()
optional string latest_offset = 4; |
boolean |
hasStartOffset()
optional string start_offset = 2; |
boolean |
isInitialized() |
StoreTypes.SourceProgress.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StoreTypes.SourceProgress.Builder |
mergeFrom(com.google.protobuf.Message other) |
StoreTypes.SourceProgress.Builder |
mergeFrom(StoreTypes.SourceProgress other) |
StoreTypes.SourceProgress.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StoreTypes.SourceProgress.Builder |
putAllMetrics(java.util.Map<String,String> values)
map<string, string> metrics = 8; |
StoreTypes.SourceProgress.Builder |
putMetrics(String key,
String value)
map<string, string> metrics = 8; |
StoreTypes.SourceProgress.Builder |
removeMetrics(String key)
map<string, string> metrics = 8; |
StoreTypes.SourceProgress.Builder |
setDescription(String value)
optional string description = 1; |
StoreTypes.SourceProgress.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 1; |
StoreTypes.SourceProgress.Builder |
setEndOffset(String value)
optional string end_offset = 3; |
StoreTypes.SourceProgress.Builder |
setEndOffsetBytes(com.google.protobuf.ByteString value)
optional string end_offset = 3; |
StoreTypes.SourceProgress.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.SourceProgress.Builder |
setInputRowsPerSecond(double value)
double input_rows_per_second = 6; |
StoreTypes.SourceProgress.Builder |
setLatestOffset(String value)
optional string latest_offset = 4; |
StoreTypes.SourceProgress.Builder |
setLatestOffsetBytes(com.google.protobuf.ByteString value)
optional string latest_offset = 4; |
StoreTypes.SourceProgress.Builder |
setNumInputRows(long value)
int64 num_input_rows = 5; |
StoreTypes.SourceProgress.Builder |
setProcessedRowsPerSecond(double value)
double processed_rows_per_second = 7; |
StoreTypes.SourceProgress.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StoreTypes.SourceProgress.Builder |
setStartOffset(String value)
optional string start_offset = 2; |
StoreTypes.SourceProgress.Builder |
setStartOffsetBytes(com.google.protobuf.ByteString value)
optional string start_offset = 2; |
StoreTypes.SourceProgress.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.SourceProgress.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.SourceProgress.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.SourceProgress.Builder>
public StoreTypes.SourceProgress getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public StoreTypes.SourceProgress build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.SourceProgress buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.SourceProgress.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.SourceProgress.Builder>
public StoreTypes.SourceProgress.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.SourceProgress.Builder>
public StoreTypes.SourceProgress.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.SourceProgress.Builder>
public StoreTypes.SourceProgress.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.SourceProgress.Builder>
public StoreTypes.SourceProgress.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.SourceProgress.Builder>
public StoreTypes.SourceProgress.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.SourceProgress.Builder>
public StoreTypes.SourceProgress.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StoreTypes.SourceProgress.Builder>
public StoreTypes.SourceProgress.Builder mergeFrom(StoreTypes.SourceProgress other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SourceProgress.Builder>
public StoreTypes.SourceProgress.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.SourceProgress.Builder>
java.io.IOException
public boolean hasDescription()
optional string description = 1;
hasDescription
in interface StoreTypes.SourceProgressOrBuilder
public String getDescription()
optional string description = 1;
getDescription
in interface StoreTypes.SourceProgressOrBuilder
public com.google.protobuf.ByteString getDescriptionBytes()
optional string description = 1;
getDescriptionBytes
in interface StoreTypes.SourceProgressOrBuilder
public StoreTypes.SourceProgress.Builder setDescription(String value)
optional string description = 1;
value
- The description to set.public StoreTypes.SourceProgress.Builder clearDescription()
optional string description = 1;
public StoreTypes.SourceProgress.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 1;
value
- The bytes for description to set.public boolean hasStartOffset()
optional string start_offset = 2;
hasStartOffset
in interface StoreTypes.SourceProgressOrBuilder
public String getStartOffset()
optional string start_offset = 2;
getStartOffset
in interface StoreTypes.SourceProgressOrBuilder
public com.google.protobuf.ByteString getStartOffsetBytes()
optional string start_offset = 2;
getStartOffsetBytes
in interface StoreTypes.SourceProgressOrBuilder
public StoreTypes.SourceProgress.Builder setStartOffset(String value)
optional string start_offset = 2;
value
- The startOffset to set.public StoreTypes.SourceProgress.Builder clearStartOffset()
optional string start_offset = 2;
public StoreTypes.SourceProgress.Builder setStartOffsetBytes(com.google.protobuf.ByteString value)
optional string start_offset = 2;
value
- The bytes for startOffset to set.public boolean hasEndOffset()
optional string end_offset = 3;
hasEndOffset
in interface StoreTypes.SourceProgressOrBuilder
public String getEndOffset()
optional string end_offset = 3;
getEndOffset
in interface StoreTypes.SourceProgressOrBuilder
public com.google.protobuf.ByteString getEndOffsetBytes()
optional string end_offset = 3;
getEndOffsetBytes
in interface StoreTypes.SourceProgressOrBuilder
public StoreTypes.SourceProgress.Builder setEndOffset(String value)
optional string end_offset = 3;
value
- The endOffset to set.public StoreTypes.SourceProgress.Builder clearEndOffset()
optional string end_offset = 3;
public StoreTypes.SourceProgress.Builder setEndOffsetBytes(com.google.protobuf.ByteString value)
optional string end_offset = 3;
value
- The bytes for endOffset to set.public boolean hasLatestOffset()
optional string latest_offset = 4;
hasLatestOffset
in interface StoreTypes.SourceProgressOrBuilder
public String getLatestOffset()
optional string latest_offset = 4;
getLatestOffset
in interface StoreTypes.SourceProgressOrBuilder
public com.google.protobuf.ByteString getLatestOffsetBytes()
optional string latest_offset = 4;
getLatestOffsetBytes
in interface StoreTypes.SourceProgressOrBuilder
public StoreTypes.SourceProgress.Builder setLatestOffset(String value)
optional string latest_offset = 4;
value
- The latestOffset to set.public StoreTypes.SourceProgress.Builder clearLatestOffset()
optional string latest_offset = 4;
public StoreTypes.SourceProgress.Builder setLatestOffsetBytes(com.google.protobuf.ByteString value)
optional string latest_offset = 4;
value
- The bytes for latestOffset to set.public long getNumInputRows()
int64 num_input_rows = 5;
getNumInputRows
in interface StoreTypes.SourceProgressOrBuilder
public StoreTypes.SourceProgress.Builder setNumInputRows(long value)
int64 num_input_rows = 5;
value
- The numInputRows to set.public StoreTypes.SourceProgress.Builder clearNumInputRows()
int64 num_input_rows = 5;
public double getInputRowsPerSecond()
double input_rows_per_second = 6;
getInputRowsPerSecond
in interface StoreTypes.SourceProgressOrBuilder
public StoreTypes.SourceProgress.Builder setInputRowsPerSecond(double value)
double input_rows_per_second = 6;
value
- The inputRowsPerSecond to set.public StoreTypes.SourceProgress.Builder clearInputRowsPerSecond()
double input_rows_per_second = 6;
public double getProcessedRowsPerSecond()
double processed_rows_per_second = 7;
getProcessedRowsPerSecond
in interface StoreTypes.SourceProgressOrBuilder
public StoreTypes.SourceProgress.Builder setProcessedRowsPerSecond(double value)
double processed_rows_per_second = 7;
value
- The processedRowsPerSecond to set.public StoreTypes.SourceProgress.Builder clearProcessedRowsPerSecond()
double processed_rows_per_second = 7;
public int getMetricsCount()
StoreTypes.SourceProgressOrBuilder
map<string, string> metrics = 8;
getMetricsCount
in interface StoreTypes.SourceProgressOrBuilder
public boolean containsMetrics(String key)
map<string, string> metrics = 8;
containsMetrics
in interface StoreTypes.SourceProgressOrBuilder
@Deprecated public java.util.Map<String,String> getMetrics()
getMetricsMap()
instead.getMetrics
in interface StoreTypes.SourceProgressOrBuilder
public java.util.Map<String,String> getMetricsMap()
map<string, string> metrics = 8;
getMetricsMap
in interface StoreTypes.SourceProgressOrBuilder
public String getMetricsOrDefault(String key, String defaultValue)
map<string, string> metrics = 8;
getMetricsOrDefault
in interface StoreTypes.SourceProgressOrBuilder
public String getMetricsOrThrow(String key)
map<string, string> metrics = 8;
getMetricsOrThrow
in interface StoreTypes.SourceProgressOrBuilder
public StoreTypes.SourceProgress.Builder clearMetrics()
public StoreTypes.SourceProgress.Builder removeMetrics(String key)
map<string, string> metrics = 8;
@Deprecated public java.util.Map<String,String> getMutableMetrics()
public StoreTypes.SourceProgress.Builder putMetrics(String key, String value)
map<string, string> metrics = 8;
public StoreTypes.SourceProgress.Builder putAllMetrics(java.util.Map<String,String> values)
map<string, string> metrics = 8;
public final StoreTypes.SourceProgress.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SourceProgress.Builder>
public final StoreTypes.SourceProgress.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.SourceProgress.Builder>