Class ReplicatingStep (1.18.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
TypeDescription
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
TypeDescription
int

REPLICATED_BYTES_FIELD_NUMBER

public static final int REPLICATED_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_BYTES_FIELD_NUMBER

public static final int TOTAL_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReplicatingStep getDefaultInstance()
Returns
TypeDescription
ReplicatingStep

getDescriptor()

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

newBuilder()

public static ReplicatingStep.Builder newBuilder()
Returns
TypeDescription
ReplicatingStep.Builder

newBuilder(ReplicatingStep prototype)

public static ReplicatingStep.Builder newBuilder(ReplicatingStep prototype)
Parameter
NameDescription
prototypeReplicatingStep
Returns
TypeDescription
ReplicatingStep.Builder

parseDelimitedFrom(InputStream input)

public static ReplicatingStep parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReplicatingStep
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicatingStep parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicatingStep
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReplicatingStep parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReplicatingStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReplicatingStep parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicatingStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReplicatingStep parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReplicatingStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReplicatingStep parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicatingStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReplicatingStep parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReplicatingStep
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicatingStep parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicatingStep
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReplicatingStep parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReplicatingStep
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicatingStep parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicatingStep
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReplicatingStep parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReplicatingStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReplicatingStep parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicatingStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReplicatingStep> parser()
Returns
TypeDescription
Parser<ReplicatingStep>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ReplicatingStep getDefaultInstanceForType()
Returns
TypeDescription
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
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.

getParserForType()

public Parser<ReplicatingStep> getParserForType()
Returns
TypeDescription
Parser<ReplicatingStep>
Overrides

getReplicatedBytes()

public long getReplicatedBytes()

Replicated bytes in the step.

int64 replicated_bytes = 2;

Returns
TypeDescription
long

The replicatedBytes.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTotalBytes()

public long getTotalBytes()

Total bytes to be handled in the step.

int64 total_bytes = 1;

Returns
TypeDescription
long

The totalBytes.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReplicatingStep.Builder newBuilderForType()
Returns
TypeDescription
ReplicatingStep.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReplicatingStep.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReplicatingStep.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReplicatingStep.Builder toBuilder()
Returns
TypeDescription
ReplicatingStep.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException