public static final class SourceTargetMapping.Builder extends GeneratedMessage.Builder<SourceTargetMapping.Builder> implements SourceTargetMappingOrBuilderRepresents one mapping from a source SQL to a target SQL.
Protobuf type google.cloud.bigquery.migration.v2.SourceTargetMapping
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SourceTargetMapping.BuilderImplements
SourceTargetMappingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SourceTargetMapping build()| Returns | |
|---|---|
| Type | Description |
SourceTargetMapping |
|
buildPartial()
public SourceTargetMapping buildPartial()| Returns | |
|---|---|
| Type | Description |
SourceTargetMapping |
|
clear()
public SourceTargetMapping.Builder clear()| Returns | |
|---|---|
| Type | Description |
SourceTargetMapping.Builder |
|
clearSourceSpec()
public SourceTargetMapping.Builder clearSourceSpec()The source SQL or the path to it.
.google.cloud.bigquery.migration.v2.SourceSpec source_spec = 1;
| Returns | |
|---|---|
| Type | Description |
SourceTargetMapping.Builder |
|
clearTargetSpec()
public SourceTargetMapping.Builder clearTargetSpec()The target SQL or the path for it.
.google.cloud.bigquery.migration.v2.TargetSpec target_spec = 2;
| Returns | |
|---|---|
| Type | Description |
SourceTargetMapping.Builder |
|
getDefaultInstanceForType()
public SourceTargetMapping getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SourceTargetMapping |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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;
| Returns | |
|---|---|
| Type | Description |
SourceSpec.Builder |
|
getSourceSpecOrBuilder()
public SourceSpecOrBuilder getSourceSpecOrBuilder()The source SQL or the path to it.
.google.cloud.bigquery.migration.v2.SourceSpec source_spec = 1;
| Returns | |
|---|---|
| Type | Description |
SourceSpecOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
TargetSpec.Builder |
|
getTargetSpecOrBuilder()
public TargetSpecOrBuilder getTargetSpecOrBuilder()The target SQL or the path for it.
.google.cloud.bigquery.migration.v2.TargetSpec target_spec = 2;
| Returns | |
|---|---|
| Type | Description |
TargetSpecOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SourceTargetMapping other)
public SourceTargetMapping.Builder mergeFrom(SourceTargetMapping other)| Parameter | |
|---|---|
| Name | Description |
other |
SourceTargetMapping |
| Returns | |
|---|---|
| Type | Description |
SourceTargetMapping.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SourceTargetMapping.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SourceTargetMapping.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SourceTargetMapping.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SourceTargetMapping.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
SourceSpec |
| Returns | |
|---|---|
| Type | Description |
SourceTargetMapping.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
TargetSpec |
| Returns | |
|---|---|
| Type | Description |
SourceTargetMapping.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
SourceSpec |
| Returns | |
|---|---|
| Type | Description |
SourceTargetMapping.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SourceSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
SourceTargetMapping.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
TargetSpec |
| Returns | |
|---|---|
| Type | Description |
SourceTargetMapping.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TargetSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
SourceTargetMapping.Builder |
|