Class TransferTypes.HdfsData.Builder (1.48.0)

public static final class TransferTypes.HdfsData.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public TransferTypes.HdfsData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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