public static final class CompilationResult.CodeCompilationConfig extends GeneratedMessageV3 implements CompilationResult.CodeCompilationConfigOrBuilder
Configures various aspects of Dataform code compilation.
Protobuf type google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig
Static Fields
public static final int ASSERTION_SCHEMA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DATABASE_SUFFIX_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DEFAULT_DATABASE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DEFAULT_LOCATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DEFAULT_SCHEMA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SCHEMA_SUFFIX_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TABLE_PREFIX_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int VARS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static CompilationResult.CodeCompilationConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static CompilationResult.CodeCompilationConfig.Builder newBuilder()
public static CompilationResult.CodeCompilationConfig.Builder newBuilder(CompilationResult.CodeCompilationConfig prototype)
public static CompilationResult.CodeCompilationConfig parseDelimitedFrom(InputStream input)
public static CompilationResult.CodeCompilationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CompilationResult.CodeCompilationConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static CompilationResult.CodeCompilationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CompilationResult.CodeCompilationConfig parseFrom(ByteString data)
public static CompilationResult.CodeCompilationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CompilationResult.CodeCompilationConfig parseFrom(CodedInputStream input)
public static CompilationResult.CodeCompilationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CompilationResult.CodeCompilationConfig parseFrom(InputStream input)
public static CompilationResult.CodeCompilationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CompilationResult.CodeCompilationConfig parseFrom(ByteBuffer data)
public static CompilationResult.CodeCompilationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<CompilationResult.CodeCompilationConfig> parser()
Methods
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
|
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
public CompilationResult.CodeCompilationConfig getDefaultInstanceForType()
public String getDefaultLocation()
Returns |
Type |
Description |
String |
The defaultLocation.
|
public ByteString getDefaultLocationBytes()
Returns |
Type |
Description |
ByteString |
The bytes for defaultLocation.
|
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.
|
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.
|
public Parser<CompilationResult.CodeCompilationConfig> getParserForType()
Overrides
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.
|
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.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
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.
|
public final UnknownFieldSet getUnknownFields()
Overrides
public Map<String,String> getVars()
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 |
|
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];
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];
Returns |
Type |
Description |
String |
|
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 |
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapField internalGetMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
public final boolean isInitialized()
Overrides
public CompilationResult.CodeCompilationConfig.Builder newBuilderForType()
protected CompilationResult.CodeCompilationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public CompilationResult.CodeCompilationConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides