Class NfsMount.Builder (1.3.0)

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

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

Protobuf type google.cloud.vertexai.v1.NfsMount

Implements

NfsMountOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NfsMount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NfsMount.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public NfsMount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public NfsMount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NfsMount.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NfsMount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NfsMount.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NfsMount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NfsMount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NfsMount.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final NfsMount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NfsMount.Builder
Overrides