public static final class Phase.Builder extends GeneratedMessage.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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Phase.BuilderImplements
PhaseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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 |
|
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Phase.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Phase.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
Phase.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe 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.StateThe 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 |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
Phase.Builder |
This builder for chaining. |