com.google.cloud.baremetalsolution.v2.NfsShareOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-bare-metal-solution-v2 Show documentation
Show all versions of proto-google-cloud-bare-metal-solution-v2 Show documentation
Proto library for google-cloud-bare-metal-solution
/*
* Copyright 2023 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/baremetalsolution/v2/nfs_share.proto
package com.google.cloud.baremetalsolution.v2;
public interface NfsShareOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.baremetalsolution.v2.NfsShare)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Immutable. The name of the NFS share.
*
*
* string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Immutable. The name of the NFS share.
*
*
* string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Output only. An identifier for the NFS share, generated by the backend.
* This field will be deprecated in the future, use `id` instead.
*
*
* string nfs_share_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The nfsShareId.
*/
java.lang.String getNfsShareId();
/**
*
*
*
* Output only. An identifier for the NFS share, generated by the backend.
* This field will be deprecated in the future, use `id` instead.
*
*
* string nfs_share_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for nfsShareId.
*/
com.google.protobuf.ByteString getNfsShareIdBytes();
/**
*
*
*
* Output only. An identifier for the NFS share, generated by the backend.
* This is the same value as nfs_share_id and will replace it in the future.
*
*
* string id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The id.
*/
java.lang.String getId();
/**
*
*
*
* Output only. An identifier for the NFS share, generated by the backend.
* This is the same value as nfs_share_id and will replace it in the future.
*
*
* string id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
/**
*
*
*
* Output only. The state of the NFS share.
*
*
*
* .google.cloud.baremetalsolution.v2.NfsShare.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*
*
* Output only. The state of the NFS share.
*
*
*
* .google.cloud.baremetalsolution.v2.NfsShare.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The state.
*/
com.google.cloud.baremetalsolution.v2.NfsShare.State getState();
/**
*
*
*
* Output only. The underlying volume of the share. Created automatically
* during provisioning.
*
*
*
* string volume = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
*
*
* @return The volume.
*/
java.lang.String getVolume();
/**
*
*
*
* Output only. The underlying volume of the share. Created automatically
* during provisioning.
*
*
*
* string volume = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for volume.
*/
com.google.protobuf.ByteString getVolumeBytes();
/**
*
*
*
* List of allowed access points.
*
*
* repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
*
*/
java.util.List
getAllowedClientsList();
/**
*
*
*
* List of allowed access points.
*
*
* repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
*
*/
com.google.cloud.baremetalsolution.v2.NfsShare.AllowedClient getAllowedClients(int index);
/**
*
*
*
* List of allowed access points.
*
*
* repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
*
*/
int getAllowedClientsCount();
/**
*
*
*
* List of allowed access points.
*
*
* repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
*
*/
java.util.List extends com.google.cloud.baremetalsolution.v2.NfsShare.AllowedClientOrBuilder>
getAllowedClientsOrBuilderList();
/**
*
*
*
* List of allowed access points.
*
*
* repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
*
*/
com.google.cloud.baremetalsolution.v2.NfsShare.AllowedClientOrBuilder getAllowedClientsOrBuilder(
int index);
/**
*
*
*
* Labels as key value pairs.
*
*
* map<string, string> labels = 6;
*/
int getLabelsCount();
/**
*
*
*
* Labels as key value pairs.
*
*
* map<string, string> labels = 6;
*/
boolean containsLabels(java.lang.String key);
/** Use {@link #getLabelsMap()} instead. */
@java.lang.Deprecated
java.util.Map getLabels();
/**
*
*
*
* Labels as key value pairs.
*
*
* map<string, string> labels = 6;
*/
java.util.Map getLabelsMap();
/**
*
*
*
* Labels as key value pairs.
*
*
* map<string, string> labels = 6;
*/
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Labels as key value pairs.
*
*
* map<string, string> labels = 6;
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
/**
*
*
*
* The requested size, in GiB.
*
*
* int64 requested_size_gib = 7;
*
* @return The requestedSizeGib.
*/
long getRequestedSizeGib();
/**
*
*
*
* Immutable. The storage type of the underlying volume.
*
*
*
* .google.cloud.baremetalsolution.v2.NfsShare.StorageType storage_type = 9 [(.google.api.field_behavior) = IMMUTABLE];
*
*
* @return The enum numeric value on the wire for storageType.
*/
int getStorageTypeValue();
/**
*
*
*
* Immutable. The storage type of the underlying volume.
*
*
*
* .google.cloud.baremetalsolution.v2.NfsShare.StorageType storage_type = 9 [(.google.api.field_behavior) = IMMUTABLE];
*
*
* @return The storageType.
*/
com.google.cloud.baremetalsolution.v2.NfsShare.StorageType getStorageType();
}