Class CodeCompilationConfig.Builder (0.44.0)

public static final class CodeCompilationConfig.Builder extends GeneratedMessageV3.Builder<CodeCompilationConfig.Builder> implements CodeCompilationConfigOrBuilder

Configures various aspects of Dataform code compilation.

Protobuf type google.cloud.dataform.v1beta1.CodeCompilationConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CodeCompilationConfig build()
Returns
Type Description
CodeCompilationConfig

buildPartial()

public CodeCompilationConfig buildPartial()
Returns
Type Description
CodeCompilationConfig

clear()

public CodeCompilationConfig.Builder clear()
Returns
Type Description
CodeCompilationConfig.Builder
Overrides

clearAssertionSchema()

public CodeCompilationConfig.Builder clearAssertionSchema()

Optional. The default schema (BigQuery dataset ID) for assertions.

string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

clearDatabaseSuffix()

public CodeCompilationConfig.Builder clearDatabaseSuffix()

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

clearDefaultDatabase()

public CodeCompilationConfig.Builder clearDefaultDatabase()

Optional. The default database (Google Cloud project ID).

string default_database = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

clearDefaultLocation()

public CodeCompilationConfig.Builder clearDefaultLocation()

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

string default_location = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

clearDefaultSchema()

public CodeCompilationConfig.Builder clearDefaultSchema()

Optional. The default schema (BigQuery dataset ID).

string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSchemaSuffix()

public CodeCompilationConfig.Builder clearSchemaSuffix()

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

clearTablePrefix()

public CodeCompilationConfig.Builder clearTablePrefix()

Optional. The prefix that should be prepended to all table names.

string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

clearVars()

public CodeCompilationConfig.Builder clearVars()
Returns
Type Description
CodeCompilationConfig.Builder

clone()

public CodeCompilationConfig.Builder clone()
Returns
Type Description
CodeCompilationConfig.Builder
Overrides

containsVars(String key)

public boolean containsVars(String key)

Optional. User-defined variables that are made available to project code during compilation.

map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAssertionSchema()

public String getAssertionSchema()

Optional. The default schema (BigQuery dataset ID) for assertions.

string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The assertionSchema.

getAssertionSchemaBytes()

public ByteString getAssertionSchemaBytes()

Optional. The default schema (BigQuery dataset ID) for assertions.

string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for assertionSchema.

getDatabaseSuffix()

public String getDatabaseSuffix()

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The databaseSuffix.

getDatabaseSuffixBytes()

public ByteString getDatabaseSuffixBytes()

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for databaseSuffix.

getDefaultDatabase()

public String getDefaultDatabase()

Optional. The default database (Google Cloud project ID).

string default_database = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The defaultDatabase.

getDefaultDatabaseBytes()

public ByteString getDefaultDatabaseBytes()

Optional. The default database (Google Cloud project ID).

string default_database = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for defaultDatabase.

getDefaultInstanceForType()

public CodeCompilationConfig getDefaultInstanceForType()
Returns
Type Description
CodeCompilationConfig

getDefaultLocation()

public String getDefaultLocation()

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

string default_location = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The defaultLocation.

getDefaultLocationBytes()

public ByteString getDefaultLocationBytes()

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

string default_location = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for defaultLocation.

getDefaultSchema()

public String getDefaultSchema()

Optional. The default schema (BigQuery dataset ID).

string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The defaultSchema.

getDefaultSchemaBytes()

public ByteString getDefaultSchemaBytes()

Optional. The default schema (BigQuery dataset ID).

string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for defaultSchema.

getDescriptorForType()

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

getMutableVars() (deprecated)

public Map<String,String> getMutableVars()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getSchemaSuffix()

public String getSchemaSuffix()

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The schemaSuffix.

getSchemaSuffixBytes()

public ByteString getSchemaSuffixBytes()

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for schemaSuffix.

getTablePrefix()

public String getTablePrefix()

Optional. The prefix that should be prepended to all table names.

string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The tablePrefix.

getTablePrefixBytes()

public ByteString getTablePrefixBytes()

Optional. The prefix that should be prepended to all table names.

string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for tablePrefix.

getVars() (deprecated)

public Map<String,String> getVars()

Use #getVarsMap() instead.

Returns
Type Description
Map<String,String>

getVarsCount()

public int getVarsCount()

Optional. User-defined variables that are made available to project code during compilation.

map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getVarsMap()

public Map<String,String> getVarsMap()

Optional. User-defined variables that are made available to project code during compilation.

map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getVarsOrDefault(String key, String defaultValue)

public String getVarsOrDefault(String key, String defaultValue)

Optional. User-defined variables that are made available to project code during compilation.

map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getVarsOrThrow(String key)

public String getVarsOrThrow(String key)

Optional. User-defined variables that are made available to project code during compilation.

map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodeCompilationConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllVars(Map<String,String> values)

public CodeCompilationConfig.Builder putAllVars(Map<String,String> values)

Optional. User-defined variables that are made available to project code during compilation.

map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
CodeCompilationConfig.Builder

putVars(String key, String value)

public CodeCompilationConfig.Builder putVars(String key, String value)

Optional. User-defined variables that are made available to project code during compilation.

map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
CodeCompilationConfig.Builder

removeVars(String key)

public CodeCompilationConfig.Builder removeVars(String key)

Optional. User-defined variables that are made available to project code during compilation.

map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
CodeCompilationConfig.Builder

setAssertionSchema(String value)

public CodeCompilationConfig.Builder setAssertionSchema(String value)

Optional. The default schema (BigQuery dataset ID) for assertions.

string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The assertionSchema to set.

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

setAssertionSchemaBytes(ByteString value)

public CodeCompilationConfig.Builder setAssertionSchemaBytes(ByteString value)

Optional. The default schema (BigQuery dataset ID) for assertions.

string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for assertionSchema to set.

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

setDatabaseSuffix(String value)

public CodeCompilationConfig.Builder setDatabaseSuffix(String value)

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The databaseSuffix to set.

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

setDatabaseSuffixBytes(ByteString value)

public CodeCompilationConfig.Builder setDatabaseSuffixBytes(ByteString value)

Optional. The suffix that should be appended to all database (Google Cloud project ID) names.

string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for databaseSuffix to set.

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

setDefaultDatabase(String value)

public CodeCompilationConfig.Builder setDefaultDatabase(String value)

Optional. The default database (Google Cloud project ID).

string default_database = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The defaultDatabase to set.

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

setDefaultDatabaseBytes(ByteString value)

public CodeCompilationConfig.Builder setDefaultDatabaseBytes(ByteString value)

Optional. The default database (Google Cloud project ID).

string default_database = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for defaultDatabase to set.

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

setDefaultLocation(String value)

public CodeCompilationConfig.Builder setDefaultLocation(String value)

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

string default_location = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The defaultLocation to set.

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

setDefaultLocationBytes(ByteString value)

public CodeCompilationConfig.Builder setDefaultLocationBytes(ByteString value)

Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.

string default_location = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for defaultLocation to set.

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

setDefaultSchema(String value)

public CodeCompilationConfig.Builder setDefaultSchema(String value)

Optional. The default schema (BigQuery dataset ID).

string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The defaultSchema to set.

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

setDefaultSchemaBytes(ByteString value)

public CodeCompilationConfig.Builder setDefaultSchemaBytes(ByteString value)

Optional. The default schema (BigQuery dataset ID).

string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for defaultSchema to set.

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSchemaSuffix(String value)

public CodeCompilationConfig.Builder setSchemaSuffix(String value)

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The schemaSuffix to set.

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

setSchemaSuffixBytes(ByteString value)

public CodeCompilationConfig.Builder setSchemaSuffixBytes(ByteString value)

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for schemaSuffix to set.

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

setTablePrefix(String value)

public CodeCompilationConfig.Builder setTablePrefix(String value)

Optional. The prefix that should be prepended to all table names.

string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The tablePrefix to set.

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

setTablePrefixBytes(ByteString value)

public CodeCompilationConfig.Builder setTablePrefixBytes(ByteString value)

Optional. The prefix that should be prepended to all table names.

string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for tablePrefix to set.

Returns
Type Description
CodeCompilationConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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