public static final class ClientMetrics.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ClientMetrics.Builder> implements ClientMetricsOrBuilder
alluxio.grpc.metric.ClientMetrics
Modifier and Type | Method and Description |
---|---|
ClientMetrics.Builder |
addAllMetrics(Iterable<? extends Metric> values)
repeated .alluxio.grpc.Metric metrics = 2; |
ClientMetrics.Builder |
addMetrics(int index,
Metric.Builder builderForValue)
repeated .alluxio.grpc.Metric metrics = 2; |
ClientMetrics.Builder |
addMetrics(int index,
Metric value)
repeated .alluxio.grpc.Metric metrics = 2; |
ClientMetrics.Builder |
addMetrics(Metric.Builder builderForValue)
repeated .alluxio.grpc.Metric metrics = 2; |
ClientMetrics.Builder |
addMetrics(Metric value)
repeated .alluxio.grpc.Metric metrics = 2; |
Metric.Builder |
addMetricsBuilder()
repeated .alluxio.grpc.Metric metrics = 2; |
Metric.Builder |
addMetricsBuilder(int index)
repeated .alluxio.grpc.Metric metrics = 2; |
ClientMetrics.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ClientMetrics |
build() |
ClientMetrics |
buildPartial() |
ClientMetrics.Builder |
clear() |
ClientMetrics.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ClientMetrics.Builder |
clearMetrics()
repeated .alluxio.grpc.Metric metrics = 2; |
ClientMetrics.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ClientMetrics.Builder |
clearSource()
optional string source = 1; |
ClientMetrics.Builder |
clone() |
ClientMetrics |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Metric |
getMetrics(int index)
repeated .alluxio.grpc.Metric metrics = 2; |
Metric.Builder |
getMetricsBuilder(int index)
repeated .alluxio.grpc.Metric metrics = 2; |
List<Metric.Builder> |
getMetricsBuilderList()
repeated .alluxio.grpc.Metric metrics = 2; |
int |
getMetricsCount()
repeated .alluxio.grpc.Metric metrics = 2; |
List<Metric> |
getMetricsList()
repeated .alluxio.grpc.Metric metrics = 2; |
MetricOrBuilder |
getMetricsOrBuilder(int index)
repeated .alluxio.grpc.Metric metrics = 2; |
List<? extends MetricOrBuilder> |
getMetricsOrBuilderList()
repeated .alluxio.grpc.Metric metrics = 2; |
String |
getSource()
optional string source = 1; |
com.google.protobuf.ByteString |
getSourceBytes()
optional string source = 1; |
boolean |
hasSource()
optional string source = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ClientMetrics.Builder |
mergeFrom(ClientMetrics other) |
ClientMetrics.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientMetrics.Builder |
mergeFrom(com.google.protobuf.Message other) |
ClientMetrics.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ClientMetrics.Builder |
removeMetrics(int index)
repeated .alluxio.grpc.Metric metrics = 2; |
ClientMetrics.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ClientMetrics.Builder |
setMetrics(int index,
Metric.Builder builderForValue)
repeated .alluxio.grpc.Metric metrics = 2; |
ClientMetrics.Builder |
setMetrics(int index,
Metric value)
repeated .alluxio.grpc.Metric metrics = 2; |
ClientMetrics.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ClientMetrics.Builder |
setSource(String value)
optional string source = 1; |
ClientMetrics.Builder |
setSourceBytes(com.google.protobuf.ByteString value)
optional string source = 1; |
ClientMetrics.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ClientMetrics.Builder>
public ClientMetrics.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<ClientMetrics.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<ClientMetrics.Builder>
public ClientMetrics getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ClientMetrics build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ClientMetrics buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ClientMetrics.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<ClientMetrics.Builder>
public ClientMetrics.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<ClientMetrics.Builder>
public ClientMetrics.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ClientMetrics.Builder>
public ClientMetrics.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ClientMetrics.Builder>
public ClientMetrics.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<ClientMetrics.Builder>
public ClientMetrics.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<ClientMetrics.Builder>
public ClientMetrics.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ClientMetrics.Builder>
public ClientMetrics.Builder mergeFrom(ClientMetrics other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ClientMetrics.Builder>
public ClientMetrics.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<ClientMetrics.Builder>
IOException
public boolean hasSource()
optional string source = 1;
hasSource
in interface ClientMetricsOrBuilder
public String getSource()
optional string source = 1;
getSource
in interface ClientMetricsOrBuilder
public com.google.protobuf.ByteString getSourceBytes()
optional string source = 1;
getSourceBytes
in interface ClientMetricsOrBuilder
public ClientMetrics.Builder setSource(String value)
optional string source = 1;
value
- The source to set.public ClientMetrics.Builder clearSource()
optional string source = 1;
public ClientMetrics.Builder setSourceBytes(com.google.protobuf.ByteString value)
optional string source = 1;
value
- The bytes for source to set.public List<Metric> getMetricsList()
repeated .alluxio.grpc.Metric metrics = 2;
getMetricsList
in interface ClientMetricsOrBuilder
public int getMetricsCount()
repeated .alluxio.grpc.Metric metrics = 2;
getMetricsCount
in interface ClientMetricsOrBuilder
public Metric getMetrics(int index)
repeated .alluxio.grpc.Metric metrics = 2;
getMetrics
in interface ClientMetricsOrBuilder
public ClientMetrics.Builder setMetrics(int index, Metric value)
repeated .alluxio.grpc.Metric metrics = 2;
public ClientMetrics.Builder setMetrics(int index, Metric.Builder builderForValue)
repeated .alluxio.grpc.Metric metrics = 2;
public ClientMetrics.Builder addMetrics(Metric value)
repeated .alluxio.grpc.Metric metrics = 2;
public ClientMetrics.Builder addMetrics(int index, Metric value)
repeated .alluxio.grpc.Metric metrics = 2;
public ClientMetrics.Builder addMetrics(Metric.Builder builderForValue)
repeated .alluxio.grpc.Metric metrics = 2;
public ClientMetrics.Builder addMetrics(int index, Metric.Builder builderForValue)
repeated .alluxio.grpc.Metric metrics = 2;
public ClientMetrics.Builder addAllMetrics(Iterable<? extends Metric> values)
repeated .alluxio.grpc.Metric metrics = 2;
public ClientMetrics.Builder clearMetrics()
repeated .alluxio.grpc.Metric metrics = 2;
public ClientMetrics.Builder removeMetrics(int index)
repeated .alluxio.grpc.Metric metrics = 2;
public Metric.Builder getMetricsBuilder(int index)
repeated .alluxio.grpc.Metric metrics = 2;
public MetricOrBuilder getMetricsOrBuilder(int index)
repeated .alluxio.grpc.Metric metrics = 2;
getMetricsOrBuilder
in interface ClientMetricsOrBuilder
public List<? extends MetricOrBuilder> getMetricsOrBuilderList()
repeated .alluxio.grpc.Metric metrics = 2;
getMetricsOrBuilderList
in interface ClientMetricsOrBuilder
public Metric.Builder addMetricsBuilder()
repeated .alluxio.grpc.Metric metrics = 2;
public Metric.Builder addMetricsBuilder(int index)
repeated .alluxio.grpc.Metric metrics = 2;
public List<Metric.Builder> getMetricsBuilderList()
repeated .alluxio.grpc.Metric metrics = 2;
public final ClientMetrics.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ClientMetrics.Builder>
public final ClientMetrics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ClientMetrics.Builder>
Copyright © 2023. All Rights Reserved.