public static final class RolloutControl.Builder extends GeneratedMessageV3.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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public RolloutControl.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RolloutControl build()
public RolloutControl buildPartial()
public RolloutControl.Builder clear()
Overrides
public RolloutControl.Builder 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];
public RolloutControl.Builder clearActionParams()
public RolloutControl.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RolloutControl.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RolloutControl.Builder 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];
public RolloutControl.Builder clone()
Overrides
public RolloutAction 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];
public RolloutControl.ActionParamsCase getActionParamsCase()
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];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for action.
|
public RolloutControl getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public RolloutControl.RunRolloutActionParams 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];
public RolloutControl.RunRolloutActionParams.Builder 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];
public RolloutControl.RunRolloutActionParamsOrBuilder 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];
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];
Returns |
Type |
Description |
boolean |
Whether the runParams field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RolloutControl.Builder mergeFrom(RolloutControl other)
public RolloutControl.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RolloutControl.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public RolloutControl.Builder mergeRunParams(RolloutControl.RunRolloutActionParams value)
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];
public final RolloutControl.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RolloutControl.Builder setAction(RolloutAction value)
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];
public RolloutControl.Builder setActionValue(int value)
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];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for action to set.
|
public RolloutControl.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RolloutControl.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public RolloutControl.Builder setRunParams(RolloutControl.RunRolloutActionParams value)
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];
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];
public final RolloutControl.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides