Class ReplicationCycle (1.4.0)

public final class ReplicationCycle extends GeneratedMessageV3 implements ReplicationCycleOrBuilder

ReplicationCycle contains information about the current replication cycle status.

Protobuf type google.cloud.vmmigration.v1.ReplicationCycle

Static Fields

PROGRESS_PERCENT_FIELD_NUMBER

public static final int PROGRESS_PERCENT_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReplicationCycle getDefaultInstance()
Returns
TypeDescription
ReplicationCycle

getDescriptor()

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

newBuilder()

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

newBuilder(ReplicationCycle prototype)

public static ReplicationCycle.Builder newBuilder(ReplicationCycle prototype)
Parameter
NameDescription
prototypeReplicationCycle
Returns
TypeDescription
ReplicationCycle.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ReplicationCycle getDefaultInstanceForType()
Returns
TypeDescription
ReplicationCycle

getParserForType()

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

getProgressPercent()

public int getProgressPercent()

The current progress in percentage of this cycle.

int32 progress_percent = 5;

Returns
TypeDescription
int

The progressPercent.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartTime()

public Timestamp getStartTime()

The time the replication cycle has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time the replication cycle has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasStartTime()

public boolean hasStartTime()

The time the replication cycle has started.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
boolean

Whether the startTime field is set.

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 ReplicationCycle.Builder newBuilderForType()
Returns
TypeDescription
ReplicationCycle.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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