Class SharingEnvironmentConfig.DcrExchangeConfig (0.38.0)

public static final class SharingEnvironmentConfig.DcrExchangeConfig extends GeneratedMessageV3 implements SharingEnvironmentConfig.DcrExchangeConfigOrBuilder

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

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SharingEnvironmentConfig.DcrExchangeConfig

Static Fields

SINGLE_LINKED_DATASET_PER_CLEANROOM_FIELD_NUMBER

public static final int SINGLE_LINKED_DATASET_PER_CLEANROOM_FIELD_NUMBER
Field Value
Type Description
int

SINGLE_SELECTED_RESOURCE_SHARING_RESTRICTION_FIELD_NUMBER

public static final int SINGLE_SELECTED_RESOURCE_SHARING_RESTRICTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SharingEnvironmentConfig.DcrExchangeConfig getDefaultInstance()
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig

getDescriptor()

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

newBuilder()

public static SharingEnvironmentConfig.DcrExchangeConfig.Builder newBuilder()
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder

newBuilder(SharingEnvironmentConfig.DcrExchangeConfig prototype)

public static SharingEnvironmentConfig.DcrExchangeConfig.Builder newBuilder(SharingEnvironmentConfig.DcrExchangeConfig prototype)
Parameter
Name Description
prototype SharingEnvironmentConfig.DcrExchangeConfig
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder

parseDelimitedFrom(InputStream input)

public static SharingEnvironmentConfig.DcrExchangeConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SharingEnvironmentConfig.DcrExchangeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SharingEnvironmentConfig.DcrExchangeConfig> parser()
Returns
Type Description
Parser<DcrExchangeConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<SharingEnvironmentConfig.DcrExchangeConfig> getParserForType()
Returns
Type Description
Parser<DcrExchangeConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SharingEnvironmentConfig.DcrExchangeConfig.Builder newBuilderForType()
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SharingEnvironmentConfig.DcrExchangeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SharingEnvironmentConfig.DcrExchangeConfig.Builder toBuilder()
Returns
Type Description
SharingEnvironmentConfig.DcrExchangeConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException