Class CodeCompilationConfig (0.54.0)

public final class CodeCompilationConfig extends GeneratedMessageV3 implements CodeCompilationConfigOrBuilder

Configures various aspects of Dataform code compilation.

Protobuf type google.cloud.dataform.v1beta1.CodeCompilationConfig

Static Fields

ASSERTION_SCHEMA_FIELD_NUMBER

public static final int ASSERTION_SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

DATABASE_SUFFIX_FIELD_NUMBER

public static final int DATABASE_SUFFIX_FIELD_NUMBER
Field Value
Type Description
int

DEFAULT_DATABASE_FIELD_NUMBER

public static final int DEFAULT_DATABASE_FIELD_NUMBER
Field Value
Type Description
int

DEFAULT_LOCATION_FIELD_NUMBER

public static final int DEFAULT_LOCATION_FIELD_NUMBER
Field Value
Type Description
int

DEFAULT_SCHEMA_FIELD_NUMBER

public static final int DEFAULT_SCHEMA_FIELD_NUMBER
Field Value
Type Description
int

SCHEMA_SUFFIX_FIELD_NUMBER

public static final int SCHEMA_SUFFIX_FIELD_NUMBER
Field Value
Type Description
int

TABLE_PREFIX_FIELD_NUMBER

public static final int TABLE_PREFIX_FIELD_NUMBER
Field Value
Type Description
int

VARS_FIELD_NUMBER

public static final int VARS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CodeCompilationConfig getDefaultInstance()
Returns
Type Description
CodeCompilationConfig

getDescriptor()

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

newBuilder()

public static CodeCompilationConfig.Builder newBuilder()
Returns
Type Description
CodeCompilationConfig.Builder

newBuilder(CodeCompilationConfig prototype)

public static CodeCompilationConfig.Builder newBuilder(CodeCompilationConfig prototype)
Parameter
Name Description
prototype CodeCompilationConfig
Returns
Type Description
CodeCompilationConfig.Builder

parseDelimitedFrom(InputStream input)

public static CodeCompilationConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CodeCompilationConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CodeCompilationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CodeCompilationConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CodeCompilationConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CodeCompilationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CodeCompilationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CodeCompilationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CodeCompilationConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CodeCompilationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CodeCompilationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CodeCompilationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CodeCompilationConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CodeCompilationConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CodeCompilationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CodeCompilationConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CodeCompilationConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CodeCompilationConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CodeCompilationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CodeCompilationConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CodeCompilationConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CodeCompilationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CodeCompilationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CodeCompilationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CodeCompilationConfig> parser()
Returns
Type Description
Parser<CodeCompilationConfig>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

getParserForType()

public Parser<CodeCompilationConfig> getParserForType()
Returns
Type Description
Parser<CodeCompilationConfig>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CodeCompilationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CodeCompilationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException