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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SharingEnvironmentConfig.DcrExchangeConfig.Builder newBuilder()
newBuilder(SharingEnvironmentConfig.DcrExchangeConfig prototype)
public static SharingEnvironmentConfig.DcrExchangeConfig.Builder newBuilder(SharingEnvironmentConfig.DcrExchangeConfig prototype)
public static SharingEnvironmentConfig.DcrExchangeConfig parseDelimitedFrom(InputStream input)
public static SharingEnvironmentConfig.DcrExchangeConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(CodedInputStream input)
public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(InputStream input)
public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SharingEnvironmentConfig.DcrExchangeConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SharingEnvironmentConfig.DcrExchangeConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public SharingEnvironmentConfig.DcrExchangeConfig getDefaultInstanceForType()
getParserForType()
public Parser<SharingEnvironmentConfig.DcrExchangeConfig> getParserForType()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SharingEnvironmentConfig.DcrExchangeConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SharingEnvironmentConfig.DcrExchangeConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SharingEnvironmentConfig.DcrExchangeConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides