Class NFS.Builder (0.1.1)

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

Represents an NFS server and remote path: <server>:<remote_path>

Protobuf type google.cloud.batch.v1.NFS

Implements

NFSOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public NFS.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NFS.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRemotePath()

public NFS.Builder clearRemotePath()

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

string remote_path = 2;

Returns
Type Description
NFS.Builder

This builder for chaining.

clearServer()

public NFS.Builder clearServer()

URI of the NFS server, e.g. an IP address.

string server = 1;

Returns
Type Description
NFS.Builder

This builder for chaining.

clone()

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

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 NFS, e.g., "/share".

string remote_path = 2;

Returns
Type Description
String

The remotePath.

getRemotePathBytes()

public ByteString getRemotePathBytes()

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

string remote_path = 2;

Returns
Type Description
ByteString

The bytes for remotePath.

getServer()

public String getServer()

URI of the NFS server, e.g. an IP address.

string server = 1;

Returns
Type Description
String

The server.

getServerBytes()

public ByteString getServerBytes()

URI of the NFS server, e.g. an IP address.

string server = 1;

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(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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setRemotePath(String value)

public NFS.Builder setRemotePath(String value)

Remote source path exported from 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 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.

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

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

setServer(String value)

public NFS.Builder setServer(String value)

URI of the NFS server, e.g. an IP address.

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)

URI of the NFS server, e.g. an IP address.

string server = 1;

Parameter
Name Description
value ByteString

The bytes for server to set.

Returns
Type Description
NFS.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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