public static final class CloudSqlSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSource.Builder> implements CloudSqlSourceOrBuilder
Cloud SQL source import data from.Protobuf type
google.cloud.discoveryengine.v1alpha.CloudSqlSource| Modifier and Type | Method and Description |
|---|---|
CloudSqlSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudSqlSource |
build() |
CloudSqlSource |
buildPartial() |
CloudSqlSource.Builder |
clear() |
CloudSqlSource.Builder |
clearDatabaseId()
Required.
|
CloudSqlSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CloudSqlSource.Builder |
clearGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
CloudSqlSource.Builder |
clearInstanceId()
Required.
|
CloudSqlSource.Builder |
clearOffload()
Option for serverless export.
|
CloudSqlSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CloudSqlSource.Builder |
clearProjectId()
The project ID that the Cloud SQL source is in with a length limit of 128
characters.
|
CloudSqlSource.Builder |
clearTableId()
Required.
|
CloudSqlSource.Builder |
clone() |
String |
getDatabaseId()
Required.
|
com.google.protobuf.ByteString |
getDatabaseIdBytes()
Required.
|
CloudSqlSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
com.google.protobuf.ByteString |
getGcsStagingDirBytes()
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
String |
getInstanceId()
Required.
|
com.google.protobuf.ByteString |
getInstanceIdBytes()
Required.
|
boolean |
getOffload()
Option for serverless export.
|
String |
getProjectId()
The project ID that the Cloud SQL source is in with a length limit of 128
characters.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
The project ID that the Cloud SQL source is in with a length limit of 128
characters.
|
String |
getTableId()
Required.
|
com.google.protobuf.ByteString |
getTableIdBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CloudSqlSource.Builder |
mergeFrom(CloudSqlSource other) |
CloudSqlSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CloudSqlSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
CloudSqlSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CloudSqlSource.Builder |
setDatabaseId(String value)
Required.
|
CloudSqlSource.Builder |
setDatabaseIdBytes(com.google.protobuf.ByteString value)
Required.
|
CloudSqlSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudSqlSource.Builder |
setGcsStagingDir(String value)
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
CloudSqlSource.Builder |
setGcsStagingDirBytes(com.google.protobuf.ByteString value)
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
CloudSqlSource.Builder |
setInstanceId(String value)
Required.
|
CloudSqlSource.Builder |
setInstanceIdBytes(com.google.protobuf.ByteString value)
Required.
|
CloudSqlSource.Builder |
setOffload(boolean value)
Option for serverless export.
|
CloudSqlSource.Builder |
setProjectId(String value)
The project ID that the Cloud SQL source is in with a length limit of 128
characters.
|
CloudSqlSource.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
The project ID that the Cloud SQL source is in with a length limit of 128
characters.
|
CloudSqlSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CloudSqlSource.Builder |
setTableId(String value)
Required.
|
CloudSqlSource.Builder |
setTableIdBytes(com.google.protobuf.ByteString value)
Required.
|
CloudSqlSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSource.Builder>public CloudSqlSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSource.Builder>public CloudSqlSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CloudSqlSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CloudSqlSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CloudSqlSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSource.Builder>public CloudSqlSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSource.Builder>public CloudSqlSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSource.Builder>public CloudSqlSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSource.Builder>public CloudSqlSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSource.Builder>public CloudSqlSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSource.Builder>public CloudSqlSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudSqlSource.Builder>public CloudSqlSource.Builder mergeFrom(CloudSqlSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSource.Builder>public CloudSqlSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudSqlSource.Builder>IOExceptionpublic String getProjectId()
The project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;getProjectId in interface CloudSqlSourceOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
The project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;getProjectIdBytes in interface CloudSqlSourceOrBuilderpublic CloudSqlSource.Builder setProjectId(String value)
The project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;value - The projectId to set.public CloudSqlSource.Builder clearProjectId()
The project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;public CloudSqlSource.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
The project ID that the Cloud SQL source is in with a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;value - The bytes for projectId to set.public String getInstanceId()
Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];getInstanceId in interface CloudSqlSourceOrBuilderpublic com.google.protobuf.ByteString getInstanceIdBytes()
Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];getInstanceIdBytes in interface CloudSqlSourceOrBuilderpublic CloudSqlSource.Builder setInstanceId(String value)
Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];value - The instanceId to set.public CloudSqlSource.Builder clearInstanceId()
Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];public CloudSqlSource.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
Required. The Cloud SQL instance to copy the data from with a length limit of 256 characters.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for instanceId to set.public String getDatabaseId()
Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];getDatabaseId in interface CloudSqlSourceOrBuilderpublic com.google.protobuf.ByteString getDatabaseIdBytes()
Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];getDatabaseIdBytes in interface CloudSqlSourceOrBuilderpublic CloudSqlSource.Builder setDatabaseId(String value)
Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];value - The databaseId to set.public CloudSqlSource.Builder clearDatabaseId()
Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];public CloudSqlSource.Builder setDatabaseIdBytes(com.google.protobuf.ByteString value)
Required. The Cloud SQL database to copy the data from with a length limit of 256 characters.
string database_id = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for databaseId to set.public String getTableId()
Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.
string table_id = 4 [(.google.api.field_behavior) = REQUIRED];getTableId in interface CloudSqlSourceOrBuilderpublic com.google.protobuf.ByteString getTableIdBytes()
Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.
string table_id = 4 [(.google.api.field_behavior) = REQUIRED];getTableIdBytes in interface CloudSqlSourceOrBuilderpublic CloudSqlSource.Builder setTableId(String value)
Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.
string table_id = 4 [(.google.api.field_behavior) = REQUIRED];value - The tableId to set.public CloudSqlSource.Builder clearTableId()
Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.
string table_id = 4 [(.google.api.field_behavior) = REQUIRED];public CloudSqlSource.Builder setTableIdBytes(com.google.protobuf.ByteString value)
Required. The Cloud SQL table to copy the data from with a length limit of 256 characters.
string table_id = 4 [(.google.api.field_behavior) = REQUIRED];value - The bytes for tableId to set.public String getGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Cloud SQL export to a specific Cloud Storage directory. Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
string gcs_staging_dir = 5;getGcsStagingDir in interface CloudSqlSourceOrBuilderpublic com.google.protobuf.ByteString getGcsStagingDirBytes()
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Cloud SQL export to a specific Cloud Storage directory. Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
string gcs_staging_dir = 5;getGcsStagingDirBytes in interface CloudSqlSourceOrBuilderpublic CloudSqlSource.Builder setGcsStagingDir(String value)
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Cloud SQL export to a specific Cloud Storage directory. Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
string gcs_staging_dir = 5;value - The gcsStagingDir to set.public CloudSqlSource.Builder clearGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Cloud SQL export to a specific Cloud Storage directory. Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
string gcs_staging_dir = 5;public CloudSqlSource.Builder setGcsStagingDirBytes(com.google.protobuf.ByteString value)
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the Cloud SQL export to a specific Cloud Storage directory. Ensure that the Cloud SQL service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
string gcs_staging_dir = 5;value - The bytes for gcsStagingDir to set.public boolean getOffload()
Option for serverless export. Enabling this option will incur additional cost. More info can be found [here](https://cloud.google.com/sql/pricing#serverless).
bool offload = 6;getOffload in interface CloudSqlSourceOrBuilderpublic CloudSqlSource.Builder setOffload(boolean value)
Option for serverless export. Enabling this option will incur additional cost. More info can be found [here](https://cloud.google.com/sql/pricing#serverless).
bool offload = 6;value - The offload to set.public CloudSqlSource.Builder clearOffload()
Option for serverless export. Enabling this option will incur additional cost. More info can be found [here](https://cloud.google.com/sql/pricing#serverless).
bool offload = 6;public final CloudSqlSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSource.Builder>public final CloudSqlSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSource.Builder>Copyright © 2024 Google LLC. All rights reserved.