public static final class AlloyDbSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSource.Builder> implements AlloyDbSourceOrBuilder
AlloyDB source import data from.Protobuf type
google.cloud.discoveryengine.v1alpha.AlloyDbSource| Modifier and Type | Method and Description |
|---|---|
AlloyDbSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AlloyDbSource |
build() |
AlloyDbSource |
buildPartial() |
AlloyDbSource.Builder |
clear() |
AlloyDbSource.Builder |
clearClusterId()
Required.
|
AlloyDbSource.Builder |
clearDatabaseId()
Required.
|
AlloyDbSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AlloyDbSource.Builder |
clearGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
AlloyDbSource.Builder |
clearLocationId()
Required.
|
AlloyDbSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AlloyDbSource.Builder |
clearProjectId()
The project ID that the AlloyDB source is in
with a length limit of 128 characters.
|
AlloyDbSource.Builder |
clearTableId()
Required.
|
AlloyDbSource.Builder |
clone() |
String |
getClusterId()
Required.
|
com.google.protobuf.ByteString |
getClusterIdBytes()
Required.
|
String |
getDatabaseId()
Required.
|
com.google.protobuf.ByteString |
getDatabaseIdBytes()
Required.
|
AlloyDbSource |
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 |
getLocationId()
Required.
|
com.google.protobuf.ByteString |
getLocationIdBytes()
Required.
|
String |
getProjectId()
The project ID that the AlloyDB source is in
with a length limit of 128 characters.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
The project ID that the AlloyDB 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() |
AlloyDbSource.Builder |
mergeFrom(AlloyDbSource other) |
AlloyDbSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AlloyDbSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
AlloyDbSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AlloyDbSource.Builder |
setClusterId(String value)
Required.
|
AlloyDbSource.Builder |
setClusterIdBytes(com.google.protobuf.ByteString value)
Required.
|
AlloyDbSource.Builder |
setDatabaseId(String value)
Required.
|
AlloyDbSource.Builder |
setDatabaseIdBytes(com.google.protobuf.ByteString value)
Required.
|
AlloyDbSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AlloyDbSource.Builder |
setGcsStagingDir(String value)
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
AlloyDbSource.Builder |
setGcsStagingDirBytes(com.google.protobuf.ByteString value)
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
AlloyDbSource.Builder |
setLocationId(String value)
Required.
|
AlloyDbSource.Builder |
setLocationIdBytes(com.google.protobuf.ByteString value)
Required.
|
AlloyDbSource.Builder |
setProjectId(String value)
The project ID that the AlloyDB source is in
with a length limit of 128 characters.
|
AlloyDbSource.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
The project ID that the AlloyDB source is in
with a length limit of 128 characters.
|
AlloyDbSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AlloyDbSource.Builder |
setTableId(String value)
Required.
|
AlloyDbSource.Builder |
setTableIdBytes(com.google.protobuf.ByteString value)
Required.
|
AlloyDbSource.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<AlloyDbSource.Builder>public AlloyDbSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSource.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<AlloyDbSource.Builder>public AlloyDbSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AlloyDbSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AlloyDbSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AlloyDbSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSource.Builder>public AlloyDbSource.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<AlloyDbSource.Builder>public AlloyDbSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSource.Builder>public AlloyDbSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSource.Builder>public AlloyDbSource.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<AlloyDbSource.Builder>public AlloyDbSource.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<AlloyDbSource.Builder>public AlloyDbSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AlloyDbSource.Builder>public AlloyDbSource.Builder mergeFrom(AlloyDbSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSource.Builder>public AlloyDbSource.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<AlloyDbSource.Builder>IOExceptionpublic String getProjectId()
The project ID that the AlloyDB 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 AlloyDbSourceOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
The project ID that the AlloyDB 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 AlloyDbSourceOrBuilderpublic AlloyDbSource.Builder setProjectId(String value)
The project ID that the AlloyDB 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 AlloyDbSource.Builder clearProjectId()
The project ID that the AlloyDB 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 AlloyDbSource.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
The project ID that the AlloyDB 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 getLocationId()
Required. The AlloyDB location to copy the data from with a length limit of 256 characters.
string location_id = 2 [(.google.api.field_behavior) = REQUIRED];getLocationId in interface AlloyDbSourceOrBuilderpublic com.google.protobuf.ByteString getLocationIdBytes()
Required. The AlloyDB location to copy the data from with a length limit of 256 characters.
string location_id = 2 [(.google.api.field_behavior) = REQUIRED];getLocationIdBytes in interface AlloyDbSourceOrBuilderpublic AlloyDbSource.Builder setLocationId(String value)
Required. The AlloyDB location to copy the data from with a length limit of 256 characters.
string location_id = 2 [(.google.api.field_behavior) = REQUIRED];value - The locationId to set.public AlloyDbSource.Builder clearLocationId()
Required. The AlloyDB location to copy the data from with a length limit of 256 characters.
string location_id = 2 [(.google.api.field_behavior) = REQUIRED];public AlloyDbSource.Builder setLocationIdBytes(com.google.protobuf.ByteString value)
Required. The AlloyDB location to copy the data from with a length limit of 256 characters.
string location_id = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for locationId to set.public String getClusterId()
Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters.
string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];getClusterId in interface AlloyDbSourceOrBuilderpublic com.google.protobuf.ByteString getClusterIdBytes()
Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters.
string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];getClusterIdBytes in interface AlloyDbSourceOrBuilderpublic AlloyDbSource.Builder setClusterId(String value)
Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters.
string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];value - The clusterId to set.public AlloyDbSource.Builder clearClusterId()
Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters.
string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];public AlloyDbSource.Builder setClusterIdBytes(com.google.protobuf.ByteString value)
Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters.
string cluster_id = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for clusterId to set.public String getDatabaseId()
Required. The AlloyDB database to copy the data from with a length limit of 256 characters.
string database_id = 4 [(.google.api.field_behavior) = REQUIRED];getDatabaseId in interface AlloyDbSourceOrBuilderpublic com.google.protobuf.ByteString getDatabaseIdBytes()
Required. The AlloyDB database to copy the data from with a length limit of 256 characters.
string database_id = 4 [(.google.api.field_behavior) = REQUIRED];getDatabaseIdBytes in interface AlloyDbSourceOrBuilderpublic AlloyDbSource.Builder setDatabaseId(String value)
Required. The AlloyDB database to copy the data from with a length limit of 256 characters.
string database_id = 4 [(.google.api.field_behavior) = REQUIRED];value - The databaseId to set.public AlloyDbSource.Builder clearDatabaseId()
Required. The AlloyDB database to copy the data from with a length limit of 256 characters.
string database_id = 4 [(.google.api.field_behavior) = REQUIRED];public AlloyDbSource.Builder setDatabaseIdBytes(com.google.protobuf.ByteString value)
Required. The AlloyDB database to copy the data from with a length limit of 256 characters.
string database_id = 4 [(.google.api.field_behavior) = REQUIRED];value - The bytes for databaseId to set.public String getTableId()
Required. The AlloyDB table to copy the data from with a length limit of 256 characters.
string table_id = 5 [(.google.api.field_behavior) = REQUIRED];getTableId in interface AlloyDbSourceOrBuilderpublic com.google.protobuf.ByteString getTableIdBytes()
Required. The AlloyDB table to copy the data from with a length limit of 256 characters.
string table_id = 5 [(.google.api.field_behavior) = REQUIRED];getTableIdBytes in interface AlloyDbSourceOrBuilderpublic AlloyDbSource.Builder setTableId(String value)
Required. The AlloyDB table to copy the data from with a length limit of 256 characters.
string table_id = 5 [(.google.api.field_behavior) = REQUIRED];value - The tableId to set.public AlloyDbSource.Builder clearTableId()
Required. The AlloyDB table to copy the data from with a length limit of 256 characters.
string table_id = 5 [(.google.api.field_behavior) = REQUIRED];public AlloyDbSource.Builder setTableIdBytes(com.google.protobuf.ByteString value)
Required. The AlloyDB table to copy the data from with a length limit of 256 characters.
string table_id = 5 [(.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 AlloyDB export to a specific Cloud Storage directory. Ensure that the AlloyDB service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
string gcs_staging_dir = 6;getGcsStagingDir in interface AlloyDbSourceOrBuilderpublic 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 AlloyDB export to a specific Cloud Storage directory. Ensure that the AlloyDB service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
string gcs_staging_dir = 6;getGcsStagingDirBytes in interface AlloyDbSourceOrBuilderpublic AlloyDbSource.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 AlloyDB export to a specific Cloud Storage directory. Ensure that the AlloyDB service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
string gcs_staging_dir = 6;value - The gcsStagingDir to set.public AlloyDbSource.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 AlloyDB export to a specific Cloud Storage directory. Ensure that the AlloyDB service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
string gcs_staging_dir = 6;public AlloyDbSource.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 AlloyDB export to a specific Cloud Storage directory. Ensure that the AlloyDB service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
string gcs_staging_dir = 6;value - The bytes for gcsStagingDir to set.public final AlloyDbSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSource.Builder>public final AlloyDbSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSource.Builder>Copyright © 2024 Google LLC. All rights reserved.