Class ReplicatingStep.Builder (1.83.0)

public static final class ReplicatingStep.Builder extends GeneratedMessage.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

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

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.

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.

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 GeneratedMessage.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

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.

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.