Class ClusterMetricsMessages.NodeMetrics.Builder
- java.lang.Object
-
- org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
-
- org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
- org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder
-
- All Implemented Interfaces:
java.lang.Cloneable
,ClusterMetricsMessages.NodeMetricsOrBuilder
,org.apache.pekko.protobufv3.internal.Message.Builder
,org.apache.pekko.protobufv3.internal.MessageLite.Builder
,org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
,org.apache.pekko.protobufv3.internal.MessageOrBuilder
- Enclosing class:
- ClusterMetricsMessages.NodeMetrics
public static final class ClusterMetricsMessages.NodeMetrics.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder> implements ClusterMetricsMessages.NodeMetricsOrBuilder
Node Metrics
Protobuf typeNodeMetrics
-
-
Method Summary
-
Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
clear
public ClusterMetricsMessages.NodeMetrics.Builder clear()
- Specified by:
clear
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
getDescriptorForType
public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
getDefaultInstanceForType
public ClusterMetricsMessages.NodeMetrics getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public ClusterMetricsMessages.NodeMetrics build()
- Specified by:
build
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ClusterMetricsMessages.NodeMetrics buildPartial()
- Specified by:
buildPartial
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
clone
public ClusterMetricsMessages.NodeMetrics.Builder clone()
- Specified by:
clone
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
setField
public ClusterMetricsMessages.NodeMetrics.Builder setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
clearField
public ClusterMetricsMessages.NodeMetrics.Builder clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
clearOneof
public ClusterMetricsMessages.NodeMetrics.Builder clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
setRepeatedField
public ClusterMetricsMessages.NodeMetrics.Builder setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
addRepeatedField
public ClusterMetricsMessages.NodeMetrics.Builder addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
mergeFrom
public ClusterMetricsMessages.NodeMetrics.Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
mergeFrom
public ClusterMetricsMessages.NodeMetrics.Builder mergeFrom(ClusterMetricsMessages.NodeMetrics other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
mergeFrom
public ClusterMetricsMessages.NodeMetrics.Builder mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
- Throws:
java.io.IOException
-
hasAddressIndex
public boolean hasAddressIndex()
required int32 addressIndex = 1;
- Specified by:
hasAddressIndex
in interfaceClusterMetricsMessages.NodeMetricsOrBuilder
- Returns:
- Whether the addressIndex field is set.
-
getAddressIndex
public int getAddressIndex()
required int32 addressIndex = 1;
- Specified by:
getAddressIndex
in interfaceClusterMetricsMessages.NodeMetricsOrBuilder
- Returns:
- The addressIndex.
-
setAddressIndex
public ClusterMetricsMessages.NodeMetrics.Builder setAddressIndex(int value)
required int32 addressIndex = 1;
- Parameters:
value
- The addressIndex to set.- Returns:
- This builder for chaining.
-
clearAddressIndex
public ClusterMetricsMessages.NodeMetrics.Builder clearAddressIndex()
required int32 addressIndex = 1;
- Returns:
- This builder for chaining.
-
hasTimestamp
public boolean hasTimestamp()
required int64 timestamp = 2;
- Specified by:
hasTimestamp
in interfaceClusterMetricsMessages.NodeMetricsOrBuilder
- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public long getTimestamp()
required int64 timestamp = 2;
- Specified by:
getTimestamp
in interfaceClusterMetricsMessages.NodeMetricsOrBuilder
- Returns:
- The timestamp.
-
setTimestamp
public ClusterMetricsMessages.NodeMetrics.Builder setTimestamp(long value)
required int64 timestamp = 2;
- Parameters:
value
- The timestamp to set.- Returns:
- This builder for chaining.
-
clearTimestamp
public ClusterMetricsMessages.NodeMetrics.Builder clearTimestamp()
required int64 timestamp = 2;
- Returns:
- This builder for chaining.
-
getMetricsList
public java.util.List<ClusterMetricsMessages.NodeMetrics.Metric> getMetricsList()
repeated .NodeMetrics.Metric metrics = 3;
- Specified by:
getMetricsList
in interfaceClusterMetricsMessages.NodeMetricsOrBuilder
-
getMetricsCount
public int getMetricsCount()
repeated .NodeMetrics.Metric metrics = 3;
- Specified by:
getMetricsCount
in interfaceClusterMetricsMessages.NodeMetricsOrBuilder
-
getMetrics
public ClusterMetricsMessages.NodeMetrics.Metric getMetrics(int index)
repeated .NodeMetrics.Metric metrics = 3;
- Specified by:
getMetrics
in interfaceClusterMetricsMessages.NodeMetricsOrBuilder
-
setMetrics
public ClusterMetricsMessages.NodeMetrics.Builder setMetrics(int index, ClusterMetricsMessages.NodeMetrics.Metric value)
repeated .NodeMetrics.Metric metrics = 3;
-
setMetrics
public ClusterMetricsMessages.NodeMetrics.Builder setMetrics(int index, ClusterMetricsMessages.NodeMetrics.Metric.Builder builderForValue)
repeated .NodeMetrics.Metric metrics = 3;
-
addMetrics
public ClusterMetricsMessages.NodeMetrics.Builder addMetrics(ClusterMetricsMessages.NodeMetrics.Metric value)
repeated .NodeMetrics.Metric metrics = 3;
-
addMetrics
public ClusterMetricsMessages.NodeMetrics.Builder addMetrics(int index, ClusterMetricsMessages.NodeMetrics.Metric value)
repeated .NodeMetrics.Metric metrics = 3;
-
addMetrics
public ClusterMetricsMessages.NodeMetrics.Builder addMetrics(ClusterMetricsMessages.NodeMetrics.Metric.Builder builderForValue)
repeated .NodeMetrics.Metric metrics = 3;
-
addMetrics
public ClusterMetricsMessages.NodeMetrics.Builder addMetrics(int index, ClusterMetricsMessages.NodeMetrics.Metric.Builder builderForValue)
repeated .NodeMetrics.Metric metrics = 3;
-
addAllMetrics
public ClusterMetricsMessages.NodeMetrics.Builder addAllMetrics(java.lang.Iterable<? extends ClusterMetricsMessages.NodeMetrics.Metric> values)
repeated .NodeMetrics.Metric metrics = 3;
-
clearMetrics
public ClusterMetricsMessages.NodeMetrics.Builder clearMetrics()
repeated .NodeMetrics.Metric metrics = 3;
-
removeMetrics
public ClusterMetricsMessages.NodeMetrics.Builder removeMetrics(int index)
repeated .NodeMetrics.Metric metrics = 3;
-
getMetricsBuilder
public ClusterMetricsMessages.NodeMetrics.Metric.Builder getMetricsBuilder(int index)
repeated .NodeMetrics.Metric metrics = 3;
-
getMetricsOrBuilder
public ClusterMetricsMessages.NodeMetrics.MetricOrBuilder getMetricsOrBuilder(int index)
repeated .NodeMetrics.Metric metrics = 3;
- Specified by:
getMetricsOrBuilder
in interfaceClusterMetricsMessages.NodeMetricsOrBuilder
-
getMetricsOrBuilderList
public java.util.List<? extends ClusterMetricsMessages.NodeMetrics.MetricOrBuilder> getMetricsOrBuilderList()
repeated .NodeMetrics.Metric metrics = 3;
- Specified by:
getMetricsOrBuilderList
in interfaceClusterMetricsMessages.NodeMetricsOrBuilder
-
addMetricsBuilder
public ClusterMetricsMessages.NodeMetrics.Metric.Builder addMetricsBuilder()
repeated .NodeMetrics.Metric metrics = 3;
-
addMetricsBuilder
public ClusterMetricsMessages.NodeMetrics.Metric.Builder addMetricsBuilder(int index)
repeated .NodeMetrics.Metric metrics = 3;
-
getMetricsBuilderList
public java.util.List<ClusterMetricsMessages.NodeMetrics.Metric.Builder> getMetricsBuilderList()
repeated .NodeMetrics.Metric metrics = 3;
-
setUnknownFields
public final ClusterMetricsMessages.NodeMetrics.Builder setUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
mergeUnknownFields
public final ClusterMetricsMessages.NodeMetrics.Builder mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
-