Class ReplicationSync (1.44.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
Type Description
int

Static Methods

getDefaultInstance()

public static ReplicationSync getDefaultInstance()
Returns
Type Description
ReplicationSync

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ReplicationSync.Builder newBuilder()
Returns
Type Description
ReplicationSync.Builder

newBuilder(ReplicationSync prototype)

public static ReplicationSync.Builder newBuilder(ReplicationSync prototype)
Parameter
Name Description
prototype ReplicationSync
Returns
Type Description
ReplicationSync.Builder

parseDelimitedFrom(InputStream input)

public static ReplicationSync parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReplicationSync
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicationSync parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicationSync
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReplicationSync parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReplicationSync
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReplicationSync parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicationSync
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReplicationSync parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReplicationSync
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReplicationSync parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicationSync
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReplicationSync parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReplicationSync
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicationSync parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicationSync
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReplicationSync parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReplicationSync
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicationSync parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicationSync
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReplicationSync parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReplicationSync
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReplicationSync parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicationSync
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReplicationSync> parser()
Returns
Type Description
Parser<ReplicationSync>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ReplicationSync getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getParserForType()

public Parser<ReplicationSync> getParserForType()
Returns
Type Description
Parser<ReplicationSync>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Type Description
boolean

Whether the lastSyncTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReplicationSync.Builder newBuilderForType()
Returns
Type Description
ReplicationSync.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReplicationSync.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReplicationSync.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReplicationSync.Builder toBuilder()
Returns
Type Description
ReplicationSync.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException