Class NFS.Builder (0.83.0)

public static final class NFS.Builder extends GeneratedMessage.Builder<NFS.Builder> implements NFSOrBuilder

Represents an NFS volume.

Protobuf type google.cloud.batch.v1.NFS

Implements

NFSOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public NFS build()
Returns
Type Description
NFS

buildPartial()

public NFS buildPartial()
Returns
Type Description
NFS

clear()

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

clearRemotePath()

public NFS.Builder clearRemotePath()

Remote source path exported from the NFS, e.g., "/share".

string remote_path = 2;

Returns
Type Description
NFS.Builder

This builder for chaining.

clearServer()

public NFS.Builder clearServer()

The IP address of the NFS.

string server = 1;

Returns
Type Description
NFS.Builder

This builder for chaining.

getDefaultInstanceForType()

public NFS getDefaultInstanceForType()
Returns
Type Description
NFS

getDescriptorForType()

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

getRemotePath()

public String getRemotePath()

Remote source path exported from the NFS, e.g., "/share".

string remote_path = 2;

Returns
Type Description
String

The remotePath.

getRemotePathBytes()

public ByteString getRemotePathBytes()

Remote source path exported from the NFS, e.g., "/share".

string remote_path = 2;

Returns
Type Description
ByteString

The bytes for remotePath.

getServer()

public String getServer()

The IP address of the NFS.

string server = 1;

Returns
Type Description
String

The server.

getServerBytes()

public ByteString getServerBytes()

The IP address of the NFS.

string server = 1;

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(NFS other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setRemotePath(String value)

public NFS.Builder setRemotePath(String value)

Remote source path exported from the NFS, e.g., "/share".

string remote_path = 2;

Parameter
Name Description
value String

The remotePath to set.

Returns
Type Description
NFS.Builder

This builder for chaining.

setRemotePathBytes(ByteString value)

public NFS.Builder setRemotePathBytes(ByteString value)

Remote source path exported from the NFS, e.g., "/share".

string remote_path = 2;

Parameter
Name Description
value ByteString

The bytes for remotePath to set.

Returns
Type Description
NFS.Builder

This builder for chaining.

setServer(String value)

public NFS.Builder setServer(String value)

The IP address of the NFS.

string server = 1;

Parameter
Name Description
value String

The server to set.

Returns
Type Description
NFS.Builder

This builder for chaining.

setServerBytes(ByteString value)

public NFS.Builder setServerBytes(ByteString value)

The IP address of the NFS.

string server = 1;

Parameter
Name Description
value ByteString

The bytes for server to set.

Returns
Type Description
NFS.Builder

This builder for chaining.