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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReplicationSync.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ReplicationSync build()
Returns
buildPartial()
public ReplicationSync buildPartial()
Returns
clear()
public ReplicationSync.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ReplicationSync.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplicationSync.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ReplicationSync.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ReplicationSync getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
getLastSyncTimeOrBuilder()
public TimestampOrBuilder getLastSyncTimeOrBuilder()
The most updated snapshot created time in the source that finished
replication.
.google.protobuf.Timestamp last_sync_time = 1;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ReplicationSync other)
public ReplicationSync.Builder mergeFrom(ReplicationSync other)
Parameter
Returns
public ReplicationSync.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReplicationSync.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplicationSync.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ReplicationSync.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReplicationSync.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplicationSync.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides