Send feedback
Class SourceTargetMapping.Builder (0.51.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.51.0 keyboard_arrow_down
public static final class SourceTargetMapping . Builder extends GeneratedMessageV3 . Builder<SourceTargetMapping . Builder > implements SourceTargetMappingOrBuilder
Represents one mapping from a source SQL to a target SQL.
Protobuf type google.cloud.bigquery.migration.v2.SourceTargetMapping
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SourceTargetMapping . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public SourceTargetMapping build ()
buildPartial()
public SourceTargetMapping buildPartial ()
clear()
public SourceTargetMapping . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SourceTargetMapping . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceTargetMapping . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSourceSpec()
public SourceTargetMapping . Builder clearSourceSpec ()
The source SQL or the path to it.
.google.cloud.bigquery.migration.v2.SourceSpec source_spec = 1;
clearTargetSpec()
public SourceTargetMapping . Builder clearTargetSpec ()
The target SQL or the path for it.
.google.cloud.bigquery.migration.v2.TargetSpec target_spec = 2;
clone()
public SourceTargetMapping . Builder clone ()
Overrides
getDefaultInstanceForType()
public SourceTargetMapping getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getSourceSpec()
public SourceSpec getSourceSpec ()
The source SQL or the path to it.
.google.cloud.bigquery.migration.v2.SourceSpec source_spec = 1;
Returns
Type
Description
SourceSpec
The sourceSpec.
getSourceSpecBuilder()
public SourceSpec . Builder getSourceSpecBuilder ()
The source SQL or the path to it.
.google.cloud.bigquery.migration.v2.SourceSpec source_spec = 1;
getSourceSpecOrBuilder()
public SourceSpecOrBuilder getSourceSpecOrBuilder ()
The source SQL or the path to it.
.google.cloud.bigquery.migration.v2.SourceSpec source_spec = 1;
getTargetSpec()
public TargetSpec getTargetSpec ()
The target SQL or the path for it.
.google.cloud.bigquery.migration.v2.TargetSpec target_spec = 2;
Returns
Type
Description
TargetSpec
The targetSpec.
getTargetSpecBuilder()
public TargetSpec . Builder getTargetSpecBuilder ()
The target SQL or the path for it.
.google.cloud.bigquery.migration.v2.TargetSpec target_spec = 2;
getTargetSpecOrBuilder()
public TargetSpecOrBuilder getTargetSpecOrBuilder ()
The target SQL or the path for it.
.google.cloud.bigquery.migration.v2.TargetSpec target_spec = 2;
hasSourceSpec()
public boolean hasSourceSpec ()
The source SQL or the path to it.
.google.cloud.bigquery.migration.v2.SourceSpec source_spec = 1;
Returns
Type
Description
boolean
Whether the sourceSpec field is set.
hasTargetSpec()
public boolean hasTargetSpec ()
The target SQL or the path for it.
.google.cloud.bigquery.migration.v2.TargetSpec target_spec = 2;
Returns
Type
Description
boolean
Whether the targetSpec field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(SourceTargetMapping other)
public SourceTargetMapping . Builder mergeFrom ( SourceTargetMapping other )
public SourceTargetMapping . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public SourceTargetMapping . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeSourceSpec(SourceSpec value)
public SourceTargetMapping . Builder mergeSourceSpec ( SourceSpec value )
The source SQL or the path to it.
.google.cloud.bigquery.migration.v2.SourceSpec source_spec = 1;
mergeTargetSpec(TargetSpec value)
public SourceTargetMapping . Builder mergeTargetSpec ( TargetSpec value )
The target SQL or the path for it.
.google.cloud.bigquery.migration.v2.TargetSpec target_spec = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceTargetMapping . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SourceTargetMapping . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceTargetMapping . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSourceSpec(SourceSpec value)
public SourceTargetMapping . Builder setSourceSpec ( SourceSpec value )
The source SQL or the path to it.
.google.cloud.bigquery.migration.v2.SourceSpec source_spec = 1;
setSourceSpec(SourceSpec.Builder builderForValue)
public SourceTargetMapping . Builder setSourceSpec ( SourceSpec . Builder builderForValue )
The source SQL or the path to it.
.google.cloud.bigquery.migration.v2.SourceSpec source_spec = 1;
setTargetSpec(TargetSpec value)
public SourceTargetMapping . Builder setTargetSpec ( TargetSpec value )
The target SQL or the path for it.
.google.cloud.bigquery.migration.v2.TargetSpec target_spec = 2;
setTargetSpec(TargetSpec.Builder builderForValue)
public SourceTargetMapping . Builder setTargetSpec ( TargetSpec . Builder builderForValue )
The target SQL or the path for it.
.google.cloud.bigquery.migration.v2.TargetSpec target_spec = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceTargetMapping . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
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 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]