Class CompilationResult.CodeCompilationConfig (0.4.0)

public static final class CompilationResult.CodeCompilationConfig extends GeneratedMessageV3 implements CompilationResult.CodeCompilationConfigOrBuilder

Configures various aspects of Dataform code compilation.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CompilationResult.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 CompilationResult.CodeCompilationConfig getDefaultInstance()
Returns
Type Description
CompilationResult.CodeCompilationConfig

getDescriptor()

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

newBuilder()

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

newBuilder(CompilationResult.CodeCompilationConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<CompilationResult.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 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.

getParserForType()

public Parser<CompilationResult.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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CompilationResult.CodeCompilationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CompilationResult.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 CompilationResult.CodeCompilationConfig.Builder toBuilder()
Returns
Type Description
CompilationResult.CodeCompilationConfig.Builder

writeTo(CodedOutputStream output)

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