Class SourceEnv.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SourceEnv.Builder>
com.google.cloud.bigquery.migration.v2.SourceEnv.Builder
- All Implemented Interfaces:
SourceEnvOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SourceEnv
public static final class SourceEnv.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SourceEnv.Builder>
implements SourceEnvOrBuilder
Represents the default source environment values for the translation.Protobuf type
google.cloud.bigquery.migration.v2.SourceEnv-
Method Summary
Modifier and TypeMethodDescriptionaddAllSchemaSearchPath(Iterable<String> values) The schema search path.addSchemaSearchPath(String value) The schema search path.addSchemaSearchPathBytes(com.google.protobuf.ByteString value) The schema search path.build()clear()The default database name to fully qualify SQL objects when their database name is missing.Optional.The schema search path.The default database name to fully qualify SQL objects when their database name is missing.com.google.protobuf.ByteStringThe default database name to fully qualify SQL objects when their database name is missing.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.getSchemaSearchPath(int index) The schema search path.com.google.protobuf.ByteStringgetSchemaSearchPathBytes(int index) The schema search path.intThe schema search path.com.google.protobuf.ProtocolStringListThe schema search path.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDefaultDatabase(String value) The default database name to fully qualify SQL objects when their database name is missing.setDefaultDatabaseBytes(com.google.protobuf.ByteString value) The default database name to fully qualify SQL objects when their database name is missing.setMetadataStoreDataset(String value) Optional.setMetadataStoreDatasetBytes(com.google.protobuf.ByteString value) Optional.setSchemaSearchPath(int index, String value) The schema search path.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SourceEnv.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SourceEnv.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SourceEnv.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SourceEnv.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SourceEnv.Builder>
-
mergeFrom
public SourceEnv.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SourceEnv.Builder>- Throws:
IOException
-
getDefaultDatabase
The default database name to fully qualify SQL objects when their database name is missing.
string default_database = 1;- Specified by:
getDefaultDatabasein interfaceSourceEnvOrBuilder- Returns:
- The defaultDatabase.
-
getDefaultDatabaseBytes
public com.google.protobuf.ByteString getDefaultDatabaseBytes()The default database name to fully qualify SQL objects when their database name is missing.
string default_database = 1;- Specified by:
getDefaultDatabaseBytesin interfaceSourceEnvOrBuilder- Returns:
- The bytes for defaultDatabase.
-
setDefaultDatabase
The default database name to fully qualify SQL objects when their database name is missing.
string default_database = 1;- Parameters:
value- The defaultDatabase to set.- Returns:
- This builder for chaining.
-
clearDefaultDatabase
The default database name to fully qualify SQL objects when their database name is missing.
string default_database = 1;- Returns:
- This builder for chaining.
-
setDefaultDatabaseBytes
The default database name to fully qualify SQL objects when their database name is missing.
string default_database = 1;- Parameters:
value- The bytes for defaultDatabase to set.- Returns:
- This builder for chaining.
-
getSchemaSearchPathList
public com.google.protobuf.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;- Specified by:
getSchemaSearchPathListin interfaceSourceEnvOrBuilder- Returns:
- A list containing the schemaSearchPath.
-
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;- Specified by:
getSchemaSearchPathCountin interfaceSourceEnvOrBuilder- Returns:
- The count of schemaSearchPath.
-
getSchemaSearchPath
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;- Specified by:
getSchemaSearchPathin interfaceSourceEnvOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The schemaSearchPath at the given index.
-
getSchemaSearchPathBytes
public com.google.protobuf.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;- Specified by:
getSchemaSearchPathBytesin interfaceSourceEnvOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the schemaSearchPath at the given index.
-
setSchemaSearchPath
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;- Parameters:
index- The index to set the value at.value- The schemaSearchPath to set.- Returns:
- This builder for chaining.
-
addSchemaSearchPath
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;- Parameters:
value- The schemaSearchPath to add.- Returns:
- This builder for chaining.
-
addAllSchemaSearchPath
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;- Parameters:
values- The schemaSearchPath to add.- Returns:
- This builder for chaining.
-
clearSchemaSearchPath
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:
- This builder for chaining.
-
addSchemaSearchPathBytes
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;- Parameters:
value- The bytes of the schemaSearchPath to add.- Returns:
- This builder for chaining.
-
getMetadataStoreDataset
Optional. Expects a valid 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];- Specified by:
getMetadataStoreDatasetin interfaceSourceEnvOrBuilder- Returns:
- The metadataStoreDataset.
-
getMetadataStoreDatasetBytes
public com.google.protobuf.ByteString getMetadataStoreDatasetBytes()Optional. Expects a valid 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];- Specified by:
getMetadataStoreDatasetBytesin interfaceSourceEnvOrBuilder- Returns:
- The bytes for metadataStoreDataset.
-
setMetadataStoreDataset
Optional. Expects a valid 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];- Parameters:
value- The metadataStoreDataset to set.- Returns:
- This builder for chaining.
-
clearMetadataStoreDataset
Optional. Expects a valid 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:
- This builder for chaining.
-
setMetadataStoreDatasetBytes
Optional. Expects a valid 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];- Parameters:
value- The bytes for metadataStoreDataset to set.- Returns:
- This builder for chaining.
-