- 0.58.0 (latest)
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.2
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.4
public static final class SourceEnvironment.Builder extends GeneratedMessageV3.Builder<SourceEnvironment.Builder> implements SourceEnvironmentOrBuilder
Represents the default source environment values for the translation.
Protobuf type google.cloud.bigquery.migration.v2.SourceEnvironment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SourceEnvironment.BuilderImplements
SourceEnvironmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllSchemaSearchPath(Iterable<String> values)
public SourceEnvironment.Builder addAllSchemaSearchPath(Iterable<String> values)
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 |
values |
Iterable<String> The schemaSearchPath to add. |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SourceEnvironment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
addSchemaSearchPath(String value)
public SourceEnvironment.Builder addSchemaSearchPath(String value)
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 |
value |
String The schemaSearchPath to add. |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
This builder for chaining. |
addSchemaSearchPathBytes(ByteString value)
public SourceEnvironment.Builder addSchemaSearchPathBytes(ByteString value)
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 |
value |
ByteString The bytes of the schemaSearchPath to add. |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
This builder for chaining. |
build()
public SourceEnvironment build()
Returns | |
---|---|
Type | Description |
SourceEnvironment |
buildPartial()
public SourceEnvironment buildPartial()
Returns | |
---|---|
Type | Description |
SourceEnvironment |
clear()
public SourceEnvironment.Builder clear()
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
clearDefaultDatabase()
public SourceEnvironment.Builder clearDefaultDatabase()
The default database name to fully qualify SQL objects when their database name is missing.
string default_database = 1;
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SourceEnvironment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
clearMetadataStoreDataset()
public SourceEnvironment.Builder clearMetadataStoreDataset()
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 |
SourceEnvironment.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceEnvironment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
clearSchemaSearchPath()
public SourceEnvironment.Builder 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 | |
---|---|
Type | Description |
SourceEnvironment.Builder |
This builder for chaining. |
clone()
public SourceEnvironment.Builder clone()
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
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()
Returns | |
---|---|
Type | Description |
SourceEnvironment |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMetadataStoreDataset()
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. |
getMetadataStoreDatasetBytes()
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. |
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;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the schemaSearchPath. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SourceEnvironment other)
public SourceEnvironment.Builder mergeFrom(SourceEnvironment other)
Parameter | |
---|---|
Name | Description |
other |
SourceEnvironment |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SourceEnvironment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SourceEnvironment.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceEnvironment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
setDefaultDatabase(String value)
public SourceEnvironment.Builder setDefaultDatabase(String value)
The default database name to fully qualify SQL objects when their database name is missing.
string default_database = 1;
Parameter | |
---|---|
Name | Description |
value |
String The defaultDatabase to set. |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
This builder for chaining. |
setDefaultDatabaseBytes(ByteString value)
public SourceEnvironment.Builder setDefaultDatabaseBytes(ByteString value)
The default database name to fully qualify SQL objects when their database name is missing.
string default_database = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for defaultDatabase to set. |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SourceEnvironment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
setMetadataStoreDataset(String value)
public SourceEnvironment.Builder setMetadataStoreDataset(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The metadataStoreDataset to set. |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
This builder for chaining. |
setMetadataStoreDatasetBytes(ByteString value)
public SourceEnvironment.Builder setMetadataStoreDatasetBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for metadataStoreDataset to set. |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceEnvironment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
setSchemaSearchPath(int index, String value)
public SourceEnvironment.Builder setSchemaSearchPath(int index, String value)
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The schemaSearchPath to set. |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceEnvironment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SourceEnvironment.Builder |