Class AlloyDbSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AlloyDbSource.Builder>
com.google.cloud.discoveryengine.v1beta.AlloyDbSource.Builder
- All Implemented Interfaces:
AlloyDbSourceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AlloyDbSource
public static final class AlloyDbSource.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AlloyDbSource.Builder>
implements AlloyDbSourceOrBuilder
AlloyDB source import data from.Protobuf type
google.cloud.discoveryengine.v1beta.AlloyDbSource-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Required.Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.Required.The project ID that contains the AlloyDB source.Required.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.Required.com.google.protobuf.ByteStringRequired.The project ID that contains the AlloyDB source.com.google.protobuf.ByteStringThe project ID that contains the AlloyDB source.Required.com.google.protobuf.ByteStringRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(AlloyDbSource other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setClusterId(String value) Required.setClusterIdBytes(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.setLocationId(String value) Required.setLocationIdBytes(com.google.protobuf.ByteString value) Required.setProjectId(String value) The project ID that contains the AlloyDB source.setProjectIdBytes(com.google.protobuf.ByteString value) The project ID that contains the AlloyDB source.setTableId(String value) Required.setTableIdBytes(com.google.protobuf.ByteString value) Required.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<AlloyDbSource.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<AlloyDbSource.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<AlloyDbSource.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<AlloyDbSource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AlloyDbSource.Builder>
-
mergeFrom
public AlloyDbSource.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<AlloyDbSource.Builder>- Throws:
IOException
-
getProjectId
The project ID that contains the AlloyDB source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;- Specified by:
getProjectIdin interfaceAlloyDbSourceOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()The project ID that contains the AlloyDB source. Has a length limit of 128 characters. If not specified, inherits the project ID from the parent request.
string project_id = 1;- Specified by:
getProjectIdBytesin interfaceAlloyDbSourceOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
The project ID that contains the AlloyDB source. Has 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 contains the AlloyDB source. Has 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 contains the AlloyDB source. Has 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.
-
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];- Specified by:
getLocationIdin interfaceAlloyDbSourceOrBuilder- Returns:
- The locationId.
-
getLocationIdBytes
public 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];- Specified by:
getLocationIdBytesin interfaceAlloyDbSourceOrBuilder- Returns:
- The bytes for locationId.
-
setLocationId
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];- Parameters:
value- The locationId to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setLocationIdBytes
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];- Parameters:
value- The bytes for locationId to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getClusterIdin interfaceAlloyDbSourceOrBuilder- Returns:
- The clusterId.
-
getClusterIdBytes
public 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];- Specified by:
getClusterIdBytesin interfaceAlloyDbSourceOrBuilder- Returns:
- The bytes for clusterId.
-
setClusterId
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];- Parameters:
value- The clusterId to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setClusterIdBytes
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];- Parameters:
value- The bytes for clusterId to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getDatabaseIdin interfaceAlloyDbSourceOrBuilder- Returns:
- The databaseId.
-
getDatabaseIdBytes
public 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];- Specified by:
getDatabaseIdBytesin interfaceAlloyDbSourceOrBuilder- Returns:
- The bytes for databaseId.
-
setDatabaseId
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];- Parameters:
value- The databaseId to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setDatabaseIdBytes
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];- Parameters:
value- The bytes for databaseId to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getTableIdin interfaceAlloyDbSourceOrBuilder- Returns:
- The tableId.
-
getTableIdBytes
public 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];- Specified by:
getTableIdBytesin interfaceAlloyDbSourceOrBuilder- Returns:
- The bytes for tableId.
-
setTableId
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];- Parameters:
value- The tableId to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setTableIdBytes
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];- Parameters:
value- The bytes for tableId 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 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;- Specified by:
getGcsStagingDirin interfaceAlloyDbSourceOrBuilder- 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 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;- Specified by:
getGcsStagingDirBytesin interfaceAlloyDbSourceOrBuilder- 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 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;- 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 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;- 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 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;- Parameters:
value- The bytes for gcsStagingDir to set.- Returns:
- This builder for chaining.
-