public static final class BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder extends GeneratedMessageV3.Builder<BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder> implements BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplateOrBuilder
Dataset template used for dynamic dataset creation.
Protobuf type
google.events.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
build()
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate build()
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate |
buildPartial()
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate buildPartial()
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate |
clear()
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder clear()
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
clearDatasetIdPrefix()
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder clearDatasetIdPrefix()
If supplied, every created dataset will have its name prefixed by the provided value. The prefix and name will be separated by an underscore. i.e. <prefix>_<dataset_name>.
string dataset_id_prefix = 2;
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
clearKmsKeyName()
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder clearKmsKeyName()
Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key. i.e. projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}. See https://cloud.google.com/bigquery/docs/customer-managed-encryption for more information.
string kms_key_name = 3;
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
This builder for chaining. |
clearLocation()
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder clearLocation()
Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.
string location = 1;
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
clone()
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder clone()
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
getDatasetIdPrefix()
public String getDatasetIdPrefix()
If supplied, every created dataset will have its name prefixed by the provided value. The prefix and name will be separated by an underscore. i.e. <prefix>_<dataset_name>.
string dataset_id_prefix = 2;
Returns | |
---|---|
Type | Description |
String |
The datasetIdPrefix. |
getDatasetIdPrefixBytes()
public ByteString getDatasetIdPrefixBytes()
If supplied, every created dataset will have its name prefixed by the provided value. The prefix and name will be separated by an underscore. i.e. <prefix>_<dataset_name>.
string dataset_id_prefix = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for datasetIdPrefix. |
getDefaultInstanceForType()
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getKmsKeyName()
public String getKmsKeyName()
Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key. i.e. projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}. See https://cloud.google.com/bigquery/docs/customer-managed-encryption for more information.
string kms_key_name = 3;
Returns | |
---|---|
Type | Description |
String |
The kmsKeyName. |
getKmsKeyNameBytes()
public ByteString getKmsKeyNameBytes()
Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key. i.e. projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}. See https://cloud.google.com/bigquery/docs/customer-managed-encryption for more information.
string kms_key_name = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for kmsKeyName. |
getLocation()
public String getLocation()
Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.
string location = 1;
Returns | |
---|---|
Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()
Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.
string location = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for location. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate other)
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder mergeFrom(BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate other)
Parameter | |
---|---|
Name | Description |
other |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate |
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
setDatasetIdPrefix(String value)
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder setDatasetIdPrefix(String value)
If supplied, every created dataset will have its name prefixed by the provided value. The prefix and name will be separated by an underscore. i.e. <prefix>_<dataset_name>.
string dataset_id_prefix = 2;
Parameter | |
---|---|
Name | Description |
value |
String The datasetIdPrefix to set. |
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
This builder for chaining. |
setDatasetIdPrefixBytes(ByteString value)
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder setDatasetIdPrefixBytes(ByteString value)
If supplied, every created dataset will have its name prefixed by the provided value. The prefix and name will be separated by an underscore. i.e. <prefix>_<dataset_name>.
string dataset_id_prefix = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for datasetIdPrefix to set. |
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
setKmsKeyName(String value)
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder setKmsKeyName(String value)
Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key. i.e. projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}. See https://cloud.google.com/bigquery/docs/customer-managed-encryption for more information.
string kms_key_name = 3;
Parameter | |
---|---|
Name | Description |
value |
String The kmsKeyName to set. |
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
This builder for chaining. |
setKmsKeyNameBytes(ByteString value)
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder setKmsKeyNameBytes(ByteString value)
Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key. i.e. projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}. See https://cloud.google.com/bigquery/docs/customer-managed-encryption for more information.
string kms_key_name = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for kmsKeyName to set. |
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
This builder for chaining. |
setLocation(String value)
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder setLocation(String value)
Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.
string location = 1;
Parameter | |
---|---|
Name | Description |
value |
String The location to set. |
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder setLocationBytes(ByteString value)
Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.
string location = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for location to set. |
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate.Builder |