Package com.google.cloud.deploy.v1
Class Phase.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Phase.Builder>
com.google.cloud.deploy.v1.Phase.Builder
- All Implemented Interfaces:
PhaseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Phase
public static final class Phase.Builder
extends com.google.protobuf.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.clearId()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.setChildRolloutJobs(ChildRolloutJobs.Builder builderForValue) Output only.setDeploymentJobs(DeploymentJobs value) Output only.setDeploymentJobs(DeploymentJobs.Builder builderForValue) Output only.Output only.setIdBytes(com.google.protobuf.ByteString value) Output only.setSkipMessage(String value) Output only.setSkipMessageBytes(com.google.protobuf.ByteString value) Output only.setState(Phase.State value) Output only.setStateValue(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Phase.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Phase.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Phase.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Phase.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Phase.Builder>
-
mergeFrom
public Phase.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Phase.Builder>- Throws:
IOException
-
getJobsCase
- Specified by:
getJobsCasein interfacePhaseOrBuilder
-
clearJobs
-
getId
Output only. The ID of the Phase.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfacePhaseOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Output only. The ID of the Phase.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdBytesin interfacePhaseOrBuilder- Returns:
- The bytes for id.
-
setId
Output only. The ID of the Phase.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. The ID of the Phase.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setIdBytes
Output only. The ID of the Phase.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getStateValuein interfacePhaseOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. Current state of the Phase.
.google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. Current state of the Phase.
.google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfacePhaseOrBuilder- Returns:
- The state.
-
setState
Output only. Current state of the Phase.
.google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. Current state of the Phase.
.google.cloud.deploy.v1.Phase.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getSkipMessage
Output only. Additional information on why the Phase was skipped, if available.
string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSkipMessagein interfacePhaseOrBuilder- Returns:
- The skipMessage.
-
getSkipMessageBytes
public com.google.protobuf.ByteString getSkipMessageBytes()Output only. Additional information on why the Phase was skipped, if available.
string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSkipMessageBytesin interfacePhaseOrBuilder- Returns:
- The bytes for skipMessage.
-
setSkipMessage
Output only. Additional information on why the Phase was skipped, if available.
string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The skipMessage to set.- Returns:
- This builder for chaining.
-
clearSkipMessage
Output only. Additional information on why the Phase was skipped, if available.
string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setSkipMessageBytes
Output only. Additional information on why the Phase was skipped, if available.
string skip_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for skipMessage to set.- Returns:
- This builder for chaining.
-
hasDeploymentJobs
public boolean hasDeploymentJobs()Output only. Deployment job composition.
.google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeploymentJobsin interfacePhaseOrBuilder- Returns:
- Whether the deploymentJobs field is set.
-
getDeploymentJobs
Output only. Deployment job composition.
.google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeploymentJobsin interfacePhaseOrBuilder- Returns:
- The deploymentJobs.
-
setDeploymentJobs
Output only. Deployment job composition.
.google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDeploymentJobs
Output only. Deployment job composition.
.google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDeploymentJobs
Output only. Deployment job composition.
.google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDeploymentJobs
Output only. Deployment job composition.
.google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeploymentJobsBuilder
Output only. Deployment job composition.
.google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeploymentJobsOrBuilder
Output only. Deployment job composition.
.google.cloud.deploy.v1.DeploymentJobs deployment_jobs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeploymentJobsOrBuilderin interfacePhaseOrBuilder
-
hasChildRolloutJobs
public boolean hasChildRolloutJobs()Output only. ChildRollout job composition.
.google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasChildRolloutJobsin interfacePhaseOrBuilder- Returns:
- Whether the childRolloutJobs field is set.
-
getChildRolloutJobs
Output only. ChildRollout job composition.
.google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getChildRolloutJobsin interfacePhaseOrBuilder- Returns:
- The childRolloutJobs.
-
setChildRolloutJobs
Output only. ChildRollout job composition.
.google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setChildRolloutJobs
Output only. ChildRollout job composition.
.google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeChildRolloutJobs
Output only. ChildRollout job composition.
.google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearChildRolloutJobs
Output only. ChildRollout job composition.
.google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getChildRolloutJobsBuilder
Output only. ChildRollout job composition.
.google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getChildRolloutJobsOrBuilder
Output only. ChildRollout job composition.
.google.cloud.deploy.v1.ChildRolloutJobs child_rollout_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getChildRolloutJobsOrBuilderin interfacePhaseOrBuilder
-