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 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;
      • 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.