Class ReplicatingStep.Builder (1.43.0)

public static final class ReplicatingStep.Builder extends GeneratedMessageV3.Builder<ReplicatingStep.Builder> implements ReplicatingStepOrBuilder

ReplicatingStep contains specific step details.

Protobuf type google.cloud.vmmigration.v1.ReplicatingStep

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReplicatingStep build()
Returns
Type Description
ReplicatingStep

buildPartial()

public ReplicatingStep buildPartial()
Returns
Type Description
ReplicatingStep

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLastThirtyMinutesAverageBytesPerSecond()

public ReplicatingStep.Builder clearLastThirtyMinutesAverageBytesPerSecond()

The source disks replication rate for the last 30 minutes in bytes per second.

int64 last_thirty_minutes_average_bytes_per_second = 4;

Returns
Type Description
ReplicatingStep.Builder

This builder for chaining.

clearLastTwoMinutesAverageBytesPerSecond()

public ReplicatingStep.Builder clearLastTwoMinutesAverageBytesPerSecond()

The source disks replication rate for the last 2 minutes in bytes per second.

int64 last_two_minutes_average_bytes_per_second = 3;

Returns
Type Description
ReplicatingStep.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReplicatedBytes()

public ReplicatingStep.Builder clearReplicatedBytes()

Replicated bytes in the step.

int64 replicated_bytes = 2;

Returns
Type Description
ReplicatingStep.Builder

This builder for chaining.

clearTotalBytes()

public ReplicatingStep.Builder clearTotalBytes()

Total bytes to be handled in the step.

int64 total_bytes = 1;

Returns
Type Description
ReplicatingStep.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReplicatingStep getDefaultInstanceForType()
Returns
Type Description
ReplicatingStep

getDescriptorForType()

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

getLastThirtyMinutesAverageBytesPerSecond()

public long getLastThirtyMinutesAverageBytesPerSecond()

The source disks replication rate for the last 30 minutes in bytes per second.

int64 last_thirty_minutes_average_bytes_per_second = 4;

Returns
Type Description
long

The lastThirtyMinutesAverageBytesPerSecond.

getLastTwoMinutesAverageBytesPerSecond()

public long getLastTwoMinutesAverageBytesPerSecond()

The source disks replication rate for the last 2 minutes in bytes per second.

int64 last_two_minutes_average_bytes_per_second = 3;

Returns
Type Description
long

The lastTwoMinutesAverageBytesPerSecond.

getReplicatedBytes()

public long getReplicatedBytes()

Replicated bytes in the step.

int64 replicated_bytes = 2;

Returns
Type Description
long

The replicatedBytes.

getTotalBytes()

public long getTotalBytes()

Total bytes to be handled in the step.

int64 total_bytes = 1;

Returns
Type Description
long

The totalBytes.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReplicatingStep other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLastThirtyMinutesAverageBytesPerSecond(long value)

public ReplicatingStep.Builder setLastThirtyMinutesAverageBytesPerSecond(long value)

The source disks replication rate for the last 30 minutes in bytes per second.

int64 last_thirty_minutes_average_bytes_per_second = 4;

Parameter
Name Description
value long

The lastThirtyMinutesAverageBytesPerSecond to set.

Returns
Type Description
ReplicatingStep.Builder

This builder for chaining.

setLastTwoMinutesAverageBytesPerSecond(long value)

public ReplicatingStep.Builder setLastTwoMinutesAverageBytesPerSecond(long value)

The source disks replication rate for the last 2 minutes in bytes per second.

int64 last_two_minutes_average_bytes_per_second = 3;

Parameter
Name Description
value long

The lastTwoMinutesAverageBytesPerSecond to set.

Returns
Type Description
ReplicatingStep.Builder

This builder for chaining.

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

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

setReplicatedBytes(long value)

public ReplicatingStep.Builder setReplicatedBytes(long value)

Replicated bytes in the step.

int64 replicated_bytes = 2;

Parameter
Name Description
value long

The replicatedBytes to set.

Returns
Type Description
ReplicatingStep.Builder

This builder for chaining.

setTotalBytes(long value)

public ReplicatingStep.Builder setTotalBytes(long value)

Total bytes to be handled in the step.

int64 total_bytes = 1;

Parameter
Name Description
value long

The totalBytes to set.

Returns
Type Description
ReplicatingStep.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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