Class CompilationResult.CodeCompilationConfig.Builder (0.23.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CompilationResult.CodeCompilationConfig build()
Returns
TypeDescription
CompilationResult.CodeCompilationConfig

buildPartial()

public CompilationResult.CodeCompilationConfig buildPartial()
Returns
TypeDescription
CompilationResult.CodeCompilationConfig

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CompilationResult.CodeCompilationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CompilationResult.CodeCompilationConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CompilationResult.CodeCompilationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

clearVars()

public CompilationResult.CodeCompilationConfig.Builder clearVars()
Returns
TypeDescription
CompilationResult.CodeCompilationConfig.Builder

clone()

public CompilationResult.CodeCompilationConfig.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getAssertionSchema()

public String getAssertionSchema()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for defaultDatabase.

getDefaultInstanceForType()

public CompilationResult.CodeCompilationConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The defaultSchema.

getDefaultSchemaBytes()

public ByteString getDefaultSchemaBytes()

Optional. The default schema (BigQuery dataset ID).

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

Returns
TypeDescription
ByteString

The bytes for defaultSchema.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutableVars()

public Map<String,String> getMutableVars()

Use alternate mutation accessors instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for tablePrefix.

getVars()

public Map<String,String> getVars()

Use #getVarsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CompilationResult.CodeCompilationConfig other)

public CompilationResult.CodeCompilationConfig.Builder mergeFrom(CompilationResult.CodeCompilationConfig other)
Parameter
NameDescription
otherCompilationResult.CodeCompilationConfig
Returns
TypeDescription
CompilationResult.CodeCompilationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CompilationResult.CodeCompilationConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CompilationResult.CodeCompilationConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompilationResult.CodeCompilationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
valueString

The assertionSchema to set.

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

The bytes for assertionSchema to set.

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

The databaseSuffix to set.

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

The bytes for databaseSuffix to set.

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

The defaultDatabase to set.

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

The bytes for defaultDatabase to set.

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

The defaultLocation to set.

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

The bytes for defaultLocation to set.

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

The defaultSchema to set.

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

The bytes for defaultSchema to set.

Returns
TypeDescription
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The schemaSuffix to set.

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

The bytes for schemaSuffix to set.

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

The tablePrefix to set.

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

The bytes for tablePrefix to set.

Returns
TypeDescription
CompilationResult.CodeCompilationConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CompilationResult.CodeCompilationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CompilationResult.CodeCompilationConfig.Builder
Overrides