Class RolloutControl.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RolloutControl.Builder>
com.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl.Builder
- All Implemented Interfaces:
RolloutControlOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RolloutControl
public static final class RolloutControl.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RolloutControl.Builder>
implements RolloutControlOrBuilder
RolloutControl provides a way to request a change to the execution of a Rollout by pausing or canceling it.Protobuf type
google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Optional.Required.intRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RolloutControl other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.setAction(RolloutAction value) Required.setActionValue(int value) Required.Optional.setRunParams(RolloutControl.RunRolloutActionParams.Builder builderForValue) Optional.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<RolloutControl.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<RolloutControl.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<RolloutControl.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<RolloutControl.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RolloutControl.Builder>
-
mergeFrom
public RolloutControl.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<RolloutControl.Builder>- Throws:
IOException
-
getActionParamsCase
- Specified by:
getActionParamsCasein interfaceRolloutControlOrBuilder
-
clearActionParams
-
hasRunParams
public boolean hasRunParams()Optional. Parameters for the RUN action. It is an error to specify this if the RolloutAction is not set to RUN. By default, the rollout will retry failed operations when resumed.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl.RunRolloutActionParams run_params = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRunParamsin interfaceRolloutControlOrBuilder- Returns:
- Whether the runParams field is set.
-
getRunParams
Optional. Parameters for the RUN action. It is an error to specify this if the RolloutAction is not set to RUN. By default, the rollout will retry failed operations when resumed.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl.RunRolloutActionParams run_params = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRunParamsin interfaceRolloutControlOrBuilder- Returns:
- The runParams.
-
setRunParams
Optional. Parameters for the RUN action. It is an error to specify this if the RolloutAction is not set to RUN. By default, the rollout will retry failed operations when resumed.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl.RunRolloutActionParams run_params = 2 [(.google.api.field_behavior) = OPTIONAL]; -
setRunParams
public RolloutControl.Builder setRunParams(RolloutControl.RunRolloutActionParams.Builder builderForValue) Optional. Parameters for the RUN action. It is an error to specify this if the RolloutAction is not set to RUN. By default, the rollout will retry failed operations when resumed.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl.RunRolloutActionParams run_params = 2 [(.google.api.field_behavior) = OPTIONAL]; -
mergeRunParams
Optional. Parameters for the RUN action. It is an error to specify this if the RolloutAction is not set to RUN. By default, the rollout will retry failed operations when resumed.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl.RunRolloutActionParams run_params = 2 [(.google.api.field_behavior) = OPTIONAL]; -
clearRunParams
Optional. Parameters for the RUN action. It is an error to specify this if the RolloutAction is not set to RUN. By default, the rollout will retry failed operations when resumed.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl.RunRolloutActionParams run_params = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getRunParamsBuilder
Optional. Parameters for the RUN action. It is an error to specify this if the RolloutAction is not set to RUN. By default, the rollout will retry failed operations when resumed.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl.RunRolloutActionParams run_params = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getRunParamsOrBuilder
Optional. Parameters for the RUN action. It is an error to specify this if the RolloutAction is not set to RUN. By default, the rollout will retry failed operations when resumed.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl.RunRolloutActionParams run_params = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRunParamsOrBuilderin interfaceRolloutControlOrBuilder
-
getActionValue
public int getActionValue()Required. Action to be performed on the Rollout. The default behavior is to run the rollout until it naturally reaches a terminal state.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutAction action = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getActionValuein interfaceRolloutControlOrBuilder- Returns:
- The enum numeric value on the wire for action.
-
setActionValue
Required. Action to be performed on the Rollout. The default behavior is to run the rollout until it naturally reaches a terminal state.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutAction action = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for action to set.- Returns:
- This builder for chaining.
-
getAction
Required. Action to be performed on the Rollout. The default behavior is to run the rollout until it naturally reaches a terminal state.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutAction action = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getActionin interfaceRolloutControlOrBuilder- Returns:
- The action.
-
setAction
Required. Action to be performed on the Rollout. The default behavior is to run the rollout until it naturally reaches a terminal state.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutAction action = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The action to set.- Returns:
- This builder for chaining.
-
clearAction
Required. Action to be performed on the Rollout. The default behavior is to run the rollout until it naturally reaches a terminal state.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutAction action = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-