Class NfsMount.Builder (3.16.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.aiplatform.v1beta1.NfsMount

Implements

NfsMountOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NfsMount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NfsMount.Builder
Overrides

build()

public NfsMount build()
Returns
TypeDescription
NfsMount

buildPartial()

public NfsMount buildPartial()
Returns
TypeDescription
NfsMount

clear()

public NfsMount.Builder clear()
Returns
TypeDescription
NfsMount.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NfsMount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
NfsMount.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public NfsMount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
NfsMount.Builder

This builder for chaining.

clone()

public NfsMount.Builder clone()
Returns
TypeDescription
NfsMount.Builder
Overrides

getDefaultInstanceForType()

public NfsMount getDefaultInstanceForType()
Returns
TypeDescription
NfsMount

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NfsMount other)

public NfsMount.Builder mergeFrom(NfsMount other)
Parameter
NameDescription
otherNfsMount
Returns
TypeDescription
NfsMount.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NfsMount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NfsMount.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NfsMount.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NfsMount.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NfsMount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NfsMount.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NfsMount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The mountPoint to set.

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

The bytes for mountPoint to set.

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

The path to set.

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

The bytes for path to set.

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

The server to set.

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

The bytes for server to set.

Returns
TypeDescription
NfsMount.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final NfsMount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NfsMount.Builder
Overrides