Class ReplicationSync (1.2.0)

public final class ReplicationSync extends GeneratedMessageV3 implements ReplicationSyncOrBuilder

ReplicationSync contain information about the last replica sync to the cloud.

Protobuf type google.cloud.vmmigration.v1.ReplicationSync

Static Fields

LAST_SYNC_TIME_FIELD_NUMBER

public static final int LAST_SYNC_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReplicationSync getDefaultInstance()
Returns
TypeDescription
ReplicationSync

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ReplicationSync.Builder newBuilder()
Returns
TypeDescription
ReplicationSync.Builder

newBuilder(ReplicationSync prototype)

public static ReplicationSync.Builder newBuilder(ReplicationSync prototype)
Parameter
NameDescription
prototypeReplicationSync
Returns
TypeDescription
ReplicationSync.Builder

parseDelimitedFrom(InputStream input)

public static ReplicationSync parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReplicationSync
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicationSync parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicationSync
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReplicationSync parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReplicationSync
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReplicationSync parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicationSync
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReplicationSync parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReplicationSync
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReplicationSync parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicationSync
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReplicationSync parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReplicationSync
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicationSync parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicationSync
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReplicationSync parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReplicationSync
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicationSync parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicationSync
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReplicationSync parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReplicationSync
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReplicationSync parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicationSync
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReplicationSync> parser()
Returns
TypeDescription
Parser<ReplicationSync>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ReplicationSync getDefaultInstanceForType()
Returns
TypeDescription
ReplicationSync

getLastSyncTime()

public Timestamp getLastSyncTime()

The most updated snapshot created time in the source that finished replication.

.google.protobuf.Timestamp last_sync_time = 1;

Returns
TypeDescription
Timestamp

The lastSyncTime.

getLastSyncTimeOrBuilder()

public TimestampOrBuilder getLastSyncTimeOrBuilder()

The most updated snapshot created time in the source that finished replication.

.google.protobuf.Timestamp last_sync_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<ReplicationSync> getParserForType()
Returns
TypeDescription
Parser<ReplicationSync>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasLastSyncTime()

public boolean hasLastSyncTime()

The most updated snapshot created time in the source that finished replication.

.google.protobuf.Timestamp last_sync_time = 1;

Returns
TypeDescription
boolean

Whether the lastSyncTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReplicationSync.Builder newBuilderForType()
Returns
TypeDescription
ReplicationSync.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReplicationSync.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReplicationSync.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReplicationSync.Builder toBuilder()
Returns
TypeDescription
ReplicationSync.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException