Class BigtableSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BigtableSource.Builder>
com.google.cloud.discoveryengine.v1beta.BigtableSource.Builder
- All Implemented Interfaces:
BigtableSourceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BigtableSource
public static final class BigtableSource.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BigtableSource.Builder>
implements BigtableSourceOrBuilder
The Cloud Bigtable source for importing data.Protobuf type
google.cloud.discoveryengine.v1beta.BigtableSource-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Required.The project ID that contains the Bigtable source.Required.Required.Required.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.The project ID that contains the Bigtable source.com.google.protobuf.ByteStringThe project ID that contains the Bigtable source.Required.com.google.protobuf.ByteStringRequired.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanRequired.mergeFrom(BigtableSource other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.setBigtableOptions(BigtableOptions.Builder builderForValue) Required.setInstanceId(String value) Required.setInstanceIdBytes(com.google.protobuf.ByteString value) Required.setProjectId(String value) The project ID that contains the Bigtable source.setProjectIdBytes(com.google.protobuf.ByteString value) The project ID that contains the Bigtable 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<BigtableSource.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<BigtableSource.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<BigtableSource.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<BigtableSource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BigtableSource.Builder>
-
mergeFrom
public BigtableSource.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<BigtableSource.Builder>- Throws:
IOException
-
getProjectId
The project ID that contains the Bigtable 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 interfaceBigtableSourceOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()The project ID that contains the Bigtable 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 interfaceBigtableSourceOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
The project ID that contains the Bigtable 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 Bigtable 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 Bigtable 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.
-
getInstanceId
Required. The instance ID of the Cloud Bigtable that needs to be imported.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstanceIdin interfaceBigtableSourceOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()Required. The instance ID of the Cloud Bigtable that needs to be imported.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstanceIdBytesin interfaceBigtableSourceOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
Required. The instance ID of the Cloud Bigtable that needs to be imported.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
Required. The instance ID of the Cloud Bigtable that needs to be imported.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setInstanceIdBytes
Required. The instance ID of the Cloud Bigtable that needs to be imported.
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
getTableId
Required. The table ID of the Cloud Bigtable that needs to be imported.
string table_id = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTableIdin interfaceBigtableSourceOrBuilder- Returns:
- The tableId.
-
getTableIdBytes
public com.google.protobuf.ByteString getTableIdBytes()Required. The table ID of the Cloud Bigtable that needs to be imported.
string table_id = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTableIdBytesin interfaceBigtableSourceOrBuilder- Returns:
- The bytes for tableId.
-
setTableId
Required. The table ID of the Cloud Bigtable that needs to be imported.
string table_id = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The tableId to set.- Returns:
- This builder for chaining.
-
clearTableId
Required. The table ID of the Cloud Bigtable that needs to be imported.
string table_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setTableIdBytes
Required. The table ID of the Cloud Bigtable that needs to be imported.
string table_id = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for tableId to set.- Returns:
- This builder for chaining.
-
hasBigtableOptions
public boolean hasBigtableOptions()Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.
.google.cloud.discoveryengine.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasBigtableOptionsin interfaceBigtableSourceOrBuilder- Returns:
- Whether the bigtableOptions field is set.
-
getBigtableOptions
Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.
.google.cloud.discoveryengine.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBigtableOptionsin interfaceBigtableSourceOrBuilder- Returns:
- The bigtableOptions.
-
setBigtableOptions
Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.
.google.cloud.discoveryengine.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED]; -
setBigtableOptions
Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.
.google.cloud.discoveryengine.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED]; -
mergeBigtableOptions
Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.
.google.cloud.discoveryengine.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED]; -
clearBigtableOptions
Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.
.google.cloud.discoveryengine.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED]; -
getBigtableOptionsBuilder
Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.
.google.cloud.discoveryengine.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED]; -
getBigtableOptionsOrBuilder
Required. Bigtable options that contains information needed when parsing data into typed structures. For example, column type annotations.
.google.cloud.discoveryengine.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBigtableOptionsOrBuilderin interfaceBigtableSourceOrBuilder
-