Class ReplicationCycle.Builder (1.6.0)

public static final class ReplicationCycle.Builder extends GeneratedMessageV3.Builder<ReplicationCycle.Builder> implements ReplicationCycleOrBuilder

ReplicationCycle contains information about the current replication cycle status.

Protobuf type google.cloud.vmmigration.v1.ReplicationCycle

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReplicationCycle build()
Returns
TypeDescription
ReplicationCycle

buildPartial()

public ReplicationCycle buildPartial()
Returns
TypeDescription
ReplicationCycle

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ReplicationCycle.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReplicationCycle.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProgressPercent()

public ReplicationCycle.Builder clearProgressPercent()

The current progress in percentage of this cycle.

int32 progress_percent = 5;

Returns
TypeDescription
ReplicationCycle.Builder

This builder for chaining.

clearStartTime()

public ReplicationCycle.Builder clearStartTime()

The time the replication cycle has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
ReplicationCycle.Builder

clone()

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

getDefaultInstanceForType()

public ReplicationCycle getDefaultInstanceForType()
Returns
TypeDescription
ReplicationCycle

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProgressPercent()

public int getProgressPercent()

The current progress in percentage of this cycle.

int32 progress_percent = 5;

Returns
TypeDescription
int

The progressPercent.

getStartTime()

public Timestamp getStartTime()

The time the replication cycle has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time the replication cycle has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time the replication cycle has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimestampOrBuilder

hasStartTime()

public boolean hasStartTime()

The time the replication cycle has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReplicationCycle other)

public ReplicationCycle.Builder mergeFrom(ReplicationCycle other)
Parameter
NameDescription
otherReplicationCycle
Returns
TypeDescription
ReplicationCycle.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ReplicationCycle.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReplicationCycle.Builder
Overrides

mergeStartTime(Timestamp value)

public ReplicationCycle.Builder mergeStartTime(Timestamp value)

The time the replication cycle has started.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ReplicationCycle.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProgressPercent(int value)

public ReplicationCycle.Builder setProgressPercent(int value)

The current progress in percentage of this cycle.

int32 progress_percent = 5;

Parameter
NameDescription
valueint

The progressPercent to set.

Returns
TypeDescription
ReplicationCycle.Builder

This builder for chaining.

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

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

setStartTime(Timestamp value)

public ReplicationCycle.Builder setStartTime(Timestamp value)

The time the replication cycle has started.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ReplicationCycle.Builder

setStartTime(Timestamp.Builder builderForValue)

public ReplicationCycle.Builder setStartTime(Timestamp.Builder builderForValue)

The time the replication cycle has started.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ReplicationCycle.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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