Interface FileShareConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FileShareConfig,FileShareConfig.Builder
@Generated
public interface FileShareConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongFile share capacity in gigabytes (GB).getName()Required.com.google.protobuf.ByteStringRequired.getNfsExportOptions(int index) Nfs Export Options.intNfs Export Options.Nfs Export Options.getNfsExportOptionsOrBuilder(int index) Nfs Export Options.List<? extends NfsExportOptionsOrBuilder>Nfs Export Options.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.ByteStringThe 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.booleanThe 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
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Required. The name of the file share. Must use 1-16 characters for the basic service tier and 1-63 characters for all other service tiers. Must use lowercase letters, numbers, or underscores `[a-z0-9_]`. Must start with a letter. Immutable.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. The name of the file share. Must use 1-16 characters for the basic service tier and 1-63 characters for all other service tiers. Must use lowercase letters, numbers, or underscores `[a-z0-9_]`. Must start with a letter. Immutable.
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
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
Nfs Export Options. There is a limit of 10 export options per file share.
repeated .google.cloud.filestore.v1beta1.NfsExportOptions nfs_export_options = 8; -
getSourceCase
FileShareConfig.SourceCase getSourceCase()
-