com.google.cloud.deploy.v1.RetryOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-deploy-v1 Show documentation
Show all versions of proto-google-cloud-deploy-v1 Show documentation
Proto library for google-cloud-deploy
/*
* 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 RetryOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.deploy.v1.Retry)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. Total number of retries. Retry is skipped if set to 0; The
* minimum value is 1, and the maximum value is 10.
*
*
* int64 attempts = 1 [(.google.api.field_behavior) = REQUIRED];
*
* @return The attempts.
*/
long getAttempts();
/**
*
*
*
* Optional. How long to wait for the first retry. Default is 0, and the
* maximum value is 14d.
*
*
* .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return Whether the wait field is set.
*/
boolean hasWait();
/**
*
*
*
* Optional. How long to wait for the first retry. Default is 0, and the
* maximum value is 14d.
*
*
* .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The wait.
*/
com.google.protobuf.Duration getWait();
/**
*
*
*
* Optional. How long to wait for the first retry. Default is 0, and the
* maximum value is 14d.
*
*
* .google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OPTIONAL];
*/
com.google.protobuf.DurationOrBuilder getWaitOrBuilder();
/**
*
*
*
* Optional. The pattern of how wait time will be increased. Default is
* linear. Backoff mode will be ignored if `wait` is 0.
*
*
*
* .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The enum numeric value on the wire for backoffMode.
*/
int getBackoffModeValue();
/**
*
*
*
* Optional. The pattern of how wait time will be increased. Default is
* linear. Backoff mode will be ignored if `wait` is 0.
*
*
*
* .google.cloud.deploy.v1.BackoffMode backoff_mode = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The backoffMode.
*/
com.google.cloud.deploy.v1.BackoffMode getBackoffMode();
}