public final class NfsExport extends GeneratedMessageV3 implements NfsExportOrBuilder
NFS export.
Protobuf type google.cloud.migrationcenter.v1.NfsExport
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EXPORT_DIRECTORY_FIELD_NUMBER
public static final int EXPORT_DIRECTORY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
HOSTS_FIELD_NUMBER
public static final int HOSTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static NfsExport getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static NfsExport.Builder newBuilder()
newBuilder(NfsExport prototype)
public static NfsExport.Builder newBuilder(NfsExport prototype)
Parameter |
Name |
Description |
prototype |
NfsExport
|
public static NfsExport parseDelimitedFrom(InputStream input)
public static NfsExport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static NfsExport parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NfsExport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static NfsExport parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NfsExport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NfsExport parseFrom(CodedInputStream input)
public static NfsExport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NfsExport parseFrom(InputStream input)
public static NfsExport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static NfsExport parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NfsExport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<NfsExport> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public NfsExport getDefaultInstanceForType()
getExportDirectory()
public String getExportDirectory()
The directory being exported.
string export_directory = 1;
Returns |
Type |
Description |
String |
The exportDirectory.
|
getExportDirectoryBytes()
public ByteString getExportDirectoryBytes()
The directory being exported.
string export_directory = 1;
Returns |
Type |
Description |
ByteString |
The bytes for exportDirectory.
|
getHosts(int index)
public 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 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 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 ProtocolStringList getHostsList()
The hosts or networks to which the export is being shared.
repeated string hosts = 2;
getParserForType()
public Parser<NfsExport> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public NfsExport.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NfsExport.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public NfsExport.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides