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