akka.cluster.protobuf.msg
Class ClusterMessages.NodeMetrics.Builder

java.lang.Object
  extended by 
      extended by akka.cluster.protobuf.msg.ClusterMessages.NodeMetrics.Builder
All Implemented Interfaces:
ClusterMessages.NodeMetricsOrBuilder
Enclosing class:
ClusterMessages.NodeMetrics

public static final class ClusterMessages.NodeMetrics.Builder
extends
implements ClusterMessages.NodeMetricsOrBuilder

Protobuf type NodeMetrics

 Node Metrics
 


Method Summary
 ClusterMessages.NodeMetrics.Builder addAllMetrics(java.lang.Iterable<? extends ClusterMessages.NodeMetrics.Metric> values)
          repeated .NodeMetrics.Metric metrics = 3;
 ClusterMessages.NodeMetrics.Builder addMetrics(ClusterMessages.NodeMetrics.Metric.Builder builderForValue)
          repeated .NodeMetrics.Metric metrics = 3;
 ClusterMessages.NodeMetrics.Builder addMetrics(ClusterMessages.NodeMetrics.Metric value)
          repeated .NodeMetrics.Metric metrics = 3;
 ClusterMessages.NodeMetrics.Builder addMetrics(int index, ClusterMessages.NodeMetrics.Metric.Builder builderForValue)
          repeated .NodeMetrics.Metric metrics = 3;
 ClusterMessages.NodeMetrics.Builder addMetrics(int index, ClusterMessages.NodeMetrics.Metric value)
          repeated .NodeMetrics.Metric metrics = 3;
 ClusterMessages.NodeMetrics.Metric.Builder addMetricsBuilder()
          repeated .NodeMetrics.Metric metrics = 3;
 ClusterMessages.NodeMetrics.Metric.Builder addMetricsBuilder(int index)
          repeated .NodeMetrics.Metric metrics = 3;
 ClusterMessages.NodeMetrics build()
           
 ClusterMessages.NodeMetrics buildPartial()
           
 ClusterMessages.NodeMetrics.Builder clear()
           
 ClusterMessages.NodeMetrics.Builder clearAddressIndex()
          required int32 addressIndex = 1;
 ClusterMessages.NodeMetrics.Builder clearMetrics()
          repeated .NodeMetrics.Metric metrics = 3;
 ClusterMessages.NodeMetrics.Builder clearTimestamp()
          required int64 timestamp = 2;
 ClusterMessages.NodeMetrics.Builder clone()
           
 int getAddressIndex()
          required int32 addressIndex = 1;
 ClusterMessages.NodeMetrics getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 ClusterMessages.NodeMetrics.Metric getMetrics(int index)
          repeated .NodeMetrics.Metric metrics = 3;
 ClusterMessages.NodeMetrics.Metric.Builder getMetricsBuilder(int index)
          repeated .NodeMetrics.Metric metrics = 3;
 java.util.List<ClusterMessages.NodeMetrics.Metric.Builder> getMetricsBuilderList()
          repeated .NodeMetrics.Metric metrics = 3;
 int getMetricsCount()
          repeated .NodeMetrics.Metric metrics = 3;
 java.util.List<ClusterMessages.NodeMetrics.Metric> getMetricsList()
          repeated .NodeMetrics.Metric metrics = 3;
 ClusterMessages.NodeMetrics.MetricOrBuilder getMetricsOrBuilder(int index)
          repeated .NodeMetrics.Metric metrics = 3;
 java.util.List<? extends ClusterMessages.NodeMetrics.MetricOrBuilder> getMetricsOrBuilderList()
          repeated .NodeMetrics.Metric metrics = 3;
 long getTimestamp()
          required int64 timestamp = 2;
 boolean hasAddressIndex()
          required int32 addressIndex = 1;
 boolean hasTimestamp()
          required int64 timestamp = 2;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 ClusterMessages.NodeMetrics.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ClusterMessages.NodeMetrics.Builder mergeFrom(com.google.protobuf.Message other)
           
 ClusterMessages.NodeMetrics.Builder removeMetrics(int index)
          repeated .NodeMetrics.Metric metrics = 3;
 ClusterMessages.NodeMetrics.Builder setAddressIndex(int value)
          required int32 addressIndex = 1;
 ClusterMessages.NodeMetrics.Builder setMetrics(int index, ClusterMessages.NodeMetrics.Metric.Builder builderForValue)
          repeated .NodeMetrics.Metric metrics = 3;
 ClusterMessages.NodeMetrics.Builder setMetrics(int index, ClusterMessages.NodeMetrics.Metric value)
          repeated .NodeMetrics.Metric metrics = 3;
 ClusterMessages.NodeMetrics.Builder setTimestamp(long value)
          required int64 timestamp = 2;
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()

clear

public ClusterMessages.NodeMetrics.Builder clear()

clone

public ClusterMessages.NodeMetrics.Builder clone()

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()

getDefaultInstanceForType

public ClusterMessages.NodeMetrics getDefaultInstanceForType()

build

public ClusterMessages.NodeMetrics build()

buildPartial

public ClusterMessages.NodeMetrics buildPartial()

mergeFrom

public ClusterMessages.NodeMetrics.Builder mergeFrom(com.google.protobuf.Message other)

isInitialized

public final boolean isInitialized()

mergeFrom

public ClusterMessages.NodeMetrics.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws java.io.IOException
Throws:
java.io.IOException

hasAddressIndex

public boolean hasAddressIndex()
required int32 addressIndex = 1;

Specified by:
hasAddressIndex in interface ClusterMessages.NodeMetricsOrBuilder

getAddressIndex

public int getAddressIndex()
required int32 addressIndex = 1;

Specified by:
getAddressIndex in interface ClusterMessages.NodeMetricsOrBuilder

setAddressIndex

public ClusterMessages.NodeMetrics.Builder setAddressIndex(int value)
required int32 addressIndex = 1;


clearAddressIndex

public ClusterMessages.NodeMetrics.Builder clearAddressIndex()
required int32 addressIndex = 1;


hasTimestamp

public boolean hasTimestamp()
required int64 timestamp = 2;

Specified by:
hasTimestamp in interface ClusterMessages.NodeMetricsOrBuilder

getTimestamp

public long getTimestamp()
required int64 timestamp = 2;

Specified by:
getTimestamp in interface ClusterMessages.NodeMetricsOrBuilder

setTimestamp

public ClusterMessages.NodeMetrics.Builder setTimestamp(long value)
required int64 timestamp = 2;


clearTimestamp

public ClusterMessages.NodeMetrics.Builder clearTimestamp()
required int64 timestamp = 2;


getMetricsList

public java.util.List<ClusterMessages.NodeMetrics.Metric> getMetricsList()
repeated .NodeMetrics.Metric metrics = 3;

Specified by:
getMetricsList in interface ClusterMessages.NodeMetricsOrBuilder

getMetricsCount

public int getMetricsCount()
repeated .NodeMetrics.Metric metrics = 3;

Specified by:
getMetricsCount in interface ClusterMessages.NodeMetricsOrBuilder

getMetrics

public ClusterMessages.NodeMetrics.Metric getMetrics(int index)
repeated .NodeMetrics.Metric metrics = 3;

Specified by:
getMetrics in interface ClusterMessages.NodeMetricsOrBuilder

setMetrics

public ClusterMessages.NodeMetrics.Builder setMetrics(int index,
                                                      ClusterMessages.NodeMetrics.Metric value)
repeated .NodeMetrics.Metric metrics = 3;


setMetrics

public ClusterMessages.NodeMetrics.Builder setMetrics(int index,
                                                      ClusterMessages.NodeMetrics.Metric.Builder builderForValue)
repeated .NodeMetrics.Metric metrics = 3;


addMetrics

public ClusterMessages.NodeMetrics.Builder addMetrics(ClusterMessages.NodeMetrics.Metric value)
repeated .NodeMetrics.Metric metrics = 3;


addMetrics

public ClusterMessages.NodeMetrics.Builder addMetrics(int index,
                                                      ClusterMessages.NodeMetrics.Metric value)
repeated .NodeMetrics.Metric metrics = 3;


addMetrics

public ClusterMessages.NodeMetrics.Builder addMetrics(ClusterMessages.NodeMetrics.Metric.Builder builderForValue)
repeated .NodeMetrics.Metric metrics = 3;


addMetrics

public ClusterMessages.NodeMetrics.Builder addMetrics(int index,
                                                      ClusterMessages.NodeMetrics.Metric.Builder builderForValue)
repeated .NodeMetrics.Metric metrics = 3;


addAllMetrics

public ClusterMessages.NodeMetrics.Builder addAllMetrics(java.lang.Iterable<? extends ClusterMessages.NodeMetrics.Metric> values)
repeated .NodeMetrics.Metric metrics = 3;


clearMetrics

public ClusterMessages.NodeMetrics.Builder clearMetrics()
repeated .NodeMetrics.Metric metrics = 3;


removeMetrics

public ClusterMessages.NodeMetrics.Builder removeMetrics(int index)
repeated .NodeMetrics.Metric metrics = 3;


getMetricsBuilder

public ClusterMessages.NodeMetrics.Metric.Builder getMetricsBuilder(int index)
repeated .NodeMetrics.Metric metrics = 3;


getMetricsOrBuilder

public ClusterMessages.NodeMetrics.MetricOrBuilder getMetricsOrBuilder(int index)
repeated .NodeMetrics.Metric metrics = 3;

Specified by:
getMetricsOrBuilder in interface ClusterMessages.NodeMetricsOrBuilder

getMetricsOrBuilderList

public java.util.List<? extends ClusterMessages.NodeMetrics.MetricOrBuilder> getMetricsOrBuilderList()
repeated .NodeMetrics.Metric metrics = 3;

Specified by:
getMetricsOrBuilderList in interface ClusterMessages.NodeMetricsOrBuilder

addMetricsBuilder

public ClusterMessages.NodeMetrics.Metric.Builder addMetricsBuilder()
repeated .NodeMetrics.Metric metrics = 3;


addMetricsBuilder

public ClusterMessages.NodeMetrics.Metric.Builder addMetricsBuilder(int index)
repeated .NodeMetrics.Metric metrics = 3;


getMetricsBuilderList

public java.util.List<ClusterMessages.NodeMetrics.Metric.Builder> getMetricsBuilderList()
repeated .NodeMetrics.Metric metrics = 3;