Class TransferTypes.HdfsData.Builder (1.83.0)

public static final class TransferTypes.HdfsData.Builder extends GeneratedMessage.Builder<TransferTypes.HdfsData.Builder> implements TransferTypes.HdfsDataOrBuilder

An HdfsData resource specifies a path within an HDFS entity (e.g. a cluster). All cluster-specific settings, such as namenodes and ports, are configured on the transfer agents servicing requests, so HdfsData only contains the root path to the data in our transfer.

Protobuf type google.storagetransfer.v1.HdfsData

Static Methods

getDescriptor()

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

Methods

build()

public TransferTypes.HdfsData build()
Returns
Type Description
TransferTypes.HdfsData

buildPartial()

public TransferTypes.HdfsData buildPartial()
Returns
Type Description
TransferTypes.HdfsData

clear()

public TransferTypes.HdfsData.Builder clear()
Returns
Type Description
TransferTypes.HdfsData.Builder
Overrides

clearPath()

public TransferTypes.HdfsData.Builder clearPath()

Root path to transfer files.

string path = 1;

Returns
Type Description
TransferTypes.HdfsData.Builder

This builder for chaining.

getDefaultInstanceForType()

public TransferTypes.HdfsData getDefaultInstanceForType()
Returns
Type Description
TransferTypes.HdfsData

getDescriptorForType()

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

getPath()

public String getPath()

Root path to transfer files.

string path = 1;

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

Root path to transfer files.

string path = 1;

Returns
Type Description
ByteString

The bytes for path.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(TransferTypes.HdfsData other)

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

setPath(String value)

public TransferTypes.HdfsData.Builder setPath(String value)

Root path to transfer files.

string path = 1;

Parameter
Name Description
value String

The path to set.

Returns
Type Description
TransferTypes.HdfsData.Builder

This builder for chaining.

setPathBytes(ByteString value)

public TransferTypes.HdfsData.Builder setPathBytes(ByteString value)

Root path to transfer files.

string path = 1;

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
TransferTypes.HdfsData.Builder

This builder for chaining.