Interface FileShareConfigOrBuilder (1.37.0)

public interface FileShareConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCapacityGb()

public abstract long getCapacityGb()

File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes.

int64 capacity_gb = 2;

Returns
TypeDescription
long

The capacityGb.

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getNfsExportOptions(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
NfsExportOptions

getNfsExportOptionsCount()

public abstract 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;

Returns
TypeDescription
int

getNfsExportOptionsList()

public abstract 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;

Returns
TypeDescription
List<NfsExportOptions>

getNfsExportOptionsOrBuilder(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
NfsExportOptionsOrBuilder

getNfsExportOptionsOrBuilderList()

public abstract 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;

Returns
TypeDescription
List<? extends com.google.cloud.filestore.v1beta1.NfsExportOptionsOrBuilder>

getSourceBackup()

public abstract 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
TypeDescription
String

The sourceBackup.

getSourceBackupBytes()

public abstract 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
TypeDescription
ByteString

The bytes for sourceBackup.

getSourceCase()

public abstract FileShareConfig.SourceCase getSourceCase()
Returns
TypeDescription
FileShareConfig.SourceCase

hasSourceBackup()

public abstract 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
TypeDescription
boolean

Whether the sourceBackup field is set.