Class TargetSpec.Builder (0.86.0)
Version latestkeyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
build()
public TargetSpec build ()
buildPartial()
public TargetSpec buildPartial ()
clear()
public TargetSpec . Builder clear ()
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;
getDefaultInstanceForType()
public TargetSpec getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(TargetSpec other)
public TargetSpec . Builder mergeFrom ( TargetSpec other )
public TargetSpec . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public TargetSpec . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
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.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-02-02 UTC."],[],[]]