com.google.cloud.filestore.v1beta1.FileShareConfigOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-filestore-v1beta1 Show documentation
Show all versions of proto-google-cloud-filestore-v1beta1 Show documentation
Proto library for google-cloud-filestore
/*
* 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/filestore/v1beta1/cloud_filestore_service.proto
// Protobuf Java Version: 3.25.2
package com.google.cloud.filestore.v1beta1;
public interface FileShareConfigOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.filestore.v1beta1.FileShareConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. The name of the file share. Must use 1-16 characters for the
* basic service tier and 1-63 characters for all other service tiers.
* Must use lowercase letters, numbers, or underscores `[a-z0-9_]`. Must
* start with a letter. Immutable.
*
*
* string name = 1;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Required. The name of the file share. Must use 1-16 characters for the
* basic service tier and 1-63 characters for all other service tiers.
* Must use lowercase letters, numbers, or underscores `[a-z0-9_]`. Must
* start with a letter. Immutable.
*
*
* string name = 1;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* File share capacity in gigabytes (GB).
* Filestore defines 1 GB as 1024^3 bytes.
*
*
* int64 capacity_gb = 2;
*
* @return The capacityGb.
*/
long getCapacityGb();
/**
*
*
*
* The resource name of the backup, in the format
* `projects/{project_id}/locations/{location_id}/backups/{backup_id}`, that
* this file share has been restored from.
*
*
* string source_backup = 9 [(.google.api.resource_reference) = { ... }
*
* @return Whether the sourceBackup field is set.
*/
boolean hasSourceBackup();
/**
*
*
*
* The resource name of the backup, in the format
* `projects/{project_id}/locations/{location_id}/backups/{backup_id}`, that
* this file share has been restored from.
*
*
* string source_backup = 9 [(.google.api.resource_reference) = { ... }
*
* @return The sourceBackup.
*/
java.lang.String getSourceBackup();
/**
*
*
*
* The resource name of the backup, in the format
* `projects/{project_id}/locations/{location_id}/backups/{backup_id}`, that
* this file share has been restored from.
*
*
* string source_backup = 9 [(.google.api.resource_reference) = { ... }
*
* @return The bytes for sourceBackup.
*/
com.google.protobuf.ByteString getSourceBackupBytes();
/**
*
*
*
* Nfs Export Options.
* There is a limit of 10 export options per file share.
*
*
* repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 8;
*/
java.util.List getNfsExportOptionsList();
/**
*
*
*
* Nfs Export Options.
* There is a limit of 10 export options per file share.
*
*
* repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 8;
*/
com.google.cloud.filestore.v1beta1.NfsExportOptions getNfsExportOptions(int index);
/**
*
*
*
* Nfs Export Options.
* There is a limit of 10 export options per file share.
*
*
* repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 8;
*/
int getNfsExportOptionsCount();
/**
*
*
*
* Nfs Export Options.
* There is a limit of 10 export options per file share.
*
*
* repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 8;
*/
java.util.List extends com.google.cloud.filestore.v1beta1.NfsExportOptionsOrBuilder>
getNfsExportOptionsOrBuilderList();
/**
*
*
*
* Nfs Export Options.
* There is a limit of 10 export options per file share.
*
*
* repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 8;
*/
com.google.cloud.filestore.v1beta1.NfsExportOptionsOrBuilder getNfsExportOptionsOrBuilder(
int index);
com.google.cloud.filestore.v1beta1.FileShareConfig.SourceCase getSourceCase();
}