Class Phase.Builder (1.42.0)

public static final class Phase.Builder extends GeneratedMessageV3.Builder<Phase.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Phase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Phase.Builder
Overrides

build()

public Phase build()
Returns
Type Description
Phase

buildPartial()

public Phase buildPartial()
Returns
Type Description
Phase

clear()

public Phase.Builder clear()
Returns
Type Description
Phase.Builder
Overrides

clearChildRolloutJobs()

public Phase.Builder clearChildRolloutJobs()

Output only. ChildRollout job composition.

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

Returns
Type Description
Phase.Builder

clearDeploymentJobs()

public Phase.Builder clearDeploymentJobs()

Output only. Deployment job composition.

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

Returns
Type Description
Phase.Builder

clearField(Descriptors.FieldDescriptor field)

public Phase.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Phase.Builder
Overrides

clearId()

public Phase.Builder clearId()

Output only. The ID of the Phase.

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

Returns
Type Description
Phase.Builder

This builder for chaining.

clearJobs()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Phase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Phase.Builder
Overrides

clearSkipMessage()

public Phase.Builder clearSkipMessage()

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
Phase.Builder

This builder for chaining.

clearState()

public Phase.Builder clearState()

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.Builder

This builder for chaining.

clone()

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

getChildRolloutJobsBuilder()

public ChildRolloutJobs.Builder getChildRolloutJobsBuilder()

Output only. ChildRollout job composition.

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

Returns
Type Description
ChildRolloutJobs.Builder

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.

getDeploymentJobsBuilder()

public DeploymentJobs.Builder getDeploymentJobsBuilder()

Output only. Deployment job composition.

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

Returns
Type Description
DeploymentJobs.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeChildRolloutJobs(ChildRolloutJobs value)

public Phase.Builder mergeChildRolloutJobs(ChildRolloutJobs value)

Output only. ChildRollout job composition.

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

Parameter
Name Description
value ChildRolloutJobs
Returns
Type Description
Phase.Builder

mergeDeploymentJobs(DeploymentJobs value)

public Phase.Builder mergeDeploymentJobs(DeploymentJobs value)

Output only. Deployment job composition.

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

Parameter
Name Description
value DeploymentJobs
Returns
Type Description
Phase.Builder

mergeFrom(Phase other)

public Phase.Builder mergeFrom(Phase other)
Parameter
Name Description
other Phase
Returns
Type Description
Phase.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Phase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Phase.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Phase.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Phase.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Phase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Phase.Builder
Overrides

setChildRolloutJobs(ChildRolloutJobs value)

public Phase.Builder setChildRolloutJobs(ChildRolloutJobs value)

Output only. ChildRollout job composition.

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

Parameter
Name Description
value ChildRolloutJobs
Returns
Type Description
Phase.Builder

setChildRolloutJobs(ChildRolloutJobs.Builder builderForValue)

public Phase.Builder setChildRolloutJobs(ChildRolloutJobs.Builder builderForValue)

Output only. ChildRollout job composition.

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

Parameter
Name Description
builderForValue ChildRolloutJobs.Builder
Returns
Type Description
Phase.Builder

setDeploymentJobs(DeploymentJobs value)

public Phase.Builder setDeploymentJobs(DeploymentJobs value)

Output only. Deployment job composition.

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

Parameter
Name Description
value DeploymentJobs
Returns
Type Description
Phase.Builder

setDeploymentJobs(DeploymentJobs.Builder builderForValue)

public Phase.Builder setDeploymentJobs(DeploymentJobs.Builder builderForValue)

Output only. Deployment job composition.

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

Parameter
Name Description
builderForValue DeploymentJobs.Builder
Returns
Type Description
Phase.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Phase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Phase.Builder
Overrides

setId(String value)

public Phase.Builder setId(String value)

Output only. The ID of the Phase.

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

Parameter
Name Description
value String

The id to set.

Returns
Type Description
Phase.Builder

This builder for chaining.

setIdBytes(ByteString value)

public Phase.Builder setIdBytes(ByteString value)

Output only. The ID of the Phase.

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

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
Phase.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Phase.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Phase.Builder
Overrides

setSkipMessage(String value)

public Phase.Builder setSkipMessage(String value)

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

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

Parameter
Name Description
value String

The skipMessage to set.

Returns
Type Description
Phase.Builder

This builder for chaining.

setSkipMessageBytes(ByteString value)

public Phase.Builder setSkipMessageBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for skipMessage to set.

Returns
Type Description
Phase.Builder

This builder for chaining.

setState(Phase.State value)

public Phase.Builder setState(Phase.State value)

Output only. Current state of the Phase.

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

Parameter
Name Description
value Phase.State

The state to set.

Returns
Type Description
Phase.Builder

This builder for chaining.

setStateValue(int value)

public Phase.Builder setStateValue(int value)

Output only. Current state of the Phase.

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

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Phase.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Phase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Phase.Builder
Overrides