Class SharingEnvironmentConfig.DcrExchangeConfig.Builder (0.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides

build()

public SharingEnvironmentConfig.DcrExchangeConfig build()
Returns
TypeDescription
SharingEnvironmentConfig.DcrExchangeConfig

buildPartial()

public SharingEnvironmentConfig.DcrExchangeConfig buildPartial()
Returns
TypeDescription
SharingEnvironmentConfig.DcrExchangeConfig

clear()

public SharingEnvironmentConfig.DcrExchangeConfig.Builder clear()
Returns
TypeDescription
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SharingEnvironmentConfig.DcrExchangeConfig.Builder

This builder for chaining.

clone()

public SharingEnvironmentConfig.DcrExchangeConfig.Builder clone()
Returns
TypeDescription
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides

getDefaultInstanceForType()

public SharingEnvironmentConfig.DcrExchangeConfig getDefaultInstanceForType()
Returns
TypeDescription
SharingEnvironmentConfig.DcrExchangeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the singleSelectedResourceSharingRestriction field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SharingEnvironmentConfig.DcrExchangeConfig other)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder mergeFrom(SharingEnvironmentConfig.DcrExchangeConfig other)
Parameter
NameDescription
otherSharingEnvironmentConfig.DcrExchangeConfig
Returns
TypeDescription
SharingEnvironmentConfig.DcrExchangeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SharingEnvironmentConfig.DcrExchangeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SharingEnvironmentConfig.DcrExchangeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The singleLinkedDatasetPerCleanroom to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The singleSelectedResourceSharingRestriction to set.

Returns
TypeDescription
SharingEnvironmentConfig.DcrExchangeConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SharingEnvironmentConfig.DcrExchangeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides