Interface FileShareConfigOrBuilder (1.46.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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for sourceBackup.

getSourceCase()

public abstract FileShareConfig.SourceCase getSourceCase()
Returns
Type Description
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
Type Description
boolean

Whether the sourceBackup field is set.