public static final class FirestoreSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FirestoreSource.Builder> implements FirestoreSourceOrBuilder
Firestore source import data from.Protobuf type
google.cloud.discoveryengine.v1alpha.FirestoreSource| Modifier and Type | Method and Description |
|---|---|
FirestoreSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FirestoreSource |
build() |
FirestoreSource |
buildPartial() |
FirestoreSource.Builder |
clear() |
FirestoreSource.Builder |
clearCollectionId()
Required.
|
FirestoreSource.Builder |
clearDatabaseId()
Required.
|
FirestoreSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FirestoreSource.Builder |
clearGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
FirestoreSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FirestoreSource.Builder |
clearProjectId()
The project ID that the Cloud SQL source is in with a length limit of 128
characters.
|
FirestoreSource.Builder |
clone() |
String |
getCollectionId()
Required.
|
com.google.protobuf.ByteString |
getCollectionIdBytes()
Required.
|
String |
getDatabaseId()
Required.
|
com.google.protobuf.ByteString |
getDatabaseIdBytes()
Required.
|
FirestoreSource |
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 |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FirestoreSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FirestoreSource.Builder |
mergeFrom(FirestoreSource other) |
FirestoreSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
FirestoreSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FirestoreSource.Builder |
setCollectionId(String value)
Required.
|
FirestoreSource.Builder |
setCollectionIdBytes(com.google.protobuf.ByteString value)
Required.
|
FirestoreSource.Builder |
setDatabaseId(String value)
Required.
|
FirestoreSource.Builder |
setDatabaseIdBytes(com.google.protobuf.ByteString value)
Required.
|
FirestoreSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FirestoreSource.Builder |
setGcsStagingDir(String value)
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
FirestoreSource.Builder |
setGcsStagingDirBytes(com.google.protobuf.ByteString value)
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
FirestoreSource.Builder |
setProjectId(String value)
The project ID that the Cloud SQL source is in with a length limit of 128
characters.
|
FirestoreSource.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
The project ID that the Cloud SQL source is in with a length limit of 128
characters.
|
FirestoreSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FirestoreSource.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<FirestoreSource.Builder>public FirestoreSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FirestoreSource.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<FirestoreSource.Builder>public FirestoreSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FirestoreSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FirestoreSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FirestoreSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<FirestoreSource.Builder>public FirestoreSource.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<FirestoreSource.Builder>public FirestoreSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<FirestoreSource.Builder>public FirestoreSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FirestoreSource.Builder>public FirestoreSource.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<FirestoreSource.Builder>public FirestoreSource.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<FirestoreSource.Builder>public FirestoreSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FirestoreSource.Builder>public FirestoreSource.Builder mergeFrom(FirestoreSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FirestoreSource.Builder>public FirestoreSource.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<FirestoreSource.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 FirestoreSourceOrBuilderpublic 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 FirestoreSourceOrBuilderpublic FirestoreSource.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 FirestoreSource.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 FirestoreSource.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 getDatabaseId()
Required. The Firestore database to copy the data from with a length limit of 256 characters.
string database_id = 2 [(.google.api.field_behavior) = REQUIRED];getDatabaseId in interface FirestoreSourceOrBuilderpublic com.google.protobuf.ByteString getDatabaseIdBytes()
Required. The Firestore database to copy the data from with a length limit of 256 characters.
string database_id = 2 [(.google.api.field_behavior) = REQUIRED];getDatabaseIdBytes in interface FirestoreSourceOrBuilderpublic FirestoreSource.Builder setDatabaseId(String value)
Required. The Firestore database to copy the data from with a length limit of 256 characters.
string database_id = 2 [(.google.api.field_behavior) = REQUIRED];value - The databaseId to set.public FirestoreSource.Builder clearDatabaseId()
Required. The Firestore database to copy the data from with a length limit of 256 characters.
string database_id = 2 [(.google.api.field_behavior) = REQUIRED];public FirestoreSource.Builder setDatabaseIdBytes(com.google.protobuf.ByteString value)
Required. The Firestore database to copy the data from with a length limit of 256 characters.
string database_id = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for databaseId to set.public String getCollectionId()
Required. The Firestore collection (or entity) to copy the data from with a length limit of 1,500 characters.
string collection_id = 3 [(.google.api.field_behavior) = REQUIRED];getCollectionId in interface FirestoreSourceOrBuilderpublic com.google.protobuf.ByteString getCollectionIdBytes()
Required. The Firestore collection (or entity) to copy the data from with a length limit of 1,500 characters.
string collection_id = 3 [(.google.api.field_behavior) = REQUIRED];getCollectionIdBytes in interface FirestoreSourceOrBuilderpublic FirestoreSource.Builder setCollectionId(String value)
Required. The Firestore collection (or entity) to copy the data from with a length limit of 1,500 characters.
string collection_id = 3 [(.google.api.field_behavior) = REQUIRED];value - The collectionId to set.public FirestoreSource.Builder clearCollectionId()
Required. The Firestore collection (or entity) to copy the data from with a length limit of 1,500 characters.
string collection_id = 3 [(.google.api.field_behavior) = REQUIRED];public FirestoreSource.Builder setCollectionIdBytes(com.google.protobuf.ByteString value)
Required. The Firestore collection (or entity) to copy the data from with a length limit of 1,500 characters.
string collection_id = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for collectionId 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 Firestore export to a specific Cloud Storage directory. Ensure that the Firestore service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
string gcs_staging_dir = 4;getGcsStagingDir in interface FirestoreSourceOrBuilderpublic 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 Firestore export to a specific Cloud Storage directory. Ensure that the Firestore service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
string gcs_staging_dir = 4;getGcsStagingDirBytes in interface FirestoreSourceOrBuilderpublic FirestoreSource.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 Firestore export to a specific Cloud Storage directory. Ensure that the Firestore service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
string gcs_staging_dir = 4;value - The gcsStagingDir to set.public FirestoreSource.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 Firestore export to a specific Cloud Storage directory. Ensure that the Firestore service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
string gcs_staging_dir = 4;public FirestoreSource.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 Firestore export to a specific Cloud Storage directory. Ensure that the Firestore service account has the necessary Cloud Storage Admin permissions to access the specified Cloud Storage directory.
string gcs_staging_dir = 4;value - The bytes for gcsStagingDir to set.public final FirestoreSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FirestoreSource.Builder>public final FirestoreSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FirestoreSource.Builder>Copyright © 2024 Google LLC. All rights reserved.