Class SharingEnvironmentConfig.DcrExchangeConfig.Builder (0.38.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public SharingEnvironmentConfig.DcrExchangeConfig build()

buildPartial()

public SharingEnvironmentConfig.DcrExchangeConfig buildPartial()

clear()

public SharingEnvironmentConfig.DcrExchangeConfig.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

getDefaultInstanceForType()

public SharingEnvironmentConfig.DcrExchangeConfig getDefaultInstanceForType()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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