Package com.google.cloud.deploy.v1
Class AdvanceRolloutOperation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AdvanceRolloutOperation.Builder>
com.google.cloud.deploy.v1.AdvanceRolloutOperation.Builder
- All Implemented Interfaces:
AdvanceRolloutOperationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AdvanceRolloutOperation
public static final class AdvanceRolloutOperation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AdvanceRolloutOperation.Builder>
implements AdvanceRolloutOperationOrBuilder
Contains the information of an automated advance-rollout operation.Protobuf type
google.cloud.deploy.v1.AdvanceRolloutOperation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.DurationgetWait()Output only.com.google.protobuf.Duration.BuilderOutput only.com.google.protobuf.DurationOrBuilderOutput only.booleanhasWait()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(AdvanceRolloutOperation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeWait(com.google.protobuf.Duration value) Output only.setDestinationPhase(String value) Output only.setDestinationPhaseBytes(com.google.protobuf.ByteString value) Output only.setRollout(String value) Output only.setRolloutBytes(com.google.protobuf.ByteString value) Output only.setSourcePhase(String value) Output only.setSourcePhaseBytes(com.google.protobuf.ByteString value) Output only.setWait(com.google.protobuf.Duration value) Output only.setWait(com.google.protobuf.Duration.Builder builderForValue) 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<AdvanceRolloutOperation.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<AdvanceRolloutOperation.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<AdvanceRolloutOperation.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<AdvanceRolloutOperation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AdvanceRolloutOperation.Builder>
-
mergeFrom
public AdvanceRolloutOperation.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<AdvanceRolloutOperation.Builder>- Throws:
IOException
-
getSourcePhase
Output only. The phase of a deployment that initiated the operation.
string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSourcePhasein interfaceAdvanceRolloutOperationOrBuilder- Returns:
- The sourcePhase.
-
getSourcePhaseBytes
public com.google.protobuf.ByteString getSourcePhaseBytes()Output only. The phase of a deployment that initiated the operation.
string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSourcePhaseBytesin interfaceAdvanceRolloutOperationOrBuilder- Returns:
- The bytes for sourcePhase.
-
setSourcePhase
Output only. The phase of a deployment that initiated the operation.
string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The sourcePhase to set.- Returns:
- This builder for chaining.
-
clearSourcePhase
Output only. The phase of a deployment that initiated the operation.
string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setSourcePhaseBytes
Output only. The phase of a deployment that initiated the operation.
string source_phase = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for sourcePhase to set.- Returns:
- This builder for chaining.
-
hasWait
public boolean hasWait()Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasWaitin interfaceAdvanceRolloutOperationOrBuilder- Returns:
- Whether the wait field is set.
-
getWait
public com.google.protobuf.Duration getWait()Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWaitin interfaceAdvanceRolloutOperationOrBuilder- Returns:
- The wait.
-
setWait
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setWait
public AdvanceRolloutOperation.Builder setWait(com.google.protobuf.Duration.Builder builderForValue) Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeWait
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearWait
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getWaitBuilder
public com.google.protobuf.Duration.Builder getWaitBuilder()Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getWaitOrBuilder
public com.google.protobuf.DurationOrBuilder getWaitOrBuilder()Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWaitOrBuilderin interfaceAdvanceRolloutOperationOrBuilder
-
getRollout
Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRolloutin interfaceAdvanceRolloutOperationOrBuilder- Returns:
- The rollout.
-
getRolloutBytes
public com.google.protobuf.ByteString getRolloutBytes()Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRolloutBytesin interfaceAdvanceRolloutOperationOrBuilder- Returns:
- The bytes for rollout.
-
setRollout
Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The rollout to set.- Returns:
- This builder for chaining.
-
clearRollout
Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setRolloutBytes
Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for rollout to set.- Returns:
- This builder for chaining.
-
getDestinationPhase
Output only. The phase the rollout will be advanced to.
string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDestinationPhasein interfaceAdvanceRolloutOperationOrBuilder- Returns:
- The destinationPhase.
-
getDestinationPhaseBytes
public com.google.protobuf.ByteString getDestinationPhaseBytes()Output only. The phase the rollout will be advanced to.
string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDestinationPhaseBytesin interfaceAdvanceRolloutOperationOrBuilder- Returns:
- The bytes for destinationPhase.
-
setDestinationPhase
Output only. The phase the rollout will be advanced to.
string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The destinationPhase to set.- Returns:
- This builder for chaining.
-
clearDestinationPhase
Output only. The phase the rollout will be advanced to.
string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDestinationPhaseBytes
public AdvanceRolloutOperation.Builder setDestinationPhaseBytes(com.google.protobuf.ByteString value) Output only. The phase the rollout will be advanced to.
string destination_phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for destinationPhase to set.- Returns:
- This builder for chaining.
-