Class Phase (1.33.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
TypeDescription
int

DEPLOYMENT_JOBS_FIELD_NUMBER

public static final int DEPLOYMENT_JOBS_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

SKIP_MESSAGE_FIELD_NUMBER

public static final int SKIP_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Phase getDefaultInstance()
Returns
TypeDescription
Phase

getDescriptor()

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

newBuilder()

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

newBuilder(Phase prototype)

public static Phase.Builder newBuilder(Phase prototype)
Parameter
NameDescription
prototypePhase
Returns
TypeDescription
Phase.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ChildRolloutJobsOrBuilder

getDefaultInstanceForType()

public Phase getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DeploymentJobsOrBuilder

getId()

public String getId()

Output only. The ID of the Phase.

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

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

Output only. The ID of the Phase.

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

Returns
TypeDescription
ByteString

The bytes for id.

getJobsCase()

public Phase.JobsCase getJobsCase()
Returns
TypeDescription
Phase.JobsCase

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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