Class Phase (1.53.0)

public final class Phase extends GeneratedMessageV3 implements PhaseOrBuilder

Phase represents a collection of jobs that are logically grouped together for a Rollout.

Protobuf type google.cloud.deploy.v1.Phase

Implements

PhaseOrBuilder

Static Fields

CHILD_ROLLOUT_JOBS_FIELD_NUMBER

public static final int CHILD_ROLLOUT_JOBS_FIELD_NUMBER
Field Value
Type Description
int

DEPLOYMENT_JOBS_FIELD_NUMBER

public static final int DEPLOYMENT_JOBS_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

SKIP_MESSAGE_FIELD_NUMBER

public static final int SKIP_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Phase getDefaultInstance()
Returns
Type Description
Phase

getDescriptor()

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

newBuilder()

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

newBuilder(Phase prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getChildRolloutJobs()

public ChildRolloutJobs getChildRolloutJobs()

Output only. ChildRollout job composition.

.google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ChildRolloutJobs

The childRolloutJobs.

getChildRolloutJobsOrBuilder()

public ChildRolloutJobsOrBuilder getChildRolloutJobsOrBuilder()

Output only. ChildRollout job composition.

.google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ChildRolloutJobsOrBuilder

getDefaultInstanceForType()

public Phase getDefaultInstanceForType()
Returns
Type Description
Phase

getDeploymentJobs()

public DeploymentJobs getDeploymentJobs()

Output only. Deployment job composition.

.google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentJobs

The deploymentJobs.

getDeploymentJobsOrBuilder()

public DeploymentJobsOrBuilder getDeploymentJobsOrBuilder()

Output only. Deployment job composition.

.google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentJobsOrBuilder

getId()

public String getId()

Output only. The ID of the Phase.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Output only. The ID of the Phase.

string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for id.

getJobsCase()

public Phase.JobsCase getJobsCase()
Returns
Type Description
Phase.JobsCase

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSkipMessage()

public String getSkipMessage()

Output only. Additional information on why the Phase was skipped, if available.

string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The skipMessage.

getSkipMessageBytes()

public ByteString getSkipMessageBytes()

Output only. Additional information on why the Phase was skipped, if available.

string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for skipMessage.

getState()

public Phase.State getState()

Output only. Current state of the Phase.

.google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Phase.State

The state.

getStateValue()

public int getStateValue()

Output only. Current state of the Phase.

.google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasChildRolloutJobs()

public boolean hasChildRolloutJobs()

Output only. ChildRollout job composition.

.google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the childRolloutJobs field is set.

hasDeploymentJobs()

public boolean hasDeploymentJobs()

Output only. Deployment job composition.

.google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the deploymentJobs field is set.

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 Phase.Builder newBuilderForType()
Returns
Type Description
Phase.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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