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

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

public static final class ClusterMessages.VectorClock.Builder
extends
implements ClusterMessages.VectorClockOrBuilder

Protobuf type VectorClock

 Vector Clock
 


Method Summary
 ClusterMessages.VectorClock.Builder addAllVersions(java.lang.Iterable<? extends ClusterMessages.VectorClock.Version> values)
          repeated .VectorClock.Version versions = 2;
 ClusterMessages.VectorClock.Builder addVersions(ClusterMessages.VectorClock.Version.Builder builderForValue)
          repeated .VectorClock.Version versions = 2;
 ClusterMessages.VectorClock.Builder addVersions(ClusterMessages.VectorClock.Version value)
          repeated .VectorClock.Version versions = 2;
 ClusterMessages.VectorClock.Builder addVersions(int index, ClusterMessages.VectorClock.Version.Builder builderForValue)
          repeated .VectorClock.Version versions = 2;
 ClusterMessages.VectorClock.Builder addVersions(int index, ClusterMessages.VectorClock.Version value)
          repeated .VectorClock.Version versions = 2;
 ClusterMessages.VectorClock.Version.Builder addVersionsBuilder()
          repeated .VectorClock.Version versions = 2;
 ClusterMessages.VectorClock.Version.Builder addVersionsBuilder(int index)
          repeated .VectorClock.Version versions = 2;
 ClusterMessages.VectorClock build()
           
 ClusterMessages.VectorClock buildPartial()
           
 ClusterMessages.VectorClock.Builder clear()
           
 ClusterMessages.VectorClock.Builder clearTimestamp()
          optional int64 timestamp = 1;
 ClusterMessages.VectorClock.Builder clearVersions()
          repeated .VectorClock.Version versions = 2;
 ClusterMessages.VectorClock.Builder clone()
           
 ClusterMessages.VectorClock getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 long getTimestamp()
          optional int64 timestamp = 1;
 ClusterMessages.VectorClock.Version getVersions(int index)
          repeated .VectorClock.Version versions = 2;
 ClusterMessages.VectorClock.Version.Builder getVersionsBuilder(int index)
          repeated .VectorClock.Version versions = 2;
 java.util.List<ClusterMessages.VectorClock.Version.Builder> getVersionsBuilderList()
          repeated .VectorClock.Version versions = 2;
 int getVersionsCount()
          repeated .VectorClock.Version versions = 2;
 java.util.List<ClusterMessages.VectorClock.Version> getVersionsList()
          repeated .VectorClock.Version versions = 2;
 ClusterMessages.VectorClock.VersionOrBuilder getVersionsOrBuilder(int index)
          repeated .VectorClock.Version versions = 2;
 java.util.List<? extends ClusterMessages.VectorClock.VersionOrBuilder> getVersionsOrBuilderList()
          repeated .VectorClock.Version versions = 2;
 boolean hasTimestamp()
          optional int64 timestamp = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 ClusterMessages.VectorClock.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ClusterMessages.VectorClock.Builder mergeFrom(com.google.protobuf.Message other)
           
 ClusterMessages.VectorClock.Builder removeVersions(int index)
          repeated .VectorClock.Version versions = 2;
 ClusterMessages.VectorClock.Builder setTimestamp(long value)
          optional int64 timestamp = 1;
 ClusterMessages.VectorClock.Builder setVersions(int index, ClusterMessages.VectorClock.Version.Builder builderForValue)
          repeated .VectorClock.Version versions = 2;
 ClusterMessages.VectorClock.Builder setVersions(int index, ClusterMessages.VectorClock.Version value)
          repeated .VectorClock.Version versions = 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.VectorClock.Builder clear()

clone

public ClusterMessages.VectorClock.Builder clone()

getDescriptorForType

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

getDefaultInstanceForType

public ClusterMessages.VectorClock getDefaultInstanceForType()

build

public ClusterMessages.VectorClock build()

buildPartial

public ClusterMessages.VectorClock buildPartial()

mergeFrom

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

isInitialized

public final boolean isInitialized()

mergeFrom

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

hasTimestamp

public boolean hasTimestamp()
optional int64 timestamp = 1;
 the timestamp could be removed but left for test data compatibility
 

Specified by:
hasTimestamp in interface ClusterMessages.VectorClockOrBuilder

getTimestamp

public long getTimestamp()
optional int64 timestamp = 1;
 the timestamp could be removed but left for test data compatibility
 

Specified by:
getTimestamp in interface ClusterMessages.VectorClockOrBuilder

setTimestamp

public ClusterMessages.VectorClock.Builder setTimestamp(long value)
optional int64 timestamp = 1;
 the timestamp could be removed but left for test data compatibility
 


clearTimestamp

public ClusterMessages.VectorClock.Builder clearTimestamp()
optional int64 timestamp = 1;
 the timestamp could be removed but left for test data compatibility
 


getVersionsList

public java.util.List<ClusterMessages.VectorClock.Version> getVersionsList()
repeated .VectorClock.Version versions = 2;

Specified by:
getVersionsList in interface ClusterMessages.VectorClockOrBuilder

getVersionsCount

public int getVersionsCount()
repeated .VectorClock.Version versions = 2;

Specified by:
getVersionsCount in interface ClusterMessages.VectorClockOrBuilder

getVersions

public ClusterMessages.VectorClock.Version getVersions(int index)
repeated .VectorClock.Version versions = 2;

Specified by:
getVersions in interface ClusterMessages.VectorClockOrBuilder

setVersions

public ClusterMessages.VectorClock.Builder setVersions(int index,
                                                       ClusterMessages.VectorClock.Version value)
repeated .VectorClock.Version versions = 2;


setVersions

public ClusterMessages.VectorClock.Builder setVersions(int index,
                                                       ClusterMessages.VectorClock.Version.Builder builderForValue)
repeated .VectorClock.Version versions = 2;


addVersions

public ClusterMessages.VectorClock.Builder addVersions(ClusterMessages.VectorClock.Version value)
repeated .VectorClock.Version versions = 2;


addVersions

public ClusterMessages.VectorClock.Builder addVersions(int index,
                                                       ClusterMessages.VectorClock.Version value)
repeated .VectorClock.Version versions = 2;


addVersions

public ClusterMessages.VectorClock.Builder addVersions(ClusterMessages.VectorClock.Version.Builder builderForValue)
repeated .VectorClock.Version versions = 2;


addVersions

public ClusterMessages.VectorClock.Builder addVersions(int index,
                                                       ClusterMessages.VectorClock.Version.Builder builderForValue)
repeated .VectorClock.Version versions = 2;


addAllVersions

public ClusterMessages.VectorClock.Builder addAllVersions(java.lang.Iterable<? extends ClusterMessages.VectorClock.Version> values)
repeated .VectorClock.Version versions = 2;


clearVersions

public ClusterMessages.VectorClock.Builder clearVersions()
repeated .VectorClock.Version versions = 2;


removeVersions

public ClusterMessages.VectorClock.Builder removeVersions(int index)
repeated .VectorClock.Version versions = 2;


getVersionsBuilder

public ClusterMessages.VectorClock.Version.Builder getVersionsBuilder(int index)
repeated .VectorClock.Version versions = 2;


getVersionsOrBuilder

public ClusterMessages.VectorClock.VersionOrBuilder getVersionsOrBuilder(int index)
repeated .VectorClock.Version versions = 2;

Specified by:
getVersionsOrBuilder in interface ClusterMessages.VectorClockOrBuilder

getVersionsOrBuilderList

public java.util.List<? extends ClusterMessages.VectorClock.VersionOrBuilder> getVersionsOrBuilderList()
repeated .VectorClock.Version versions = 2;

Specified by:
getVersionsOrBuilderList in interface ClusterMessages.VectorClockOrBuilder

addVersionsBuilder

public ClusterMessages.VectorClock.Version.Builder addVersionsBuilder()
repeated .VectorClock.Version versions = 2;


addVersionsBuilder

public ClusterMessages.VectorClock.Version.Builder addVersionsBuilder(int index)
repeated .VectorClock.Version versions = 2;


getVersionsBuilderList

public java.util.List<ClusterMessages.VectorClock.Version.Builder> getVersionsBuilderList()
repeated .VectorClock.Version versions = 2;