Interface FileShareConfigOrBuilder

Stay organized with collections Save and categorize content based on your preferences.
public interface FileShareConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCapacityGb()

public abstract long getCapacityGb()

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

int64 capacity_gb = 2;

Returns
TypeDescription
long

The capacityGb.

getName()

public abstract String getName()

The name of the file share (must be 16 characters or less).

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the file share (must be 16 characters or less).

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.