Class NfsMount (3.21.0)

public final class NfsMount extends GeneratedMessageV3 implements NfsMountOrBuilder

Represents a mount configuration for Network File System (NFS) to mount.

Protobuf type google.cloud.aiplatform.v1beta1.NfsMount

Implements

NfsMountOrBuilder

Static Fields

MOUNT_POINT_FIELD_NUMBER

public static final int MOUNT_POINT_FIELD_NUMBER
Field Value
TypeDescription
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
TypeDescription
int

SERVER_FIELD_NUMBER

public static final int SERVER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NfsMount getDefaultInstance()
Returns
TypeDescription
NfsMount

getDescriptor()

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

newBuilder()

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

newBuilder(NfsMount prototype)

public static NfsMount.Builder newBuilder(NfsMount prototype)
Parameter
NameDescription
prototypeNfsMount
Returns
TypeDescription
NfsMount.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NfsMount getDefaultInstanceForType()
Returns
TypeDescription
NfsMount

getMountPoint()

public String getMountPoint()

Required. Destination mount path. The NFS will be mounted for the user under /mnt/nfs/<mount_point>

string mount_point = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The mountPoint.

getMountPointBytes()

public ByteString getMountPointBytes()

Required. Destination mount path. The NFS will be mounted for the user under /mnt/nfs/<mount_point>

string mount_point = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for mountPoint.

getParserForType()

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

getPath()

public String getPath()

Required. Source path exported from NFS server. Has to start with '/', and combined with the ip address, it indicates the source mount path in the form of server:path

string path = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The path.

getPathBytes()

public ByteString getPathBytes()

Required. Source path exported from NFS server. Has to start with '/', and combined with the ip address, it indicates the source mount path in the form of server:path

string path = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for path.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServer()

public String getServer()

Required. IP address of the NFS server.

string server = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The server.

getServerBytes()

public ByteString getServerBytes()

Required. IP address of the NFS server.

string server = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for server.

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 NfsMount.Builder newBuilderForType()
Returns
TypeDescription
NfsMount.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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