public final class SourceEnvironment extends GeneratedMessageV3 implements SourceEnvironmentOrBuilder
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
public static final int DEFAULT_DATABASE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int METADATA_STORE_DATASET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SCHEMA_SEARCH_PATH_FIELD_NUMBER
public static final int SCHEMA_SEARCH_PATH_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SourceEnvironment getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SourceEnvironment.Builder newBuilder()
newBuilder(SourceEnvironment prototype)
public static SourceEnvironment.Builder newBuilder(SourceEnvironment prototype)
public static SourceEnvironment parseDelimitedFrom(InputStream input)
public static SourceEnvironment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SourceEnvironment parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SourceEnvironment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SourceEnvironment parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SourceEnvironment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SourceEnvironment parseFrom(CodedInputStream input)
public static SourceEnvironment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SourceEnvironment parseFrom(InputStream input)
public static SourceEnvironment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SourceEnvironment parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SourceEnvironment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SourceEnvironment> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultDatabase()
public String getDefaultDatabase()
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()
public ByteString getDefaultDatabaseBytes()
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()
public SourceEnvironment getDefaultInstanceForType()
public String getMetadataStoreDataset()
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.
|
public ByteString getMetadataStoreDatasetBytes()
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()
public Parser<SourceEnvironment> getParserForType()
Overrides
getSchemaSearchPath(int index)
public String getSchemaSearchPath(int index)
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)
public ByteString getSchemaSearchPathBytes(int index)
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()
public int getSchemaSearchPathCount()
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()
public ProtocolStringList getSchemaSearchPathList()
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()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SourceEnvironment.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SourceEnvironment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SourceEnvironment.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides