Class NfsMount (1.13.0)

public final class NfsMount extends GeneratedMessageV3 implements NfsMountOrBuilder

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

Protobuf type google.cloud.vertexai.v1.NfsMount

Implements

NfsMountOrBuilder

Static Fields

MOUNT_POINT_FIELD_NUMBER

public static final int MOUNT_POINT_FIELD_NUMBER
Field Value
Type Description
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
Type Description
int

SERVER_FIELD_NUMBER

public static final int SERVER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NfsMount getDefaultInstance()
Returns
Type Description
NfsMount

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static NfsMount.Builder newBuilder()
Returns
Type Description
NfsMount.Builder

newBuilder(NfsMount prototype)

public static NfsMount.Builder newBuilder(NfsMount prototype)
Parameter
Name Description
prototype NfsMount
Returns
Type Description
NfsMount.Builder

parseDelimitedFrom(InputStream input)

public static NfsMount parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NfsMount
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NfsMount parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NfsMount
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NfsMount parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NfsMount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NfsMount parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NfsMount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NfsMount parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NfsMount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NfsMount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NfsMount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NfsMount parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NfsMount
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NfsMount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NfsMount
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NfsMount parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NfsMount
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NfsMount parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NfsMount
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NfsMount parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NfsMount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NfsMount parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NfsMount
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NfsMount> parser()
Returns
Type Description
Parser<NfsMount>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public NfsMount getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for mountPoint.

getParserForType()

public Parser<NfsMount> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for path.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServer()

public String getServer()

Required. IP address of the NFS server.

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

Returns
Type Description
String

The server.

getServerBytes()

public ByteString getServerBytes()

Required. IP address of the NFS server.

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

Returns
Type Description
ByteString

The bytes for server.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NfsMount.Builder newBuilderForType()
Returns
Type Description
NfsMount.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NfsMount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NfsMount.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NfsMount.Builder toBuilder()
Returns
Type Description
NfsMount.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException