Class TargetSpec.Builder (0.86.0)

public static final class TargetSpec.Builder extends GeneratedMessage.Builder<TargetSpec.Builder> implements TargetSpecOrBuilder

Represents one path to the location that holds target data.

Protobuf type google.cloud.bigquery.migration.v2.TargetSpec

Implements

TargetSpecOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public TargetSpec build()
Returns
Type Description
TargetSpec

buildPartial()

public TargetSpec buildPartial()
Returns
Type Description
TargetSpec

clear()

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

clearRelativePath()

public TargetSpec.Builder clearRelativePath()

The relative path for the target data. Given source file base_uri/input/sql, the output would be target_base_uri/sql/relative_path/input.sql.

string relative_path = 1;

Returns
Type Description
TargetSpec.Builder

This builder for chaining.

getDefaultInstanceForType()

public TargetSpec getDefaultInstanceForType()
Returns
Type Description
TargetSpec

getDescriptorForType()

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

getRelativePath()

public String getRelativePath()

The relative path for the target data. Given source file base_uri/input/sql, the output would be target_base_uri/sql/relative_path/input.sql.

string relative_path = 1;

Returns
Type Description
String

The relativePath.

getRelativePathBytes()

public ByteString getRelativePathBytes()

The relative path for the target data. Given source file base_uri/input/sql, the output would be target_base_uri/sql/relative_path/input.sql.

string relative_path = 1;

Returns
Type Description
ByteString

The bytes for relativePath.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TargetSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setRelativePath(String value)

public TargetSpec.Builder setRelativePath(String value)

The relative path for the target data. Given source file base_uri/input/sql, the output would be target_base_uri/sql/relative_path/input.sql.

string relative_path = 1;

Parameter
Name Description
value String

The relativePath to set.

Returns
Type Description
TargetSpec.Builder

This builder for chaining.

setRelativePathBytes(ByteString value)

public TargetSpec.Builder setRelativePathBytes(ByteString value)

The relative path for the target data. Given source file base_uri/input/sql, the output would be target_base_uri/sql/relative_path/input.sql.

string relative_path = 1;

Parameter
Name Description
value ByteString

The bytes for relativePath to set.

Returns
Type Description
TargetSpec.Builder

This builder for chaining.