Class Content.SqlScript.Builder (1.40.0)

public static final class Content.SqlScript.Builder extends GeneratedMessageV3.Builder<Content.SqlScript.Builder> implements Content.SqlScriptOrBuilder

Configuration for the Sql Script content.

Protobuf type google.cloud.dataplex.v1.Content.SqlScript

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Content.SqlScript.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Content.SqlScript.Builder
Overrides

build()

public Content.SqlScript build()
Returns
Type Description
Content.SqlScript

buildPartial()

public Content.SqlScript buildPartial()
Returns
Type Description
Content.SqlScript

clear()

public Content.SqlScript.Builder clear()
Returns
Type Description
Content.SqlScript.Builder
Overrides

clearEngine()

public Content.SqlScript.Builder clearEngine()

Required. Query Engine to be used for the Sql Query.

.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Content.SqlScript.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Content.SqlScript.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Content.SqlScript.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Content.SqlScript.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Content.SqlScript.Builder
Overrides

clone()

public Content.SqlScript.Builder clone()
Returns
Type Description
Content.SqlScript.Builder
Overrides

getDefaultInstanceForType()

public Content.SqlScript getDefaultInstanceForType()
Returns
Type Description
Content.SqlScript

getDescriptorForType()

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

getEngine()

public Content.SqlScript.QueryEngine getEngine()

Required. Query Engine to be used for the Sql Query.

.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Content.SqlScript.QueryEngine

The engine.

getEngineValue()

public int getEngineValue()

Required. Query Engine to be used for the Sql Query.

.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for engine.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Content.SqlScript other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Content.SqlScript.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Content.SqlScript.Builder
Overrides

setEngine(Content.SqlScript.QueryEngine value)

public Content.SqlScript.Builder setEngine(Content.SqlScript.QueryEngine value)

Required. Query Engine to be used for the Sql Query.

.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Content.SqlScript.QueryEngine

The engine to set.

Returns
Type Description
Content.SqlScript.Builder

This builder for chaining.

setEngineValue(int value)

public Content.SqlScript.Builder setEngineValue(int value)

Required. Query Engine to be used for the Sql Query.

.google.cloud.dataplex.v1.Content.SqlScript.QueryEngine engine = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for engine to set.

Returns
Type Description
Content.SqlScript.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Content.SqlScript.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Content.SqlScript.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Content.SqlScript.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Content.SqlScript.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Content.SqlScript.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Content.SqlScript.Builder
Overrides