Class Phase.Builder (1.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Phase.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Phase.Builder
Overrides

build()

public Phase build()
Returns
TypeDescription
Phase

buildPartial()

public Phase buildPartial()
Returns
TypeDescription
Phase

clear()

public Phase.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Phase.Builder

clearField(Descriptors.FieldDescriptor field)

public Phase.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Phase.Builder

This builder for chaining.

clearJobs()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Phase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Phase.Builder

This builder for chaining.

clone()

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

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
TypeDescription
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
TypeDescription
DeploymentJobsOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueChildRolloutJobs
Returns
TypeDescription
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
NameDescription
valueDeploymentJobs
Returns
TypeDescription
Phase.Builder

mergeFrom(Phase other)

public Phase.Builder mergeFrom(Phase other)
Parameter
NameDescription
otherPhase
Returns
TypeDescription
Phase.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Phase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Phase.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Phase.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Phase.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Phase.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueChildRolloutJobs
Returns
TypeDescription
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
NameDescription
builderForValueChildRolloutJobs.Builder
Returns
TypeDescription
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
NameDescription
valueDeploymentJobs
Returns
TypeDescription
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
NameDescription
builderForValueDeploymentJobs.Builder
Returns
TypeDescription
Phase.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Phase.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The id to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The skipMessage to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for skipMessage to set.

Returns
TypeDescription
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
NameDescription
valuePhase.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
Phase.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Phase.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Phase.Builder
Overrides