Class Phase.Builder (1.1.8)

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

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

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

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

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.

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

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

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

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