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 = 3; |
ClientMetrics.Builder |
addMetrics(int index,
Metric.Builder builderForValue)
repeated .alluxio.grpc.Metric metrics = 3; |
ClientMetrics.Builder |
addMetrics(int index,
Metric value)
repeated .alluxio.grpc.Metric metrics = 3; |
ClientMetrics.Builder |
addMetrics(Metric.Builder builderForValue)
repeated .alluxio.grpc.Metric metrics = 3; |
ClientMetrics.Builder |
addMetrics(Metric value)
repeated .alluxio.grpc.Metric metrics = 3; |
Metric.Builder |
addMetricsBuilder()
repeated .alluxio.grpc.Metric metrics = 3; |
Metric.Builder |
addMetricsBuilder(int index)
repeated .alluxio.grpc.Metric metrics = 3; |
ClientMetrics.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ClientMetrics |
build() |
ClientMetrics |
buildPartial() |
ClientMetrics.Builder |
clear() |
ClientMetrics.Builder |
clearClientId()
optional string clientId = 1; |
ClientMetrics.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ClientMetrics.Builder |
clearHostname()
optional string hostname = 2; |
ClientMetrics.Builder |
clearMetrics()
repeated .alluxio.grpc.Metric metrics = 3; |
ClientMetrics.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ClientMetrics.Builder |
clone() |
String |
getClientId()
optional string clientId = 1; |
com.google.protobuf.ByteString |
getClientIdBytes()
optional string clientId = 1; |
ClientMetrics |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHostname()
optional string hostname = 2; |
com.google.protobuf.ByteString |
getHostnameBytes()
optional string hostname = 2; |
Metric |
getMetrics(int index)
repeated .alluxio.grpc.Metric metrics = 3; |
Metric.Builder |
getMetricsBuilder(int index)
repeated .alluxio.grpc.Metric metrics = 3; |
List<Metric.Builder> |
getMetricsBuilderList()
repeated .alluxio.grpc.Metric metrics = 3; |
int |
getMetricsCount()
repeated .alluxio.grpc.Metric metrics = 3; |
List<Metric> |
getMetricsList()
repeated .alluxio.grpc.Metric metrics = 3; |
MetricOrBuilder |
getMetricsOrBuilder(int index)
repeated .alluxio.grpc.Metric metrics = 3; |
List<? extends MetricOrBuilder> |
getMetricsOrBuilderList()
repeated .alluxio.grpc.Metric metrics = 3; |
boolean |
hasClientId()
optional string clientId = 1; |
boolean |
hasHostname()
optional string hostname = 2; |
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 = 3; |
ClientMetrics.Builder |
setClientId(String value)
optional string clientId = 1; |
ClientMetrics.Builder |
setClientIdBytes(com.google.protobuf.ByteString value)
optional string clientId = 1; |
ClientMetrics.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ClientMetrics.Builder |
setHostname(String value)
optional string hostname = 2; |
ClientMetrics.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
optional string hostname = 2; |
ClientMetrics.Builder |
setMetrics(int index,
Metric.Builder builderForValue)
repeated .alluxio.grpc.Metric metrics = 3; |
ClientMetrics.Builder |
setMetrics(int index,
Metric value)
repeated .alluxio.grpc.Metric metrics = 3; |
ClientMetrics.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ClientMetrics.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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 hasClientId()
optional string clientId = 1;
hasClientId
in interface ClientMetricsOrBuilder
public String getClientId()
optional string clientId = 1;
getClientId
in interface ClientMetricsOrBuilder
public com.google.protobuf.ByteString getClientIdBytes()
optional string clientId = 1;
getClientIdBytes
in interface ClientMetricsOrBuilder
public ClientMetrics.Builder setClientId(String value)
optional string clientId = 1;
public ClientMetrics.Builder clearClientId()
optional string clientId = 1;
public ClientMetrics.Builder setClientIdBytes(com.google.protobuf.ByteString value)
optional string clientId = 1;
public boolean hasHostname()
optional string hostname = 2;
hasHostname
in interface ClientMetricsOrBuilder
public String getHostname()
optional string hostname = 2;
getHostname
in interface ClientMetricsOrBuilder
public com.google.protobuf.ByteString getHostnameBytes()
optional string hostname = 2;
getHostnameBytes
in interface ClientMetricsOrBuilder
public ClientMetrics.Builder setHostname(String value)
optional string hostname = 2;
public ClientMetrics.Builder clearHostname()
optional string hostname = 2;
public ClientMetrics.Builder setHostnameBytes(com.google.protobuf.ByteString value)
optional string hostname = 2;
public List<Metric> getMetricsList()
repeated .alluxio.grpc.Metric metrics = 3;
getMetricsList
in interface ClientMetricsOrBuilder
public int getMetricsCount()
repeated .alluxio.grpc.Metric metrics = 3;
getMetricsCount
in interface ClientMetricsOrBuilder
public Metric getMetrics(int index)
repeated .alluxio.grpc.Metric metrics = 3;
getMetrics
in interface ClientMetricsOrBuilder
public ClientMetrics.Builder setMetrics(int index, Metric value)
repeated .alluxio.grpc.Metric metrics = 3;
public ClientMetrics.Builder setMetrics(int index, Metric.Builder builderForValue)
repeated .alluxio.grpc.Metric metrics = 3;
public ClientMetrics.Builder addMetrics(Metric value)
repeated .alluxio.grpc.Metric metrics = 3;
public ClientMetrics.Builder addMetrics(int index, Metric value)
repeated .alluxio.grpc.Metric metrics = 3;
public ClientMetrics.Builder addMetrics(Metric.Builder builderForValue)
repeated .alluxio.grpc.Metric metrics = 3;
public ClientMetrics.Builder addMetrics(int index, Metric.Builder builderForValue)
repeated .alluxio.grpc.Metric metrics = 3;
public ClientMetrics.Builder addAllMetrics(Iterable<? extends Metric> values)
repeated .alluxio.grpc.Metric metrics = 3;
public ClientMetrics.Builder clearMetrics()
repeated .alluxio.grpc.Metric metrics = 3;
public ClientMetrics.Builder removeMetrics(int index)
repeated .alluxio.grpc.Metric metrics = 3;
public Metric.Builder getMetricsBuilder(int index)
repeated .alluxio.grpc.Metric metrics = 3;
public MetricOrBuilder getMetricsOrBuilder(int index)
repeated .alluxio.grpc.Metric metrics = 3;
getMetricsOrBuilder
in interface ClientMetricsOrBuilder
public List<? extends MetricOrBuilder> getMetricsOrBuilderList()
repeated .alluxio.grpc.Metric metrics = 3;
getMetricsOrBuilderList
in interface ClientMetricsOrBuilder
public Metric.Builder addMetricsBuilder()
repeated .alluxio.grpc.Metric metrics = 3;
public Metric.Builder addMetricsBuilder(int index)
repeated .alluxio.grpc.Metric metrics = 3;
public List<Metric.Builder> getMetricsBuilderList()
repeated .alluxio.grpc.Metric metrics = 3;
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.