Class ReplicationSync.Builder (1.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReplicationSync.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReplicationSync.Builder
Overrides

build()

public ReplicationSync build()
Returns
TypeDescription
ReplicationSync

buildPartial()

public ReplicationSync buildPartial()
Returns
TypeDescription
ReplicationSync

clear()

public ReplicationSync.Builder clear()
Returns
TypeDescription
ReplicationSync.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReplicationSync.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ReplicationSync.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ReplicationSync.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReplicationSync.Builder
Overrides

clone()

public ReplicationSync.Builder clone()
Returns
TypeDescription
ReplicationSync.Builder
Overrides

getDefaultInstanceForType()

public ReplicationSync getDefaultInstanceForType()
Returns
TypeDescription
ReplicationSync

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the lastSyncTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReplicationSync other)

public ReplicationSync.Builder mergeFrom(ReplicationSync other)
Parameter
NameDescription
otherReplicationSync
Returns
TypeDescription
ReplicationSync.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReplicationSync.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicationSync.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReplicationSync.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ReplicationSync.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplicationSync.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReplicationSync.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ReplicationSync.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ReplicationSync.Builder

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

public ReplicationSync.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReplicationSync.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReplicationSync.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReplicationSync.Builder
Overrides