All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.deploy.v1.RepairRolloutRuleOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.47.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/deploy/v1/cloud_deploy.proto

// Protobuf Java Version: 3.25.3
package com.google.cloud.deploy.v1;

public interface RepairRolloutRuleOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.RepairRolloutRule)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Required. ID of the rule. This id must be unique in the `Automation`
   * resource to which this rule belongs. The format is
   * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
   * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The id. */ java.lang.String getId(); /** * * *
   * Required. ID of the rule. This id must be unique in the `Automation`
   * resource to which this rule belongs. The format is
   * `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
   * 
* * string id = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** * * *
   * Optional. Jobs to repair. Proceeds only after job name matched any one in
   * the list, or for all jobs if unspecified or empty. The phase that includes
   * the job must match the phase ID specified in `source_phase`. This value
   * must consist of lower-case letters, numbers, and hyphens, start with a
   * letter and end with a letter or a number, and have a max length of 63
   * characters. In other words, it must match the following regex:
   * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
   * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return A list containing the jobs. */ java.util.List getJobsList(); /** * * *
   * Optional. Jobs to repair. Proceeds only after job name matched any one in
   * the list, or for all jobs if unspecified or empty. The phase that includes
   * the job must match the phase ID specified in `source_phase`. This value
   * must consist of lower-case letters, numbers, and hyphens, start with a
   * letter and end with a letter or a number, and have a max length of 63
   * characters. In other words, it must match the following regex:
   * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
   * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The count of jobs. */ int getJobsCount(); /** * * *
   * Optional. Jobs to repair. Proceeds only after job name matched any one in
   * the list, or for all jobs if unspecified or empty. The phase that includes
   * the job must match the phase ID specified in `source_phase`. This value
   * must consist of lower-case letters, numbers, and hyphens, start with a
   * letter and end with a letter or a number, and have a max length of 63
   * characters. In other words, it must match the following regex:
   * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
   * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the element to return. * @return The jobs at the given index. */ java.lang.String getJobs(int index); /** * * *
   * Optional. Jobs to repair. Proceeds only after job name matched any one in
   * the list, or for all jobs if unspecified or empty. The phase that includes
   * the job must match the phase ID specified in `source_phase`. This value
   * must consist of lower-case letters, numbers, and hyphens, start with a
   * letter and end with a letter or a number, and have a max length of 63
   * characters. In other words, it must match the following regex:
   * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
   * 
* * repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param index The index of the value to return. * @return The bytes of the jobs at the given index. */ com.google.protobuf.ByteString getJobsBytes(int index); /** * * *
   * Output only. Information around the state of the 'Automation' rule.
   * 
* * * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the condition field is set. */ boolean hasCondition(); /** * * *
   * Output only. Information around the state of the 'Automation' rule.
   * 
* * * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The condition. */ com.google.cloud.deploy.v1.AutomationRuleCondition getCondition(); /** * * *
   * Output only. Information around the state of the 'Automation' rule.
   * 
* * * .google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.cloud.deploy.v1.AutomationRuleConditionOrBuilder getConditionOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy