Interface FileShareConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    FileShareConfig, FileShareConfig.Builder

    public interface FileShareConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         The name of the file share (must be 16 characters or less).
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name of the file share (must be 16 characters or less).
         
        string name = 1;
        Returns:
        The bytes for name.
      • getCapacityGb

        long getCapacityGb()
         File share capacity in gigabytes (GB).
         Filestore defines 1 GB as 1024^3 bytes.
         
        int64 capacity_gb = 2;
        Returns:
        The capacityGb.
      • hasSourceBackup

        boolean hasSourceBackup()
         The resource name of the backup, in the format
         `projects/{project_number}/locations/{location_id}/backups/{backup_id}`,
         that this file share has been restored from.
         
        string source_backup = 8 [(.google.api.resource_reference) = { ... }
        Returns:
        Whether the sourceBackup field is set.
      • getSourceBackup

        String getSourceBackup()
         The resource name of the backup, in the format
         `projects/{project_number}/locations/{location_id}/backups/{backup_id}`,
         that this file share has been restored from.
         
        string source_backup = 8 [(.google.api.resource_reference) = { ... }
        Returns:
        The sourceBackup.
      • getSourceBackupBytes

        com.google.protobuf.ByteString getSourceBackupBytes()
         The resource name of the backup, in the format
         `projects/{project_number}/locations/{location_id}/backups/{backup_id}`,
         that this file share has been restored from.
         
        string source_backup = 8 [(.google.api.resource_reference) = { ... }
        Returns:
        The bytes for sourceBackup.
      • getNfsExportOptionsList

        List<NfsExportOptions> getNfsExportOptionsList()
         Nfs Export Options.
         There is a limit of 10 export options per file share.
         
        repeated .google.cloud.filestore.v1.NfsExportOptions nfs_export_options = 7;
      • getNfsExportOptions

        NfsExportOptions getNfsExportOptions​(int index)
         Nfs Export Options.
         There is a limit of 10 export options per file share.
         
        repeated .google.cloud.filestore.v1.NfsExportOptions nfs_export_options = 7;
      • getNfsExportOptionsCount

        int getNfsExportOptionsCount()
         Nfs Export Options.
         There is a limit of 10 export options per file share.
         
        repeated .google.cloud.filestore.v1.NfsExportOptions nfs_export_options = 7;
      • getNfsExportOptionsOrBuilderList

        List<? extends NfsExportOptionsOrBuilder> getNfsExportOptionsOrBuilderList()
         Nfs Export Options.
         There is a limit of 10 export options per file share.
         
        repeated .google.cloud.filestore.v1.NfsExportOptions nfs_export_options = 7;
      • getNfsExportOptionsOrBuilder

        NfsExportOptionsOrBuilder getNfsExportOptionsOrBuilder​(int index)
         Nfs Export Options.
         There is a limit of 10 export options per file share.
         
        repeated .google.cloud.filestore.v1.NfsExportOptions nfs_export_options = 7;