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 |
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()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticSourceEnvironment.BuildernewBuilder()
newBuilder(SourceEnvironment prototype)
publicstaticSourceEnvironment.BuildernewBuilder(SourceEnvironmentprototype)
publicstaticSourceEnvironmentparseDelimitedFrom(InputStreaminput)
publicstaticSourceEnvironmentparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticSourceEnvironmentparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticSourceEnvironmentparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticSourceEnvironmentparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticSourceEnvironmentparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticSourceEnvironmentparseFrom(CodedInputStreaminput)
publicstaticSourceEnvironmentparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticSourceEnvironmentparseFrom(InputStreaminput)
publicstaticSourceEnvironmentparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticSourceEnvironmentparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticSourceEnvironmentparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<SourceEnvironment>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
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()
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.
|
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()
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;
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicSourceEnvironment.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedSourceEnvironment.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicSourceEnvironment.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides