Interface NfsExportOrBuilder (0.5.0)

public interface NfsExportOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExportDirectory()

public abstract String getExportDirectory()

The directory being exported.

string export_directory = 1;

Returns
TypeDescription
String

The exportDirectory.

getExportDirectoryBytes()

public abstract ByteString getExportDirectoryBytes()

The directory being exported.

string export_directory = 1;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<String>

A list containing the hosts.