Class NfsMount.Builder (3.84.0)

public static final class NfsMount.Builder extends GeneratedMessage.Builder<NfsMount.Builder> implements NfsMountOrBuilder

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

Protobuf type google.cloud.aiplatform.v1.NfsMount

Implements

NfsMountOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public NfsMount build()
Returns
Type Description
NfsMount

buildPartial()

public NfsMount buildPartial()
Returns
Type Description
NfsMount

clear()

public NfsMount.Builder clear()
Returns
Type Description
NfsMount.Builder
Overrides

clearMountPoint()

public NfsMount.Builder clearMountPoint()

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
NfsMount.Builder

This builder for chaining.

clearPath()

public NfsMount.Builder clearPath()

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
NfsMount.Builder

This builder for chaining.

clearServer()

public NfsMount.Builder clearServer()

Required. IP address of the NFS server.

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

Returns
Type Description
NfsMount.Builder

This builder for chaining.

getDefaultInstanceForType()

public NfsMount getDefaultInstanceForType()
Returns
Type Description
NfsMount

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NfsMount other)

public NfsMount.Builder mergeFrom(NfsMount other)
Parameter
Name Description
other NfsMount
Returns
Type Description
NfsMount.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NfsMount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NfsMount.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NfsMount.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NfsMount.Builder
Overrides

setMountPoint(String value)

public NfsMount.Builder setMountPoint(String value)

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];

Parameter
Name Description
value String

The mountPoint to set.

Returns
Type Description
NfsMount.Builder

This builder for chaining.

setMountPointBytes(ByteString value)

public NfsMount.Builder setMountPointBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for mountPoint to set.

Returns
Type Description
NfsMount.Builder

This builder for chaining.

setPath(String value)

public NfsMount.Builder setPath(String value)

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];

Parameter
Name Description
value String

The path to set.

Returns
Type Description
NfsMount.Builder

This builder for chaining.

setPathBytes(ByteString value)

public NfsMount.Builder setPathBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
NfsMount.Builder

This builder for chaining.

setServer(String value)

public NfsMount.Builder setServer(String value)

Required. IP address of the NFS server.

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

Parameter
Name Description
value String

The server to set.

Returns
Type Description
NfsMount.Builder

This builder for chaining.

setServerBytes(ByteString value)

public NfsMount.Builder setServerBytes(ByteString value)

Required. IP address of the NFS server.

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

Parameter
Name Description
value ByteString

The bytes for server to set.

Returns
Type Description
NfsMount.Builder

This builder for chaining.