akka.cluster.protobuf.msg
Class ClusterMessages.VectorClock

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

public static final class ClusterMessages.VectorClock
extends com.google.protobuf.GeneratedMessage
implements ClusterMessages.VectorClockOrBuilder

Protobuf type VectorClock


 Vector Clock
 


Nested Class Summary
static class ClusterMessages.VectorClock.Builder
          Protobuf type VectorClock
static class ClusterMessages.VectorClock.Version
          Protobuf type VectorClock.Version
static interface ClusterMessages.VectorClock.VersionOrBuilder
           
 
Field Summary
static  PARSER
           
static int TIMESTAMP_FIELD_NUMBER
           
static int VERSIONS_FIELD_NUMBER
           
 
Method Summary
static ClusterMessages.VectorClock getDefaultInstance()
           
 ClusterMessages.VectorClock getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
  getParserForType()
           
 int getSerializedSize()
           
 long getTimestamp()
          optional int64 timestamp = 1;
 com.google.protobuf.UnknownFieldSet getUnknownFields()
           
 ClusterMessages.VectorClock.Version getVersions(int index)
          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()
           
static ClusterMessages.VectorClock.Builder newBuilder()
           
static ClusterMessages.VectorClock.Builder newBuilder(ClusterMessages.VectorClock prototype)
           
 ClusterMessages.VectorClock.Builder newBuilderForType()
           
protected  ClusterMessages.VectorClock.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
           
static ClusterMessages.VectorClock parseDelimitedFrom(java.io.InputStream input)
           
static ClusterMessages.VectorClock parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ClusterMessages.VectorClock parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ClusterMessages.VectorClock parseFrom(com.google.protobuf.ByteString data)
           
static ClusterMessages.VectorClock parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ClusterMessages.VectorClock parseFrom(com.google.protobuf.CodedInputStream input)
           
static ClusterMessages.VectorClock parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
static ClusterMessages.VectorClock parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ClusterMessages.VectorClock.Builder toBuilder()
           
protected  java.lang.Object writeReplace()
           
 void writeTo(com.google.protobuf.CodedOutputStream output)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARSER

public static  PARSER

TIMESTAMP_FIELD_NUMBER

public static final int TIMESTAMP_FIELD_NUMBER
See Also:
Constant Field Values

VERSIONS_FIELD_NUMBER

public static final int VERSIONS_FIELD_NUMBER
See Also:
Constant Field Values
Method Detail

getDefaultInstance

public static ClusterMessages.VectorClock getDefaultInstance()

getDefaultInstanceForType

public ClusterMessages.VectorClock getDefaultInstanceForType()

getUnknownFields

public final com.google.protobuf.UnknownFieldSet getUnknownFields()

getDescriptor

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

internalGetFieldAccessorTable

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

getParserForType

public  getParserForType()

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

getVersionsList

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

Specified by:
getVersionsList 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

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

getVersionsOrBuilder

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

Specified by:
getVersionsOrBuilder in interface ClusterMessages.VectorClockOrBuilder

isInitialized

public final boolean isInitialized()

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output)
             throws java.io.IOException
Throws:
java.io.IOException

getSerializedSize

public int getSerializedSize()

writeReplace

protected java.lang.Object writeReplace()
                                 throws java.io.ObjectStreamException
Throws:
java.io.ObjectStreamException

parseFrom

public static ClusterMessages.VectorClock parseFrom(com.google.protobuf.ByteString data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ClusterMessages.VectorClock parseFrom(com.google.protobuf.ByteString data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ClusterMessages.VectorClock parseFrom(byte[] data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
Throws:
com.google.protobuf.InvalidProtocolBufferException

parseFrom

public static ClusterMessages.VectorClock parseFrom(java.io.InputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws java.io.IOException
Throws:
java.io.IOException

parseDelimitedFrom

public static ClusterMessages.VectorClock parseDelimitedFrom(java.io.InputStream input)
                                                      throws java.io.IOException
Throws:
java.io.IOException

parseDelimitedFrom

public static ClusterMessages.VectorClock parseDelimitedFrom(java.io.InputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.IOException
Throws:
java.io.IOException

parseFrom

public static ClusterMessages.VectorClock parseFrom(com.google.protobuf.CodedInputStream input)
                                             throws java.io.IOException
Throws:
java.io.IOException

parseFrom

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

newBuilder

public static ClusterMessages.VectorClock.Builder newBuilder()

newBuilderForType

public ClusterMessages.VectorClock.Builder newBuilderForType()

newBuilder

public static ClusterMessages.VectorClock.Builder newBuilder(ClusterMessages.VectorClock prototype)

toBuilder

public ClusterMessages.VectorClock.Builder toBuilder()

newBuilderForType

protected ClusterMessages.VectorClock.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)