Class ClusterMetricsMessages.NodeMetrics.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
- akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder
-
- All Implemented Interfaces:
ClusterMetricsMessages.NodeMetricsOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ClusterMetricsMessages.NodeMetrics
public static final class ClusterMetricsMessages.NodeMetrics.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder> implements ClusterMetricsMessages.NodeMetricsOrBuilder
Node Metrics
Protobuf typeNodeMetrics
-
-
Method Summary
-
Methods inherited from class akka.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 akka.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class akka.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 akka.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
clear
public ClusterMetricsMessages.NodeMetrics.Builder clear()
- Specified by:
clear
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
getDescriptorForType
public akka.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
getDefaultInstanceForType
public ClusterMetricsMessages.NodeMetrics getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public ClusterMetricsMessages.NodeMetrics build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ClusterMetricsMessages.NodeMetrics buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public ClusterMetricsMessages.NodeMetrics.Builder clone()
- Specified by:
clone
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
setField
public ClusterMetricsMessages.NodeMetrics.Builder setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
clearField
public ClusterMetricsMessages.NodeMetrics.Builder clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
clearOneof
public ClusterMetricsMessages.NodeMetrics.Builder clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
setRepeatedField
public ClusterMetricsMessages.NodeMetrics.Builder setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
addRepeatedField
public ClusterMetricsMessages.NodeMetrics.Builder addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
mergeFrom
public ClusterMetricsMessages.NodeMetrics.Builder mergeFrom(akka.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classakka.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 interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
mergeFrom
public ClusterMetricsMessages.NodeMetrics.Builder mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classakka.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(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
mergeUnknownFields
public final ClusterMetricsMessages.NodeMetrics.Builder mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.NodeMetrics.Builder>
-
-