Interface NfsExportOrBuilder (0.24.0)

public interface NfsExportOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExportDirectory()

public abstract String getExportDirectory()

The directory being exported.

string export_directory = 1;

Returns
Type Description
String

The exportDirectory.

getExportDirectoryBytes()

public abstract ByteString getExportDirectoryBytes()

The directory being exported.

string export_directory = 1;

Returns
Type Description
ByteString

The bytes for exportDirectory.

getHosts(int index)

public abstract String getHosts(int index)

The hosts or networks to which the export is being shared.

repeated string hosts = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The hosts at the given index.

getHostsBytes(int index)

public abstract ByteString getHostsBytes(int index)

The hosts or networks to which the export is being shared.

repeated string hosts = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the hosts at the given index.

getHostsCount()

public abstract int getHostsCount()

The hosts or networks to which the export is being shared.

repeated string hosts = 2;

Returns
Type Description
int

The count of hosts.

getHostsList()

public abstract List<String> getHostsList()

The hosts or networks to which the export is being shared.

repeated string hosts = 2;

Returns
Type Description
List<String>

A list containing the hosts.