Class AdvanceRolloutOperation (1.35.0)

public final class AdvanceRolloutOperation extends GeneratedMessageV3 implements AdvanceRolloutOperationOrBuilder

Contains the information of an automated advance-rollout operation.

Protobuf type google.cloud.deploy.v1.AdvanceRolloutOperation

Static Fields

DESTINATION_PHASE_FIELD_NUMBER

public static final int DESTINATION_PHASE_FIELD_NUMBER
Field Value
TypeDescription
int

ROLLOUT_FIELD_NUMBER

public static final int ROLLOUT_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_PHASE_FIELD_NUMBER

public static final int SOURCE_PHASE_FIELD_NUMBER
Field Value
TypeDescription
int

WAIT_FIELD_NUMBER

public static final int WAIT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AdvanceRolloutOperation getDefaultInstance()
Returns
TypeDescription
AdvanceRolloutOperation

getDescriptor()

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

newBuilder()

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

newBuilder(AdvanceRolloutOperation prototype)

public static AdvanceRolloutOperation.Builder newBuilder(AdvanceRolloutOperation prototype)
Parameter
NameDescription
prototypeAdvanceRolloutOperation
Returns
TypeDescription
AdvanceRolloutOperation.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AdvanceRolloutOperation getDefaultInstanceForType()
Returns
TypeDescription
AdvanceRolloutOperation

getDestinationPhase()

public String getDestinationPhase()

Output only. The phase the rollout will be advanced to.

string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The destinationPhase.

getDestinationPhaseBytes()

public ByteString getDestinationPhaseBytes()

Output only. The phase the rollout will be advanced to.

string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for destinationPhase.

getParserForType()

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

getRollout()

public String getRollout()

Output only. The name of the rollout that initiates the AutomationRun.

string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The rollout.

getRolloutBytes()

public ByteString getRolloutBytes()

Output only. The name of the rollout that initiates the AutomationRun.

string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for rollout.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourcePhase()

public String getSourcePhase()

Output only. The phase of a deployment that initiated the operation.

string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The sourcePhase.

getSourcePhaseBytes()

public ByteString getSourcePhaseBytes()

Output only. The phase of a deployment that initiated the operation.

string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for sourcePhase.

getWait()

public Duration getWait()

Output only. How long the operation will be paused.

.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Duration

The wait.

getWaitOrBuilder()

public DurationOrBuilder getWaitOrBuilder()

Output only. How long the operation will be paused.

.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
DurationOrBuilder

hasWait()

public boolean hasWait()

Output only. How long the operation will be paused.

.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the wait 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 AdvanceRolloutOperation.Builder newBuilderForType()
Returns
TypeDescription
AdvanceRolloutOperation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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