Class ExistingNfsConfig.Builder (0.23.0)

public static final class ExistingNfsConfig.Builder extends GeneratedMessage.Builder<ExistingNfsConfig.Builder> implements ExistingNfsConfigOrBuilder

When set in a StorageResourceConfig, indicates that an existing NFS share should be imported.

Protobuf type google.cloud.hypercomputecluster.v1beta.ExistingNfsConfig

Static Methods

getDescriptor()

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

Methods

build()

public ExistingNfsConfig build()
Returns
Type Description
ExistingNfsConfig

buildPartial()

public ExistingNfsConfig buildPartial()
Returns
Type Description
ExistingNfsConfig

clear()

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

clearMountOptions()

public ExistingNfsConfig.Builder clearMountOptions()

Optional. Immutable. Options to mount the NFS share, as expected by fs_mntops field infstab(5), for example: "rw,vers=4.1,nconnect=2,noatime".

string mount_options = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ExistingNfsConfig.Builder

This builder for chaining.

clearRemoteMount()

public ExistingNfsConfig.Builder clearRemoteMount()

Required. Immutable. Remote mount path of the NFS share.

string remote_mount = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ExistingNfsConfig.Builder

This builder for chaining.

clearServerIpAddress()

public ExistingNfsConfig.Builder clearServerIpAddress()

Required. Immutable. Server IP address of the NFS share.

string server_ip_address = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_info) = { ... }

Returns
Type Description
ExistingNfsConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExistingNfsConfig getDefaultInstanceForType()
Returns
Type Description
ExistingNfsConfig

getDescriptorForType()

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

getMountOptions()

public String getMountOptions()

Optional. Immutable. Options to mount the NFS share, as expected by fs_mntops field infstab(5), for example: "rw,vers=4.1,nconnect=2,noatime".

string mount_options = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The mountOptions.

getMountOptionsBytes()

public ByteString getMountOptionsBytes()

Optional. Immutable. Options to mount the NFS share, as expected by fs_mntops field infstab(5), for example: "rw,vers=4.1,nconnect=2,noatime".

string mount_options = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for mountOptions.

getRemoteMount()

public String getRemoteMount()

Required. Immutable. Remote mount path of the NFS share.

string remote_mount = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The remoteMount.

getRemoteMountBytes()

public ByteString getRemoteMountBytes()

Required. Immutable. Remote mount path of the NFS share.

string remote_mount = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for remoteMount.

getServerIpAddress()

public String getServerIpAddress()

Required. Immutable. Server IP address of the NFS share.

string server_ip_address = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_info) = { ... }

Returns
Type Description
String

The serverIpAddress.

getServerIpAddressBytes()

public ByteString getServerIpAddressBytes()

Required. Immutable. Server IP address of the NFS share.

string server_ip_address = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for serverIpAddress.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExistingNfsConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setMountOptions(String value)

public ExistingNfsConfig.Builder setMountOptions(String value)

Optional. Immutable. Options to mount the NFS share, as expected by fs_mntops field infstab(5), for example: "rw,vers=4.1,nconnect=2,noatime".

string mount_options = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The mountOptions to set.

Returns
Type Description
ExistingNfsConfig.Builder

This builder for chaining.

setMountOptionsBytes(ByteString value)

public ExistingNfsConfig.Builder setMountOptionsBytes(ByteString value)

Optional. Immutable. Options to mount the NFS share, as expected by fs_mntops field infstab(5), for example: "rw,vers=4.1,nconnect=2,noatime".

string mount_options = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for mountOptions to set.

Returns
Type Description
ExistingNfsConfig.Builder

This builder for chaining.

setRemoteMount(String value)

public ExistingNfsConfig.Builder setRemoteMount(String value)

Required. Immutable. Remote mount path of the NFS share.

string remote_mount = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The remoteMount to set.

Returns
Type Description
ExistingNfsConfig.Builder

This builder for chaining.

setRemoteMountBytes(ByteString value)

public ExistingNfsConfig.Builder setRemoteMountBytes(ByteString value)

Required. Immutable. Remote mount path of the NFS share.

string remote_mount = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for remoteMount to set.

Returns
Type Description
ExistingNfsConfig.Builder

This builder for chaining.

setServerIpAddress(String value)

public ExistingNfsConfig.Builder setServerIpAddress(String value)

Required. Immutable. Server IP address of the NFS share.

string server_ip_address = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_info) = { ... }

Parameter
Name Description
value String

The serverIpAddress to set.

Returns
Type Description
ExistingNfsConfig.Builder

This builder for chaining.

setServerIpAddressBytes(ByteString value)

public ExistingNfsConfig.Builder setServerIpAddressBytes(ByteString value)

Required. Immutable. Server IP address of the NFS share.

string server_ip_address = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for serverIpAddress to set.

Returns
Type Description
ExistingNfsConfig.Builder

This builder for chaining.