- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
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.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 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED];
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 |