Class ReplicatingStep.Builder (1.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReplicatingStep build()
Returns
TypeDescription
ReplicatingStep

buildPartial()

public ReplicatingStep buildPartial()
Returns
TypeDescription
ReplicatingStep

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReplicatedBytes()

public ReplicatingStep.Builder clearReplicatedBytes()

Replicated bytes in the step.

int64 replicated_bytes = 2;

Returns
TypeDescription
ReplicatingStep.Builder

This builder for chaining.

clearTotalBytes()

public ReplicatingStep.Builder clearTotalBytes()

Total bytes to be handled in the step.

int64 total_bytes = 1;

Returns
TypeDescription
ReplicatingStep.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReplicatingStep getDefaultInstanceForType()
Returns
TypeDescription
ReplicatingStep

getDescriptorForType()

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

The lastTwoMinutesAverageBytesPerSecond.

getReplicatedBytes()

public long getReplicatedBytes()

Replicated bytes in the step.

int64 replicated_bytes = 2;

Returns
TypeDescription
long

The replicatedBytes.

getTotalBytes()

public long getTotalBytes()

Total bytes to be handled in the step.

int64 total_bytes = 1;

Returns
TypeDescription
long

The totalBytes.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReplicatingStep other)

public ReplicatingStep.Builder mergeFrom(ReplicatingStep other)
Parameter
NameDescription
otherReplicatingStep
Returns
TypeDescription
ReplicatingStep.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The lastThirtyMinutesAverageBytesPerSecond to set.

Returns
TypeDescription
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
NameDescription
valuelong

The lastTwoMinutesAverageBytesPerSecond to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReplicatingStep.Builder
Overrides

setReplicatedBytes(long value)

public ReplicatingStep.Builder setReplicatedBytes(long value)

Replicated bytes in the step.

int64 replicated_bytes = 2;

Parameter
NameDescription
valuelong

The replicatedBytes to set.

Returns
TypeDescription
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
NameDescription
valuelong

The totalBytes to set.

Returns
TypeDescription
ReplicatingStep.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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