Class ReplicatingStep (1.49.0)

public final class ReplicatingStep extends GeneratedMessageV3 implements ReplicatingStepOrBuilder

ReplicatingStep contains specific step details.

Protobuf type google.cloud.vmmigration.v1.ReplicatingStep

Static Fields

LAST_THIRTY_MINUTES_AVERAGE_BYTES_PER_SECOND_FIELD_NUMBER

public static final int LAST_THIRTY_MINUTES_AVERAGE_BYTES_PER_SECOND_FIELD_NUMBER
Field Value
Type Description
int

LAST_TWO_MINUTES_AVERAGE_BYTES_PER_SECOND_FIELD_NUMBER

public static final int LAST_TWO_MINUTES_AVERAGE_BYTES_PER_SECOND_FIELD_NUMBER
Field Value
Type Description
int

REPLICATED_BYTES_FIELD_NUMBER

public static final int REPLICATED_BYTES_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_BYTES_FIELD_NUMBER

public static final int TOTAL_BYTES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReplicatingStep getDefaultInstance()
Returns
Type Description
ReplicatingStep

getDescriptor()

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

newBuilder()

public static ReplicatingStep.Builder newBuilder()
Returns
Type Description
ReplicatingStep.Builder

newBuilder(ReplicatingStep prototype)

public static ReplicatingStep.Builder newBuilder(ReplicatingStep prototype)
Parameter
Name Description
prototype ReplicatingStep
Returns
Type Description
ReplicatingStep.Builder

parseDelimitedFrom(InputStream input)

public static ReplicatingStep parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReplicatingStep
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicatingStep parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicatingStep
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReplicatingStep parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReplicatingStep
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReplicatingStep parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicatingStep
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReplicatingStep parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReplicatingStep
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReplicatingStep parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicatingStep
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReplicatingStep parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReplicatingStep
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicatingStep parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicatingStep
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReplicatingStep parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReplicatingStep
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicatingStep parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicatingStep
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReplicatingStep parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReplicatingStep
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReplicatingStep parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicatingStep
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReplicatingStep> parser()
Returns
Type Description
Parser<ReplicatingStep>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ReplicatingStep getDefaultInstanceForType()
Returns
Type Description
ReplicatingStep

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.

getParserForType()

public Parser<ReplicatingStep> getParserForType()
Returns
Type Description
Parser<ReplicatingStep>
Overrides

getReplicatedBytes()

public long getReplicatedBytes()

Replicated bytes in the step.

int64 replicated_bytes = 2;

Returns
Type Description
long

The replicatedBytes.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTotalBytes()

public long getTotalBytes()

Total bytes to be handled in the step.

int64 total_bytes = 1;

Returns
Type Description
long

The totalBytes.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReplicatingStep.Builder newBuilderForType()
Returns
Type Description
ReplicatingStep.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReplicatingStep.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReplicatingStep.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReplicatingStep.Builder toBuilder()
Returns
Type Description
ReplicatingStep.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException