Class SharingEnvironmentConfig.DcrExchangeConfig.Builder (0.80.0)

public static final class SharingEnvironmentConfig.DcrExchangeConfig.Builder extends GeneratedMessage.Builder<SharingEnvironmentConfig.DcrExchangeConfig.Builder> implements SharingEnvironmentConfig.DcrExchangeConfigOrBuilder

Data Clean Room (DCR), used for privacy-safe and secured data sharing.

Protobuf type google.cloud.bigquery.analyticshub.v1.SharingEnvironmentConfig.DcrExchangeConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public SharingEnvironmentConfig.DcrExchangeConfig build()
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig

buildPartial()

public SharingEnvironmentConfig.DcrExchangeConfig buildPartial()
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig

clear()

public SharingEnvironmentConfig.DcrExchangeConfig.Builder clear()
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides

clearSingleLinkedDatasetPerCleanroom()

public SharingEnvironmentConfig.DcrExchangeConfig.Builder clearSingleLinkedDatasetPerCleanroom()

Output only. If True, when subscribing to this DCR, it will create only one linked dataset containing all resources shared within the cleanroom. If False, when subscribing to this DCR, it will create 1 linked dataset per listing. This is not configurable, and by default, all new DCRs will have the restriction set to True.

optional bool single_linked_dataset_per_cleanroom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder

This builder for chaining.

clearSingleSelectedResourceSharingRestriction()

public SharingEnvironmentConfig.DcrExchangeConfig.Builder clearSingleSelectedResourceSharingRestriction()

Output only. If True, this DCR restricts the contributors to sharing only a single resource in a Listing. And no two resources should have the same IDs. So if a contributor adds a view with a conflicting name, the CreateListing API will reject the request. if False, the data contributor can publish an entire dataset (as before). This is not configurable, and by default, all new DCRs will have the restriction set to True.

optional bool single_selected_resource_sharing_restriction = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public SharingEnvironmentConfig.DcrExchangeConfig getDefaultInstanceForType()
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSingleLinkedDatasetPerCleanroom()

public boolean getSingleLinkedDatasetPerCleanroom()

Output only. If True, when subscribing to this DCR, it will create only one linked dataset containing all resources shared within the cleanroom. If False, when subscribing to this DCR, it will create 1 linked dataset per listing. This is not configurable, and by default, all new DCRs will have the restriction set to True.

optional bool single_linked_dataset_per_cleanroom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The singleLinkedDatasetPerCleanroom.

getSingleSelectedResourceSharingRestriction()

public boolean getSingleSelectedResourceSharingRestriction()

Output only. If True, this DCR restricts the contributors to sharing only a single resource in a Listing. And no two resources should have the same IDs. So if a contributor adds a view with a conflicting name, the CreateListing API will reject the request. if False, the data contributor can publish an entire dataset (as before). This is not configurable, and by default, all new DCRs will have the restriction set to True.

optional bool single_selected_resource_sharing_restriction = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The singleSelectedResourceSharingRestriction.

hasSingleLinkedDatasetPerCleanroom()

public boolean hasSingleLinkedDatasetPerCleanroom()

Output only. If True, when subscribing to this DCR, it will create only one linked dataset containing all resources shared within the cleanroom. If False, when subscribing to this DCR, it will create 1 linked dataset per listing. This is not configurable, and by default, all new DCRs will have the restriction set to True.

optional bool single_linked_dataset_per_cleanroom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the singleLinkedDatasetPerCleanroom field is set.

hasSingleSelectedResourceSharingRestriction()

public boolean hasSingleSelectedResourceSharingRestriction()

Output only. If True, this DCR restricts the contributors to sharing only a single resource in a Listing. And no two resources should have the same IDs. So if a contributor adds a view with a conflicting name, the CreateListing API will reject the request. if False, the data contributor can publish an entire dataset (as before). This is not configurable, and by default, all new DCRs will have the restriction set to True.

optional bool single_selected_resource_sharing_restriction = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the singleSelectedResourceSharingRestriction field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SharingEnvironmentConfig.DcrExchangeConfig other)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder mergeFrom(SharingEnvironmentConfig.DcrExchangeConfig other)
Parameter
Name Description
other SharingEnvironmentConfig.DcrExchangeConfig
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides

setSingleLinkedDatasetPerCleanroom(boolean value)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder setSingleLinkedDatasetPerCleanroom(boolean value)

Output only. If True, when subscribing to this DCR, it will create only one linked dataset containing all resources shared within the cleanroom. If False, when subscribing to this DCR, it will create 1 linked dataset per listing. This is not configurable, and by default, all new DCRs will have the restriction set to True.

optional bool single_linked_dataset_per_cleanroom = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The singleLinkedDatasetPerCleanroom to set.

Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder

This builder for chaining.

setSingleSelectedResourceSharingRestriction(boolean value)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder setSingleSelectedResourceSharingRestriction(boolean value)

Output only. If True, this DCR restricts the contributors to sharing only a single resource in a Listing. And no two resources should have the same IDs. So if a contributor adds a view with a conflicting name, the CreateListing API will reject the request. if False, the data contributor can publish an entire dataset (as before). This is not configurable, and by default, all new DCRs will have the restriction set to True.

optional bool single_selected_resource_sharing_restriction = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The singleSelectedResourceSharingRestriction to set.

Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder

This builder for chaining.