Interface GCSVolumeSourceOrBuilder (0.55.0)

public interface GCSVolumeSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBucket()

public abstract String getBucket()

Cloud Storage Bucket name.

string bucket = 1;

Returns
Type Description
String

The bucket.

getBucketBytes()

public abstract ByteString getBucketBytes()

Cloud Storage Bucket name.

string bucket = 1;

Returns
Type Description
ByteString

The bytes for bucket.

getMountOptions(int index)

public abstract String getMountOptions(int index)

A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--".

repeated string mount_options = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The mountOptions at the given index.

getMountOptionsBytes(int index)

public abstract ByteString getMountOptionsBytes(int index)

A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--".

repeated string mount_options = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the mountOptions at the given index.

getMountOptionsCount()

public abstract int getMountOptionsCount()

A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--".

repeated string mount_options = 3;

Returns
Type Description
int

The count of mountOptions.

getMountOptionsList()

public abstract List<String> getMountOptionsList()

A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--".

repeated string mount_options = 3;

Returns
Type Description
List<String>

A list containing the mountOptions.

getReadOnly()

public abstract boolean getReadOnly()

If true, the volume will be mounted as read only for all mounts.

bool read_only = 2;

Returns
Type Description
boolean

The readOnly.