- 0.56.0 (latest)
- 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 SourceEnv.Builder extends GeneratedMessageV3.Builder<SourceEnv.Builder> implements SourceEnvOrBuilder
Represents the default source environment values for the translation.
Protobuf type google.cloud.bigquery.migration.v2.SourceEnv
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SourceEnv.BuilderImplements
SourceEnvOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllSchemaSearchPath(Iterable<String> values)
public SourceEnv.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 |
SourceEnv.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SourceEnv.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SourceEnv.Builder |
addSchemaSearchPath(String value)
public SourceEnv.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 |
SourceEnv.Builder |
This builder for chaining. |
addSchemaSearchPathBytes(ByteString value)
public SourceEnv.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 |
SourceEnv.Builder |
This builder for chaining. |
build()
public SourceEnv build()
Returns | |
---|---|
Type | Description |
SourceEnv |
buildPartial()
public SourceEnv buildPartial()
Returns | |
---|---|
Type | Description |
SourceEnv |
clear()
public SourceEnv.Builder clear()
Returns | |
---|---|
Type | Description |
SourceEnv.Builder |
clearDefaultDatabase()
public SourceEnv.Builder clearDefaultDatabase()
The default database name to fully qualify SQL objects when their database name is missing.
string default_database = 1;
Returns | |
---|---|
Type | Description |
SourceEnv.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SourceEnv.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SourceEnv.Builder |
clearMetadataStoreDataset()
public SourceEnv.Builder 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 | |
---|---|
Type | Description |
SourceEnv.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceEnv.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SourceEnv.Builder |
clearSchemaSearchPath()
public SourceEnv.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 |
SourceEnv.Builder |
This builder for chaining. |
clone()
public SourceEnv.Builder clone()
Returns | |
---|---|
Type | Description |
SourceEnv.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 SourceEnv getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SourceEnv |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMetadataStoreDataset()
public String 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];
Returns | |
---|---|
Type | Description |
String |
The metadataStoreDataset. |
getMetadataStoreDatasetBytes()
public 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];
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(SourceEnv other)
public SourceEnv.Builder mergeFrom(SourceEnv other)
Parameter | |
---|---|
Name | Description |
other |
SourceEnv |
Returns | |
---|---|
Type | Description |
SourceEnv.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SourceEnv.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SourceEnv.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SourceEnv.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SourceEnv.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceEnv.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SourceEnv.Builder |
setDefaultDatabase(String value)
public SourceEnv.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 |
SourceEnv.Builder |
This builder for chaining. |
setDefaultDatabaseBytes(ByteString value)
public SourceEnv.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 |
SourceEnv.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SourceEnv.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SourceEnv.Builder |
setMetadataStoreDataset(String value)
public SourceEnv.Builder setMetadataStoreDataset(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The metadataStoreDataset to set. |
Returns | |
---|---|
Type | Description |
SourceEnv.Builder |
This builder for chaining. |
setMetadataStoreDatasetBytes(ByteString value)
public SourceEnv.Builder setMetadataStoreDatasetBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for metadataStoreDataset to set. |
Returns | |
---|---|
Type | Description |
SourceEnv.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceEnv.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SourceEnv.Builder |
setSchemaSearchPath(int index, String value)
public SourceEnv.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 |
SourceEnv.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceEnv.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SourceEnv.Builder |