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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getCapacityGb()
      File share capacity in gigabytes (GB).
      String getName()
      The name of the file share (must be 32 characters or less for Enterprise and High Scale SSD tiers and 16 characters or less for all other tiers).
      com.google.protobuf.ByteString getNameBytes()
      The name of the file share (must be 32 characters or less for Enterprise and High Scale SSD tiers and 16 characters or less for all other tiers).
      NfsExportOptions getNfsExportOptions​(int index)
      Nfs Export Options.
      int getNfsExportOptionsCount()
      Nfs Export Options.
      List<NfsExportOptions> getNfsExportOptionsList()
      Nfs Export Options.
      NfsExportOptionsOrBuilder getNfsExportOptionsOrBuilder​(int index)
      Nfs Export Options.
      List<? extends NfsExportOptionsOrBuilder> getNfsExportOptionsOrBuilderList()
      Nfs Export Options.
      String getSourceBackup()
      The resource name of the backup, in the format `projects/{project_id}/locations/{location_id}/backups/{backup_id}`, that this file share has been restored from.
      com.google.protobuf.ByteString getSourceBackupBytes()
      The resource name of the backup, in the format `projects/{project_id}/locations/{location_id}/backups/{backup_id}`, that this file share has been restored from.
      FileShareConfig.SourceCase getSourceCase()  
      boolean hasSourceBackup()
      The resource name of the backup, in the format `projects/{project_id}/locations/{location_id}/backups/{backup_id}`, that this file share has been restored from.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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()
         The name of the file share (must be 32 characters or less for
         Enterprise and High Scale SSD tiers and 16 characters or less for all other
         tiers).
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name of the file share (must be 32 characters or less for
         Enterprise and High Scale SSD tiers and 16 characters or less for all other
         tiers).
         
        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_id}/locations/{location_id}/backups/{backup_id}`, that
         this file share has been restored from.
         
        string source_backup = 9 [(.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_id}/locations/{location_id}/backups/{backup_id}`, that
         this file share has been restored from.
         
        string source_backup = 9 [(.google.api.resource_reference) = { ... }
        Returns:
        The sourceBackup.
      • getSourceBackupBytes

        com.google.protobuf.ByteString getSourceBackupBytes()
         The resource name of the backup, in the format
         `projects/{project_id}/locations/{location_id}/backups/{backup_id}`, that
         this file share has been restored from.
         
        string source_backup = 9 [(.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.v1beta1.NfsExportOptions nfs_export_options = 8;
      • getNfsExportOptions

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

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

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

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