Class Repository.WorkspaceCompilationOverrides.Builder (0.53.0)

public static final class Repository.WorkspaceCompilationOverrides.Builder extends GeneratedMessageV3.Builder<Repository.WorkspaceCompilationOverrides.Builder> implements Repository.WorkspaceCompilationOverridesOrBuilder

Configures workspace compilation overrides for a repository. Primarily used by the UI (console.cloud.google.com). schema_suffix and table_prefix can have a special expression - ${workspaceName}, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in code_compilation_config (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results.

Protobuf type google.cloud.dataform.v1beta1.Repository.WorkspaceCompilationOverrides

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Repository.WorkspaceCompilationOverrides build()
Returns
Type Description
Repository.WorkspaceCompilationOverrides

buildPartial()

public Repository.WorkspaceCompilationOverrides buildPartial()
Returns
Type Description
Repository.WorkspaceCompilationOverrides

clear()

public Repository.WorkspaceCompilationOverrides.Builder clear()
Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder
Overrides

clearDefaultDatabase()

public Repository.WorkspaceCompilationOverrides.Builder clearDefaultDatabase()

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

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

Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Repository.WorkspaceCompilationOverrides.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Repository.WorkspaceCompilationOverrides.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder
Overrides

clearSchemaSuffix()

public Repository.WorkspaceCompilationOverrides.Builder clearSchemaSuffix()

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

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

Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder

This builder for chaining.

clearTablePrefix()

public Repository.WorkspaceCompilationOverrides.Builder clearTablePrefix()

Optional. The prefix that should be prepended to all table names.

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

Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder

This builder for chaining.

clone()

public Repository.WorkspaceCompilationOverrides.Builder clone()
Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder
Overrides

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 Repository.WorkspaceCompilationOverrides getDefaultInstanceForType()
Returns
Type Description
Repository.WorkspaceCompilationOverrides

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSchemaSuffix()

public String getSchemaSuffix()

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

string schema_suffix = 2 [(.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 = 2 [(.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 = 3 [(.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 = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for tablePrefix.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Repository.WorkspaceCompilationOverrides other)

public Repository.WorkspaceCompilationOverrides.Builder mergeFrom(Repository.WorkspaceCompilationOverrides other)
Parameter
Name Description
other Repository.WorkspaceCompilationOverrides
Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Repository.WorkspaceCompilationOverrides.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Repository.WorkspaceCompilationOverrides.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder
Overrides

setDefaultDatabase(String value)

public Repository.WorkspaceCompilationOverrides.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
Repository.WorkspaceCompilationOverrides.Builder

This builder for chaining.

setDefaultDatabaseBytes(ByteString value)

public Repository.WorkspaceCompilationOverrides.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
Repository.WorkspaceCompilationOverrides.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSchemaSuffix(String value)

public Repository.WorkspaceCompilationOverrides.Builder setSchemaSuffix(String value)

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

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

Parameter
Name Description
value String

The schemaSuffix to set.

Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder

This builder for chaining.

setSchemaSuffixBytes(ByteString value)

public Repository.WorkspaceCompilationOverrides.Builder setSchemaSuffixBytes(ByteString value)

Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.

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

Parameter
Name Description
value ByteString

The bytes for schemaSuffix to set.

Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder

This builder for chaining.

setTablePrefix(String value)

public Repository.WorkspaceCompilationOverrides.Builder setTablePrefix(String value)

Optional. The prefix that should be prepended to all table names.

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

Parameter
Name Description
value String

The tablePrefix to set.

Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder

This builder for chaining.

setTablePrefixBytes(ByteString value)

public Repository.WorkspaceCompilationOverrides.Builder setTablePrefixBytes(ByteString value)

Optional. The prefix that should be prepended to all table names.

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

Parameter
Name Description
value ByteString

The bytes for tablePrefix to set.

Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Repository.WorkspaceCompilationOverrides.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder
Overrides