com.google.cloud.gkebackup.v1.CreateRestoreRequestOrBuilder Maven / Gradle / Ivy
/*
* 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/gkebackup/v1/gkebackup.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.gkebackup.v1;
public interface CreateRestoreRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.gkebackup.v1.CreateRestoreRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. The RestorePlan within which to create the Restore.
* Format: `projects/*/locations/*/restorePlans/*`
*
*
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The parent.
*/
java.lang.String getParent();
/**
*
*
*
* Required. The RestorePlan within which to create the Restore.
* Format: `projects/*/locations/*/restorePlans/*`
*
*
*
* string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
/**
*
*
*
* Required. The restore resource to create.
*
*
* .google.cloud.gkebackup.v1.Restore restore = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the restore field is set.
*/
boolean hasRestore();
/**
*
*
*
* Required. The restore resource to create.
*
*
* .google.cloud.gkebackup.v1.Restore restore = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The restore.
*/
com.google.cloud.gkebackup.v1.Restore getRestore();
/**
*
*
*
* Required. The restore resource to create.
*
*
* .google.cloud.gkebackup.v1.Restore restore = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.cloud.gkebackup.v1.RestoreOrBuilder getRestoreOrBuilder();
/**
*
*
*
* Required. The client-provided short name for the Restore resource.
* This name must:
*
* - be between 1 and 63 characters long (inclusive)
* - consist of only lower-case ASCII letters, numbers, and dashes
* - start with a lower-case letter
* - end with a lower-case letter or number
* - be unique within the set of Restores in this RestorePlan.
*
*
* string restore_id = 3 [(.google.api.field_behavior) = REQUIRED];
*
* @return The restoreId.
*/
java.lang.String getRestoreId();
/**
*
*
*
* Required. The client-provided short name for the Restore resource.
* This name must:
*
* - be between 1 and 63 characters long (inclusive)
* - consist of only lower-case ASCII letters, numbers, and dashes
* - start with a lower-case letter
* - end with a lower-case letter or number
* - be unique within the set of Restores in this RestorePlan.
*
*
* string restore_id = 3 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for restoreId.
*/
com.google.protobuf.ByteString getRestoreIdBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy