Class NfsExport (0.18.0)

public final class NfsExport extends GeneratedMessageV3 implements NfsExportOrBuilder

NFS export.

Protobuf type google.cloud.migrationcenter.v1.NfsExport

Implements

NfsExportOrBuilder

Static Fields

EXPORT_DIRECTORY_FIELD_NUMBER

public static final int EXPORT_DIRECTORY_FIELD_NUMBER
Field Value
TypeDescription
int

HOSTS_FIELD_NUMBER

public static final int HOSTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NfsExport getDefaultInstance()
Returns
TypeDescription
NfsExport

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NfsExport.Builder newBuilder()
Returns
TypeDescription
NfsExport.Builder

newBuilder(NfsExport prototype)

public static NfsExport.Builder newBuilder(NfsExport prototype)
Parameter
NameDescription
prototypeNfsExport
Returns
TypeDescription
NfsExport.Builder

parseDelimitedFrom(InputStream input)

public static NfsExport parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NfsExport
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NfsExport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NfsExport
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NfsExport parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NfsExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NfsExport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NfsExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NfsExport parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NfsExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NfsExport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NfsExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NfsExport parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NfsExport
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NfsExport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NfsExport
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NfsExport parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NfsExport
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NfsExport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NfsExport
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NfsExport parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NfsExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NfsExport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NfsExport
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NfsExport> parser()
Returns
TypeDescription
Parser<NfsExport>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public NfsExport getDefaultInstanceForType()
Returns
TypeDescription
NfsExport

getExportDirectory()

public String getExportDirectory()

The directory being exported.

string export_directory = 1;

Returns
TypeDescription
String

The exportDirectory.

getExportDirectoryBytes()

public ByteString getExportDirectoryBytes()

The directory being exported.

string export_directory = 1;

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

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of hosts.

getHostsList()

public ProtocolStringList getHostsList()

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

repeated string hosts = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the hosts.

getParserForType()

public Parser<NfsExport> getParserForType()
Returns
TypeDescription
Parser<NfsExport>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NfsExport.Builder newBuilderForType()
Returns
TypeDescription
NfsExport.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NfsExport.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NfsExport.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NfsExport.Builder toBuilder()
Returns
TypeDescription
NfsExport.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException