Class FirestoreSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FirestoreSource.Builder>
com.google.cloud.discoveryengine.v1beta.FirestoreSource.Builder
- All Implemented Interfaces:
FirestoreSourceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FirestoreSource
public static final class FirestoreSource.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FirestoreSource.Builder>
implements FirestoreSourceOrBuilder
Firestore source import data from.Protobuf type
google.cloud.discoveryengine.v1beta.FirestoreSource-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Required.Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.The project ID that the Cloud SQL source is in with a length limit of 128 characters.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIntermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.com.google.protobuf.ByteStringIntermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.The project ID that the Cloud SQL source is in with a length limit of 128 characters.com.google.protobuf.ByteStringThe project ID that the Cloud SQL source is in with a length limit of 128 characters.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(FirestoreSource other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCollectionId(String value) Required.setCollectionIdBytes(com.google.protobuf.ByteString value) Required.setDatabaseId(String value) Required.setDatabaseIdBytes(com.google.protobuf.ByteString value) Required.setGcsStagingDir(String value) Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.setGcsStagingDirBytes(com.google.protobuf.ByteString value) Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.setProjectId(String value) The project ID that the Cloud SQL source is in with a length limit of 128 characters.setProjectIdBytes(com.google.protobuf.ByteString value) The project ID that the Cloud SQL source is in with a length limit of 128 characters.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FirestoreSource.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FirestoreSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FirestoreSource.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FirestoreSource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FirestoreSource.Builder>
-
mergeFrom
public FirestoreSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FirestoreSource.Builder>- Throws:
IOException
-
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;- Specified by:
getProjectIdin interfaceFirestoreSourceOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public 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;- Specified by:
getProjectIdBytesin interfaceFirestoreSourceOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
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;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setProjectIdBytes
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;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getDatabaseIdin interfaceFirestoreSourceOrBuilder- Returns:
- The databaseId.
-
getDatabaseIdBytes
public 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];- Specified by:
getDatabaseIdBytesin interfaceFirestoreSourceOrBuilder- Returns:
- The bytes for databaseId.
-
setDatabaseId
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];- Parameters:
value- The databaseId to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setDatabaseIdBytes
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];- Parameters:
value- The bytes for databaseId to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getCollectionIdin interfaceFirestoreSourceOrBuilder- Returns:
- The collectionId.
-
getCollectionIdBytes
public 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];- Specified by:
getCollectionIdBytesin interfaceFirestoreSourceOrBuilder- Returns:
- The bytes for collectionId.
-
setCollectionId
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];- Parameters:
value- The collectionId to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setCollectionIdBytes
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];- Parameters:
value- The bytes for collectionId to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getGcsStagingDirin interfaceFirestoreSourceOrBuilder- Returns:
- The gcsStagingDir.
-
getGcsStagingDirBytes
public 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;- Specified by:
getGcsStagingDirBytesin interfaceFirestoreSourceOrBuilder- Returns:
- The bytes for gcsStagingDir.
-
setGcsStagingDir
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;- Parameters:
value- The gcsStagingDir to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setGcsStagingDirBytes
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;- Parameters:
value- The bytes for gcsStagingDir to set.- Returns:
- This builder for chaining.
-