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 {
/**
*
*
*
* Output only. The name of the NFS share.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Output only. The name of the NFS share.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Output only. An identifier for the NFS share, generated by the backend.
*
*
* 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.
*
*
* string nfs_share_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for nfsShareId.
*/
com.google.protobuf.ByteString getNfsShareIdBytes();
/**
*
*
*
* The state of the NFS share.
*
*
* .google.cloud.baremetalsolution.v2.NfsShare.State state = 3;
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*
*
* The state of the NFS share.
*
*
* .google.cloud.baremetalsolution.v2.NfsShare.State state = 3;
*
* @return The state.
*/
com.google.cloud.baremetalsolution.v2.NfsShare.State getState();
/**
*
*
*
* The volume containing the share.
*
*
* string volume = 4 [(.google.api.resource_reference) = { ... }
*
* @return The volume.
*/
java.lang.String getVolume();
/**
*
*
*
* The volume containing the share.
*
*
* string volume = 4 [(.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);
}