Class Repository.WorkspaceCompilationOverrides (0.29.0)

public static final class Repository.WorkspaceCompilationOverrides extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Repository.WorkspaceCompilationOverrides

Static Fields

DEFAULT_DATABASE_FIELD_NUMBER

public static final int DEFAULT_DATABASE_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

Static Methods

getDefaultInstance()

public static Repository.WorkspaceCompilationOverrides getDefaultInstance()
Returns
Type Description
Repository.WorkspaceCompilationOverrides

getDescriptor()

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

newBuilder()

public static Repository.WorkspaceCompilationOverrides.Builder newBuilder()
Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder

newBuilder(Repository.WorkspaceCompilationOverrides prototype)

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

parseDelimitedFrom(InputStream input)

public static Repository.WorkspaceCompilationOverrides parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Repository.WorkspaceCompilationOverrides
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Repository.WorkspaceCompilationOverrides parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Repository.WorkspaceCompilationOverrides
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Repository.WorkspaceCompilationOverrides parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Repository.WorkspaceCompilationOverrides
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Repository.WorkspaceCompilationOverrides parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Repository.WorkspaceCompilationOverrides
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Repository.WorkspaceCompilationOverrides parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Repository.WorkspaceCompilationOverrides
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Repository.WorkspaceCompilationOverrides> parser()
Returns
Type Description
Parser<WorkspaceCompilationOverrides>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

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

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 = 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Repository.WorkspaceCompilationOverrides.Builder newBuilderForType()
Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Repository.WorkspaceCompilationOverrides.Builder toBuilder()
Returns
Type Description
Repository.WorkspaceCompilationOverrides.Builder

writeTo(CodedOutputStream output)

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