Interface RollbackTargetRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RollbackTargetRequest, RollbackTargetRequest.Builder

@Generated public interface RollbackTargetRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Required. The `DeliveryPipeline` for which the rollback `Rollout` must be
       created. The format is
       `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The `DeliveryPipeline` for which the rollback `Rollout` must be
       created. The format is
       `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • getTargetId

      String getTargetId()
       Required. ID of the `Target` that is being rolled back.
       
      string target_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The targetId.
    • getTargetIdBytes

      com.google.protobuf.ByteString getTargetIdBytes()
       Required. ID of the `Target` that is being rolled back.
       
      string target_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for targetId.
    • getRolloutId

      String getRolloutId()
       Required. ID of the rollback `Rollout` to create.
       
      string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The rolloutId.
    • getRolloutIdBytes

      com.google.protobuf.ByteString getRolloutIdBytes()
       Required. ID of the rollback `Rollout` to create.
       
      string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for rolloutId.
    • getReleaseId

      String getReleaseId()
       Optional. ID of the `Release` to roll back to. If this isn't specified, the
       previous successful `Rollout` to the specified target will be used to
       determine the `Release`.
       
      string release_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The releaseId.
    • getReleaseIdBytes

      com.google.protobuf.ByteString getReleaseIdBytes()
       Optional. ID of the `Release` to roll back to. If this isn't specified, the
       previous successful `Rollout` to the specified target will be used to
       determine the `Release`.
       
      string release_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for releaseId.
    • getRolloutToRollBack

      String getRolloutToRollBack()
       Optional. If provided, this must be the latest `Rollout` that is on the
       `Target`.
       
      string rollout_to_roll_back = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The rolloutToRollBack.
    • getRolloutToRollBackBytes

      com.google.protobuf.ByteString getRolloutToRollBackBytes()
       Optional. If provided, this must be the latest `Rollout` that is on the
       `Target`.
       
      string rollout_to_roll_back = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for rolloutToRollBack.
    • hasRollbackConfig

      boolean hasRollbackConfig()
       Optional. Configs for the rollback `Rollout`.
       
      .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the rollbackConfig field is set.
    • getRollbackConfig

      RollbackTargetConfig getRollbackConfig()
       Optional. Configs for the rollback `Rollout`.
       
      .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The rollbackConfig.
    • getRollbackConfigOrBuilder

      RollbackTargetConfigOrBuilder getRollbackConfigOrBuilder()
       Optional. Configs for the rollback `Rollout`.
       
      .google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getValidateOnly

      boolean getValidateOnly()
       Optional. If set to true, the request is validated and the user is provided
       with a `RollbackTargetResponse`.
       
      bool validate_only = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The validateOnly.
    • getOverrideDeployPolicyList

      List<String> getOverrideDeployPolicyList()
       Optional. Deploy policies to override. Format is
       `projects/{project}/locations/{location}/deployPolicies/{deploy_policy}`.
       
      repeated string override_deploy_policy = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      A list containing the overrideDeployPolicy.
    • getOverrideDeployPolicyCount

      int getOverrideDeployPolicyCount()
       Optional. Deploy policies to override. Format is
       `projects/{project}/locations/{location}/deployPolicies/{deploy_policy}`.
       
      repeated string override_deploy_policy = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The count of overrideDeployPolicy.
    • getOverrideDeployPolicy

      String getOverrideDeployPolicy(int index)
       Optional. Deploy policies to override. Format is
       `projects/{project}/locations/{location}/deployPolicies/{deploy_policy}`.
       
      repeated string override_deploy_policy = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The overrideDeployPolicy at the given index.
    • getOverrideDeployPolicyBytes

      com.google.protobuf.ByteString getOverrideDeployPolicyBytes(int index)
       Optional. Deploy policies to override. Format is
       `projects/{project}/locations/{location}/deployPolicies/{deploy_policy}`.
       
      repeated string override_deploy_policy = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the overrideDeployPolicy at the given index.