Interface NfsShareOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NfsShare
,NfsShare.Builder
public interface NfsShareOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Labels as key value pairs.NfsShare.AllowedClient
getAllowedClients(int index)
List of allowed access points.int
getAllowedClientsCount()
List of allowed access points.List<NfsShare.AllowedClient>
getAllowedClientsList()
List of allowed access points.NfsShare.AllowedClientOrBuilder
getAllowedClientsOrBuilder(int index)
List of allowed access points.List<? extends NfsShare.AllowedClientOrBuilder>
getAllowedClientsOrBuilderList()
List of allowed access points.String
getId()
Output only.com.google.protobuf.ByteString
getIdBytes()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels as key value pairs.Map<String,String>
getLabelsMap()
Labels as key value pairs.String
getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.String
getLabelsOrThrow(String key)
Labels as key value pairs.String
getName()
Immutable.com.google.protobuf.ByteString
getNameBytes()
Immutable.String
getNfsShareId()
Output only.com.google.protobuf.ByteString
getNfsShareIdBytes()
Output only.long
getRequestedSizeGib()
The requested size, in GiB.NfsShare.State
getState()
Output only.int
getStateValue()
Output only.NfsShare.StorageType
getStorageType()
Immutable.int
getStorageTypeValue()
Immutable.String
getVolume()
Output only.com.google.protobuf.ByteString
getVolumeBytes()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Immutable. The name of the NFS share.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Immutable. The name of the NFS share.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The bytes for name.
-
getNfsShareId
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];
- Returns:
- The nfsShareId.
-
getNfsShareIdBytes
com.google.protobuf.ByteString getNfsShareIdBytes()
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];
- Returns:
- The bytes for nfsShareId.
-
getId
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];
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
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];
- Returns:
- The bytes for id.
-
getStateValue
int getStateValue()
Output only. The state of the NFS share.
.google.cloud.baremetalsolution.v2.NfsShare.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for state.
-
getState
NfsShare.State getState()
Output only. The state of the NFS share.
.google.cloud.baremetalsolution.v2.NfsShare.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The state.
-
getVolume
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) = { ... }
- Returns:
- The volume.
-
getVolumeBytes
com.google.protobuf.ByteString getVolumeBytes()
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) = { ... }
- Returns:
- The bytes for volume.
-
getAllowedClientsList
List<NfsShare.AllowedClient> getAllowedClientsList()
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
-
getAllowedClients
NfsShare.AllowedClient getAllowedClients(int index)
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
-
getAllowedClientsCount
int getAllowedClientsCount()
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
-
getAllowedClientsOrBuilderList
List<? extends NfsShare.AllowedClientOrBuilder> getAllowedClientsOrBuilderList()
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
-
getAllowedClientsOrBuilder
NfsShare.AllowedClientOrBuilder getAllowedClientsOrBuilder(int index)
List of allowed access points.
repeated .google.cloud.baremetalsolution.v2.NfsShare.AllowedClient allowed_clients = 5;
-
getLabelsCount
int getLabelsCount()
Labels as key value pairs.
map<string, string> labels = 6;
-
containsLabels
boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 6;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 6;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 6;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 6;
-
getRequestedSizeGib
long getRequestedSizeGib()
The requested size, in GiB.
int64 requested_size_gib = 7;
- Returns:
- The requestedSizeGib.
-
getStorageTypeValue
int getStorageTypeValue()
Immutable. The storage type of the underlying volume.
.google.cloud.baremetalsolution.v2.NfsShare.StorageType storage_type = 9 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The enum numeric value on the wire for storageType.
-
getStorageType
NfsShare.StorageType getStorageType()
Immutable. The storage type of the underlying volume.
.google.cloud.baremetalsolution.v2.NfsShare.StorageType storage_type = 9 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- The storageType.
-
-