Class ReplicationSync.Builder (1.47.0)

public static final class ReplicationSync.Builder extends GeneratedMessageV3.Builder<ReplicationSync.Builder> implements ReplicationSyncOrBuilder

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

Protobuf type google.cloud.vmmigration.v1.ReplicationSync

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReplicationSync.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReplicationSync.Builder
Overrides

build()

public ReplicationSync build()
Returns
Type Description
ReplicationSync

buildPartial()

public ReplicationSync buildPartial()
Returns
Type Description
ReplicationSync

clear()

public ReplicationSync.Builder clear()
Returns
Type Description
ReplicationSync.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReplicationSync.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReplicationSync.Builder
Overrides

clearLastSyncTime()

public ReplicationSync.Builder clearLastSyncTime()

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

.google.protobuf.Timestamp last_sync_time = 1;

Returns
Type Description
ReplicationSync.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ReplicationSync.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReplicationSync.Builder
Overrides

clone()

public ReplicationSync.Builder clone()
Returns
Type Description
ReplicationSync.Builder
Overrides

getDefaultInstanceForType()

public ReplicationSync getDefaultInstanceForType()
Returns
Type Description
ReplicationSync

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getLastSyncTimeBuilder()

public Timestamp.Builder getLastSyncTimeBuilder()

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

.google.protobuf.Timestamp last_sync_time = 1;

Returns
Type Description
Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReplicationSync other)

public ReplicationSync.Builder mergeFrom(ReplicationSync other)
Parameter
Name Description
other ReplicationSync
Returns
Type Description
ReplicationSync.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReplicationSync.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicationSync.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReplicationSync.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReplicationSync.Builder
Overrides

mergeLastSyncTime(Timestamp value)

public ReplicationSync.Builder mergeLastSyncTime(Timestamp value)

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

.google.protobuf.Timestamp last_sync_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
ReplicationSync.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplicationSync.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReplicationSync.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ReplicationSync.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReplicationSync.Builder
Overrides

setLastSyncTime(Timestamp value)

public ReplicationSync.Builder setLastSyncTime(Timestamp value)

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

.google.protobuf.Timestamp last_sync_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
ReplicationSync.Builder

setLastSyncTime(Timestamp.Builder builderForValue)

public ReplicationSync.Builder setLastSyncTime(Timestamp.Builder builderForValue)

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

.google.protobuf.Timestamp last_sync_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ReplicationSync.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReplicationSync.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReplicationSync.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReplicationSync.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReplicationSync.Builder
Overrides