Class SharingEnvironmentConfig.DcrExchangeConfig.Builder (0.46.0)

public static final class SharingEnvironmentConfig.DcrExchangeConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SharingEnvironmentConfig.DcrExchangeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

public final SharingEnvironmentConfig.DcrExchangeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides