Interface NfsExportOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NfsExport
,NfsExport.Builder
public interface NfsExportOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getExportDirectory()
The directory being exported.com.google.protobuf.ByteString
getExportDirectoryBytes()
The directory being exported.String
getHosts(int index)
The hosts or networks to which the export is being shared.com.google.protobuf.ByteString
getHostsBytes(int index)
The hosts or networks to which the export is being shared.int
getHostsCount()
The hosts or networks to which the export is being shared.List<String>
getHostsList()
The hosts or networks to which the export is being shared.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getExportDirectory
String getExportDirectory()
The directory being exported.
string export_directory = 1;
- Returns:
- The exportDirectory.
-
getExportDirectoryBytes
com.google.protobuf.ByteString getExportDirectoryBytes()
The directory being exported.
string export_directory = 1;
- Returns:
- The bytes for exportDirectory.
-
getHostsList
List<String> getHostsList()
The hosts or networks to which the export is being shared.
repeated string hosts = 2;
- Returns:
- A list containing the hosts.
-
getHostsCount
int getHostsCount()
The hosts or networks to which the export is being shared.
repeated string hosts = 2;
- Returns:
- The count of hosts.
-
getHosts
String getHosts(int index)
The hosts or networks to which the export is being shared.
repeated string hosts = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The hosts at the given index.
-
getHostsBytes
com.google.protobuf.ByteString getHostsBytes(int index)
The hosts or networks to which the export is being shared.
repeated string hosts = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the hosts at the given index.
-
-