Class ClusterMetricsMessages.MetricsGossip.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.MetricsGossip.Builder>
-
- akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.Builder
-
- All Implemented Interfaces:
ClusterMetricsMessages.MetricsGossipOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ClusterMetricsMessages.MetricsGossip
public static final class ClusterMetricsMessages.MetricsGossip.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.MetricsGossip.Builder> implements ClusterMetricsMessages.MetricsGossipOrBuilder
Metrics Gossip
Protobuf typeMetricsGossip
-
-
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.MetricsGossip.Builder>
-
clear
public ClusterMetricsMessages.MetricsGossip.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.MetricsGossip.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.MetricsGossip.Builder>
-
getDefaultInstanceForType
public ClusterMetricsMessages.MetricsGossip getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public ClusterMetricsMessages.MetricsGossip build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ClusterMetricsMessages.MetricsGossip buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public ClusterMetricsMessages.MetricsGossip.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.MetricsGossip.Builder>
-
setField
public ClusterMetricsMessages.MetricsGossip.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.MetricsGossip.Builder>
-
clearField
public ClusterMetricsMessages.MetricsGossip.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.MetricsGossip.Builder>
-
clearOneof
public ClusterMetricsMessages.MetricsGossip.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.MetricsGossip.Builder>
-
setRepeatedField
public ClusterMetricsMessages.MetricsGossip.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.MetricsGossip.Builder>
-
addRepeatedField
public ClusterMetricsMessages.MetricsGossip.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.MetricsGossip.Builder>
-
mergeFrom
public ClusterMetricsMessages.MetricsGossip.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.MetricsGossip.Builder>
-
mergeFrom
public ClusterMetricsMessages.MetricsGossip.Builder mergeFrom(ClusterMetricsMessages.MetricsGossip other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMetricsMessages.MetricsGossip.Builder>
-
mergeFrom
public ClusterMetricsMessages.MetricsGossip.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.MetricsGossip.Builder>
- Throws:
java.io.IOException
-
getAllAddressesList
public java.util.List<ClusterMetricsMessages.Address> getAllAddressesList()
repeated .Address allAddresses = 1;
- Specified by:
getAllAddressesList
in interfaceClusterMetricsMessages.MetricsGossipOrBuilder
-
getAllAddressesCount
public int getAllAddressesCount()
repeated .Address allAddresses = 1;
- Specified by:
getAllAddressesCount
in interfaceClusterMetricsMessages.MetricsGossipOrBuilder
-
getAllAddresses
public ClusterMetricsMessages.Address getAllAddresses(int index)
repeated .Address allAddresses = 1;
- Specified by:
getAllAddresses
in interfaceClusterMetricsMessages.MetricsGossipOrBuilder
-
setAllAddresses
public ClusterMetricsMessages.MetricsGossip.Builder setAllAddresses(int index, ClusterMetricsMessages.Address value)
repeated .Address allAddresses = 1;
-
setAllAddresses
public ClusterMetricsMessages.MetricsGossip.Builder setAllAddresses(int index, ClusterMetricsMessages.Address.Builder builderForValue)
repeated .Address allAddresses = 1;
-
addAllAddresses
public ClusterMetricsMessages.MetricsGossip.Builder addAllAddresses(ClusterMetricsMessages.Address value)
repeated .Address allAddresses = 1;
-
addAllAddresses
public ClusterMetricsMessages.MetricsGossip.Builder addAllAddresses(int index, ClusterMetricsMessages.Address value)
repeated .Address allAddresses = 1;
-
addAllAddresses
public ClusterMetricsMessages.MetricsGossip.Builder addAllAddresses(ClusterMetricsMessages.Address.Builder builderForValue)
repeated .Address allAddresses = 1;
-
addAllAddresses
public ClusterMetricsMessages.MetricsGossip.Builder addAllAddresses(int index, ClusterMetricsMessages.Address.Builder builderForValue)
repeated .Address allAddresses = 1;
-
addAllAllAddresses
public ClusterMetricsMessages.MetricsGossip.Builder addAllAllAddresses(java.lang.Iterable<? extends ClusterMetricsMessages.Address> values)
repeated .Address allAddresses = 1;
-
clearAllAddresses
public ClusterMetricsMessages.MetricsGossip.Builder clearAllAddresses()
repeated .Address allAddresses = 1;
-
removeAllAddresses
public ClusterMetricsMessages.MetricsGossip.Builder removeAllAddresses(int index)
repeated .Address allAddresses = 1;
-
getAllAddressesBuilder
public ClusterMetricsMessages.Address.Builder getAllAddressesBuilder(int index)
repeated .Address allAddresses = 1;
-
getAllAddressesOrBuilder
public ClusterMetricsMessages.AddressOrBuilder getAllAddressesOrBuilder(int index)
repeated .Address allAddresses = 1;
- Specified by:
getAllAddressesOrBuilder
in interfaceClusterMetricsMessages.MetricsGossipOrBuilder
-
getAllAddressesOrBuilderList
public java.util.List<? extends ClusterMetricsMessages.AddressOrBuilder> getAllAddressesOrBuilderList()
repeated .Address allAddresses = 1;
- Specified by:
getAllAddressesOrBuilderList
in interfaceClusterMetricsMessages.MetricsGossipOrBuilder
-
addAllAddressesBuilder
public ClusterMetricsMessages.Address.Builder addAllAddressesBuilder()
repeated .Address allAddresses = 1;
-
addAllAddressesBuilder
public ClusterMetricsMessages.Address.Builder addAllAddressesBuilder(int index)
repeated .Address allAddresses = 1;
-
getAllAddressesBuilderList
public java.util.List<ClusterMetricsMessages.Address.Builder> getAllAddressesBuilderList()
repeated .Address allAddresses = 1;
-
getAllMetricNamesList
public akka.protobufv3.internal.ProtocolStringList getAllMetricNamesList()
repeated string allMetricNames = 2;
- Specified by:
getAllMetricNamesList
in interfaceClusterMetricsMessages.MetricsGossipOrBuilder
- Returns:
- A list containing the allMetricNames.
-
getAllMetricNamesCount
public int getAllMetricNamesCount()
repeated string allMetricNames = 2;
- Specified by:
getAllMetricNamesCount
in interfaceClusterMetricsMessages.MetricsGossipOrBuilder
- Returns:
- The count of allMetricNames.
-
getAllMetricNames
public java.lang.String getAllMetricNames(int index)
repeated string allMetricNames = 2;
- Specified by:
getAllMetricNames
in interfaceClusterMetricsMessages.MetricsGossipOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The allMetricNames at the given index.
-
getAllMetricNamesBytes
public akka.protobufv3.internal.ByteString getAllMetricNamesBytes(int index)
repeated string allMetricNames = 2;
- Specified by:
getAllMetricNamesBytes
in interfaceClusterMetricsMessages.MetricsGossipOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the allMetricNames at the given index.
-
setAllMetricNames
public ClusterMetricsMessages.MetricsGossip.Builder setAllMetricNames(int index, java.lang.String value)
repeated string allMetricNames = 2;
- Parameters:
index
- The index to set the value at.value
- The allMetricNames to set.- Returns:
- This builder for chaining.
-
addAllMetricNames
public ClusterMetricsMessages.MetricsGossip.Builder addAllMetricNames(java.lang.String value)
repeated string allMetricNames = 2;
- Parameters:
value
- The allMetricNames to add.- Returns:
- This builder for chaining.
-
addAllAllMetricNames
public ClusterMetricsMessages.MetricsGossip.Builder addAllAllMetricNames(java.lang.Iterable<java.lang.String> values)
repeated string allMetricNames = 2;
- Parameters:
values
- The allMetricNames to add.- Returns:
- This builder for chaining.
-
clearAllMetricNames
public ClusterMetricsMessages.MetricsGossip.Builder clearAllMetricNames()
repeated string allMetricNames = 2;
- Returns:
- This builder for chaining.
-
addAllMetricNamesBytes
public ClusterMetricsMessages.MetricsGossip.Builder addAllMetricNamesBytes(akka.protobufv3.internal.ByteString value)
repeated string allMetricNames = 2;
- Parameters:
value
- The bytes of the allMetricNames to add.- Returns:
- This builder for chaining.
-
getNodeMetricsList
public java.util.List<ClusterMetricsMessages.NodeMetrics> getNodeMetricsList()
repeated .NodeMetrics nodeMetrics = 3;
- Specified by:
getNodeMetricsList
in interfaceClusterMetricsMessages.MetricsGossipOrBuilder
-
getNodeMetricsCount
public int getNodeMetricsCount()
repeated .NodeMetrics nodeMetrics = 3;
- Specified by:
getNodeMetricsCount
in interfaceClusterMetricsMessages.MetricsGossipOrBuilder
-
getNodeMetrics
public ClusterMetricsMessages.NodeMetrics getNodeMetrics(int index)
repeated .NodeMetrics nodeMetrics = 3;
- Specified by:
getNodeMetrics
in interfaceClusterMetricsMessages.MetricsGossipOrBuilder
-
setNodeMetrics
public ClusterMetricsMessages.MetricsGossip.Builder setNodeMetrics(int index, ClusterMetricsMessages.NodeMetrics value)
repeated .NodeMetrics nodeMetrics = 3;
-
setNodeMetrics
public ClusterMetricsMessages.MetricsGossip.Builder setNodeMetrics(int index, ClusterMetricsMessages.NodeMetrics.Builder builderForValue)
repeated .NodeMetrics nodeMetrics = 3;
-
addNodeMetrics
public ClusterMetricsMessages.MetricsGossip.Builder addNodeMetrics(ClusterMetricsMessages.NodeMetrics value)
repeated .NodeMetrics nodeMetrics = 3;
-
addNodeMetrics
public ClusterMetricsMessages.MetricsGossip.Builder addNodeMetrics(int index, ClusterMetricsMessages.NodeMetrics value)
repeated .NodeMetrics nodeMetrics = 3;
-
addNodeMetrics
public ClusterMetricsMessages.MetricsGossip.Builder addNodeMetrics(ClusterMetricsMessages.NodeMetrics.Builder builderForValue)
repeated .NodeMetrics nodeMetrics = 3;
-
addNodeMetrics
public ClusterMetricsMessages.MetricsGossip.Builder addNodeMetrics(int index, ClusterMetricsMessages.NodeMetrics.Builder builderForValue)
repeated .NodeMetrics nodeMetrics = 3;
-
addAllNodeMetrics
public ClusterMetricsMessages.MetricsGossip.Builder addAllNodeMetrics(java.lang.Iterable<? extends ClusterMetricsMessages.NodeMetrics> values)
repeated .NodeMetrics nodeMetrics = 3;
-
clearNodeMetrics
public ClusterMetricsMessages.MetricsGossip.Builder clearNodeMetrics()
repeated .NodeMetrics nodeMetrics = 3;
-
removeNodeMetrics
public ClusterMetricsMessages.MetricsGossip.Builder removeNodeMetrics(int index)
repeated .NodeMetrics nodeMetrics = 3;
-
getNodeMetricsBuilder
public ClusterMetricsMessages.NodeMetrics.Builder getNodeMetricsBuilder(int index)
repeated .NodeMetrics nodeMetrics = 3;
-
getNodeMetricsOrBuilder
public ClusterMetricsMessages.NodeMetricsOrBuilder getNodeMetricsOrBuilder(int index)
repeated .NodeMetrics nodeMetrics = 3;
- Specified by:
getNodeMetricsOrBuilder
in interfaceClusterMetricsMessages.MetricsGossipOrBuilder
-
getNodeMetricsOrBuilderList
public java.util.List<? extends ClusterMetricsMessages.NodeMetricsOrBuilder> getNodeMetricsOrBuilderList()
repeated .NodeMetrics nodeMetrics = 3;
- Specified by:
getNodeMetricsOrBuilderList
in interfaceClusterMetricsMessages.MetricsGossipOrBuilder
-
addNodeMetricsBuilder
public ClusterMetricsMessages.NodeMetrics.Builder addNodeMetricsBuilder()
repeated .NodeMetrics nodeMetrics = 3;
-
addNodeMetricsBuilder
public ClusterMetricsMessages.NodeMetrics.Builder addNodeMetricsBuilder(int index)
repeated .NodeMetrics nodeMetrics = 3;
-
getNodeMetricsBuilderList
public java.util.List<ClusterMetricsMessages.NodeMetrics.Builder> getNodeMetricsBuilderList()
repeated .NodeMetrics nodeMetrics = 3;
-
setUnknownFields
public final ClusterMetricsMessages.MetricsGossip.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.MetricsGossip.Builder>
-
mergeUnknownFields
public final ClusterMetricsMessages.MetricsGossip.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.MetricsGossip.Builder>
-
-