Class Content.SqlScript.Builder (1.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Content.SqlScript.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Content.SqlScript.Builder
Overrides

build()

public Content.SqlScript build()
Returns
TypeDescription
Content.SqlScript

buildPartial()

public Content.SqlScript buildPartial()
Returns
TypeDescription
Content.SqlScript

clear()

public Content.SqlScript.Builder clear()
Returns
TypeDescription
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
TypeDescription
Content.SqlScript.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Content.SqlScript.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Content.SqlScript.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Content.SqlScript.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Content.SqlScript.Builder
Overrides

clone()

public Content.SqlScript.Builder clone()
Returns
TypeDescription
Content.SqlScript.Builder
Overrides

getDefaultInstanceForType()

public Content.SqlScript getDefaultInstanceForType()
Returns
TypeDescription
Content.SqlScript

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for engine.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Content.SqlScript other)

public Content.SqlScript.Builder mergeFrom(Content.SqlScript other)
Parameter
NameDescription
otherContent.SqlScript
Returns
TypeDescription
Content.SqlScript.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Content.SqlScript.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Content.SqlScript.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Content.SqlScript.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Content.SqlScript.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Content.SqlScript.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueContent.SqlScript.QueryEngine

The engine to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
Content.SqlScript.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Content.SqlScript.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Content.SqlScript.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Content.SqlScript.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Content.SqlScript.Builder
Overrides