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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RolloutControl.Builder>
    • clear

      public RolloutControl.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RolloutControl.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RolloutControl.Builder>
    • getDefaultInstanceForType

      public RolloutControl getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RolloutControl build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RolloutControl buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RolloutControl.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RolloutControl.Builder>
    • mergeFrom

      public RolloutControl.Builder mergeFrom(RolloutControl other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RolloutControl.Builder>
      Throws:
      IOException
    • getActionParamsCase

      public RolloutControl.ActionParamsCase getActionParamsCase()
      Specified by:
      getActionParamsCase in interface RolloutControlOrBuilder
    • clearActionParams

      public RolloutControl.Builder 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:
      hasRunParams in interface RolloutControlOrBuilder
      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:
      getRunParams in interface RolloutControlOrBuilder
      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

       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

      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];
    • getRunParamsBuilder

      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];
    • getRunParamsOrBuilder

      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];
      Specified by:
      getRunParamsOrBuilder in interface RolloutControlOrBuilder
    • 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:
      getActionValue in interface RolloutControlOrBuilder
      Returns:
      The enum numeric value on the wire for action.
    • setActionValue

      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];
      Parameters:
      value - The enum numeric value on the wire for action to set.
      Returns:
      This builder for chaining.
    • getAction

      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];
      Specified by:
      getAction in interface RolloutControlOrBuilder
      Returns:
      The action.
    • setAction

      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];
      Parameters:
      value - The action to set.
      Returns:
      This builder for chaining.
    • clearAction

      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];
      Returns:
      This builder for chaining.