Class SourceEnvironment (0.75.0)

publicfinalclass SourceEnvironmentextendsGeneratedMessageV3implementsSourceEnvironmentOrBuilder

Represents the default source environment values for the translation.

Protobuf type google.cloud.bigquery.migration.v2.SourceEnvironment

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

DEFAULT_DATABASE_FIELD_NUMBER

publicstaticfinalintDEFAULT_DATABASE_FIELD_NUMBER
Field Value
Type Description
int

METADATA_STORE_DATASET_FIELD_NUMBER

publicstaticfinalintMETADATA_STORE_DATASET_FIELD_NUMBER
Field Value
Type Description
int

SCHEMA_SEARCH_PATH_FIELD_NUMBER

publicstaticfinalintSCHEMA_SEARCH_PATH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticSourceEnvironmentgetDefaultInstance()
Returns
Type Description
SourceEnvironment

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticSourceEnvironment.BuildernewBuilder()
Returns
Type Description
SourceEnvironment.Builder

newBuilder(SourceEnvironment prototype)

publicstaticSourceEnvironment.BuildernewBuilder(SourceEnvironmentprototype)
Parameter
Name Description
prototype SourceEnvironment
Returns
Type Description
SourceEnvironment.Builder

parseDelimitedFrom(InputStream input)

publicstaticSourceEnvironmentparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
SourceEnvironment
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSourceEnvironmentparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceEnvironment
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticSourceEnvironmentparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
SourceEnvironment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticSourceEnvironmentparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceEnvironment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticSourceEnvironmentparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
SourceEnvironment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticSourceEnvironmentparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceEnvironment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticSourceEnvironmentparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SourceEnvironment
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSourceEnvironmentparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceEnvironment
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticSourceEnvironmentparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
SourceEnvironment
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSourceEnvironmentparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceEnvironment
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticSourceEnvironmentparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SourceEnvironment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticSourceEnvironmentparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceEnvironment
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<SourceEnvironment>parser()
Returns
Type Description
Parser<SourceEnvironment>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultDatabase()

publicStringgetDefaultDatabase()

The default database name to fully qualify SQL objects when their database name is missing.

string default_database = 1;

Returns
Type Description
String

The defaultDatabase.

getDefaultDatabaseBytes()

publicByteStringgetDefaultDatabaseBytes()

The default database name to fully qualify SQL objects when their database name is missing.

string default_database = 1;

Returns
Type Description
ByteString

The bytes for defaultDatabase.

getDefaultInstanceForType()

publicSourceEnvironmentgetDefaultInstanceForType()
Returns
Type Description
SourceEnvironment

getMetadataStoreDataset()

publicStringgetMetadataStoreDataset()

Optional. Expects a validQ BigQuery dataset ID that exists, e.g., project-123.metadata_store_123. If specified, translation will search and read the required schema information from a metadata store in this dataset. If metadata store doesn't exist, translation will parse the metadata file and upload the schema info to a temp table in the dataset to speed up future translation jobs.

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

Returns
Type Description
String

The metadataStoreDataset.

getMetadataStoreDatasetBytes()

publicByteStringgetMetadataStoreDatasetBytes()

Optional. Expects a validQ BigQuery dataset ID that exists, e.g., project-123.metadata_store_123. If specified, translation will search and read the required schema information from a metadata store in this dataset. If metadata store doesn't exist, translation will parse the metadata file and upload the schema info to a temp table in the dataset to speed up future translation jobs.

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

Returns
Type Description
ByteString

The bytes for metadataStoreDataset.

getParserForType()

publicParser<SourceEnvironment>getParserForType()
Returns
Type Description
Parser<SourceEnvironment>
Overrides

getSchemaSearchPath(int index)

publicStringgetSchemaSearchPath(intindex)

The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.

repeated string schema_search_path = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The schemaSearchPath at the given index.

getSchemaSearchPathBytes(int index)

publicByteStringgetSchemaSearchPathBytes(intindex)

The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.

repeated string schema_search_path = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the schemaSearchPath at the given index.

getSchemaSearchPathCount()

publicintgetSchemaSearchPathCount()

The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.

repeated string schema_search_path = 2;

Returns
Type Description
int

The count of schemaSearchPath.

getSchemaSearchPathList()

publicProtocolStringListgetSchemaSearchPathList()

The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.

repeated string schema_search_path = 2;

Returns
Type Description
ProtocolStringList

A list containing the schemaSearchPath.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicSourceEnvironment.BuildernewBuilderForType()
Returns
Type Description
SourceEnvironment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedSourceEnvironment.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SourceEnvironment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicSourceEnvironment.BuildertoBuilder()
Returns
Type Description
SourceEnvironment.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.