Class CompilationResult.CodeCompilationConfig.Builder (0.8.0)

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

Configures various aspects of Dataform code compilation.

Protobuf type google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CompilationResult.CodeCompilationConfig build()
Returns
Type Description
CompilationResult.CodeCompilationConfig

buildPartial()

public CompilationResult.CodeCompilationConfig buildPartial()
Returns
Type Description
CompilationResult.CodeCompilationConfig

clear()

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

clearAssertionSchema()

public CompilationResult.CodeCompilationConfig.Builder clearAssertionSchema()

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

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

Returns
Type Description
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

clearDatabaseSuffix()

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

clearDefaultDatabase()

public CompilationResult.CodeCompilationConfig.Builder clearDefaultDatabase()

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

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

Returns
Type Description
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

clearDefaultLocation()

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

clearDefaultSchema()

public CompilationResult.CodeCompilationConfig.Builder clearDefaultSchema()

Optional. The default schema (BigQuery dataset ID).

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

Returns
Type Description
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSchemaSuffix()

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

clearTablePrefix()

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

clearVars()

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

clone()

public CompilationResult.CodeCompilationConfig.Builder clone()
Returns
Type Description
CompilationResult.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 CompilationResult.CodeCompilationConfig getDefaultInstanceForType()
Returns
Type Description
CompilationResult.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()

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()

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

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CompilationResult.CodeCompilationConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllVars(Map<String,String> values)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

putVars(String key, String value)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

removeVars(String key)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

setAssertionSchema(String value)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

setAssertionSchemaBytes(ByteString value)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

setDatabaseSuffix(String value)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

setDatabaseSuffixBytes(ByteString value)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

setDefaultDatabase(String value)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

setDefaultDatabaseBytes(ByteString value)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

setDefaultLocation(String value)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

setDefaultLocationBytes(ByteString value)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

setDefaultSchema(String value)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

setDefaultSchemaBytes(ByteString value)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSchemaSuffix(String value)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

setSchemaSuffixBytes(ByteString value)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

setTablePrefix(String value)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

setTablePrefixBytes(ByteString value)

public CompilationResult.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
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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