public final class DataExchange extends com.google.protobuf.GeneratedMessageV3 implements DataExchangeOrBuilder
A data exchange is a container that lets you share data. Along with the descriptive information about the data exchange, it contains listings that reference shared datasets.Protobuf type
google.cloud.bigquery.analyticshub.v1.DataExchange| Modifier and Type | Class and Description |
|---|---|
static class |
DataExchange.Builder
A data exchange is a container that lets you share data.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISCOVERY_TYPE_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
DOCUMENTATION_FIELD_NUMBER |
static int |
ICON_FIELD_NUMBER |
static int |
LISTING_COUNT_FIELD_NUMBER |
static int |
LOG_LINKED_DATASET_QUERY_USER_EMAIL_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PRIMARY_CONTACT_FIELD_NUMBER |
static int |
SHARING_ENVIRONMENT_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DataExchange |
getDefaultInstance() |
DataExchange |
getDefaultInstanceForType() |
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DiscoveryType |
getDiscoveryType()
Optional.
|
int |
getDiscoveryTypeValue()
Optional.
|
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
String |
getDocumentation()
Optional.
|
com.google.protobuf.ByteString |
getDocumentationBytes()
Optional.
|
com.google.protobuf.ByteString |
getIcon()
Optional.
|
int |
getListingCount()
Output only.
|
boolean |
getLogLinkedDatasetQueryUserEmail()
Optional.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<DataExchange> |
getParserForType() |
String |
getPrimaryContact()
Optional.
|
com.google.protobuf.ByteString |
getPrimaryContactBytes()
Optional.
|
int |
getSerializedSize() |
SharingEnvironmentConfig |
getSharingEnvironmentConfig()
Optional.
|
SharingEnvironmentConfigOrBuilder |
getSharingEnvironmentConfigOrBuilder()
Optional.
|
boolean |
hasDiscoveryType()
Optional.
|
int |
hashCode() |
boolean |
hasLogLinkedDatasetQueryUserEmail()
Optional.
|
boolean |
hasSharingEnvironmentConfig()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DataExchange.Builder |
newBuilder() |
static DataExchange.Builder |
newBuilder(DataExchange prototype) |
DataExchange.Builder |
newBuilderForType() |
protected DataExchange.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DataExchange |
parseDelimitedFrom(InputStream input) |
static DataExchange |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataExchange |
parseFrom(byte[] data) |
static DataExchange |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataExchange |
parseFrom(ByteBuffer data) |
static DataExchange |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataExchange |
parseFrom(com.google.protobuf.ByteString data) |
static DataExchange |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataExchange |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DataExchange |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DataExchange |
parseFrom(InputStream input) |
static DataExchange |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DataExchange> |
parser() |
DataExchange.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int PRIMARY_CONTACT_FIELD_NUMBER
public static final int DOCUMENTATION_FIELD_NUMBER
public static final int LISTING_COUNT_FIELD_NUMBER
public static final int ICON_FIELD_NUMBER
public static final int SHARING_ENVIRONMENT_CONFIG_FIELD_NUMBER
public static final int DISCOVERY_TYPE_FIELD_NUMBER
public static final int LOG_LINKED_DATASET_QUERY_USER_EMAIL_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Output only. The resource name of the data exchange. e.g. `projects/myproject/locations/us/dataExchanges/123`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface DataExchangeOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the data exchange. e.g. `projects/myproject/locations/us/dataExchanges/123`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface DataExchangeOrBuilderpublic String getDisplayName()
Required. Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and must not start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface DataExchangeOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and must not start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface DataExchangeOrBuilderpublic String getDescription()
Optional. Description of the data exchange. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];getDescription in interface DataExchangeOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the data exchange. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];getDescriptionBytes in interface DataExchangeOrBuilderpublic String getPrimaryContact()
Optional. Email or URL of the primary point of contact of the data exchange. Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];getPrimaryContact in interface DataExchangeOrBuilderpublic com.google.protobuf.ByteString getPrimaryContactBytes()
Optional. Email or URL of the primary point of contact of the data exchange. Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];getPrimaryContactBytes in interface DataExchangeOrBuilderpublic String getDocumentation()
Optional. Documentation describing the data exchange.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];getDocumentation in interface DataExchangeOrBuilderpublic com.google.protobuf.ByteString getDocumentationBytes()
Optional. Documentation describing the data exchange.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];getDocumentationBytes in interface DataExchangeOrBuilderpublic int getListingCount()
Output only. Number of listings contained in the data exchange.
int32 listing_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getListingCount in interface DataExchangeOrBuilderpublic com.google.protobuf.ByteString getIcon()
Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the content of the fields are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.
bytes icon = 7 [(.google.api.field_behavior) = OPTIONAL];getIcon in interface DataExchangeOrBuilderpublic boolean hasSharingEnvironmentConfig()
Optional. Configurable data sharing environment option for a data exchange.
.google.cloud.bigquery.analyticshub.v1.SharingEnvironmentConfig sharing_environment_config = 8 [(.google.api.field_behavior) = OPTIONAL];
hasSharingEnvironmentConfig in interface DataExchangeOrBuilderpublic SharingEnvironmentConfig getSharingEnvironmentConfig()
Optional. Configurable data sharing environment option for a data exchange.
.google.cloud.bigquery.analyticshub.v1.SharingEnvironmentConfig sharing_environment_config = 8 [(.google.api.field_behavior) = OPTIONAL];
getSharingEnvironmentConfig in interface DataExchangeOrBuilderpublic SharingEnvironmentConfigOrBuilder getSharingEnvironmentConfigOrBuilder()
Optional. Configurable data sharing environment option for a data exchange.
.google.cloud.bigquery.analyticshub.v1.SharingEnvironmentConfig sharing_environment_config = 8 [(.google.api.field_behavior) = OPTIONAL];
getSharingEnvironmentConfigOrBuilder in interface DataExchangeOrBuilderpublic boolean hasDiscoveryType()
Optional. Type of discovery on the discovery page for all the listings under this exchange. Updating this field also updates (overwrites) the discovery_type field for all the listings under this exchange.
optional .google.cloud.bigquery.analyticshub.v1.DiscoveryType discovery_type = 9 [(.google.api.field_behavior) = OPTIONAL];
hasDiscoveryType in interface DataExchangeOrBuilderpublic int getDiscoveryTypeValue()
Optional. Type of discovery on the discovery page for all the listings under this exchange. Updating this field also updates (overwrites) the discovery_type field for all the listings under this exchange.
optional .google.cloud.bigquery.analyticshub.v1.DiscoveryType discovery_type = 9 [(.google.api.field_behavior) = OPTIONAL];
getDiscoveryTypeValue in interface DataExchangeOrBuilderpublic DiscoveryType getDiscoveryType()
Optional. Type of discovery on the discovery page for all the listings under this exchange. Updating this field also updates (overwrites) the discovery_type field for all the listings under this exchange.
optional .google.cloud.bigquery.analyticshub.v1.DiscoveryType discovery_type = 9 [(.google.api.field_behavior) = OPTIONAL];
getDiscoveryType in interface DataExchangeOrBuilderpublic boolean hasLogLinkedDatasetQueryUserEmail()
Optional. By default, false. If true, the DataExchange has an email sharing mandate enabled.
optional bool log_linked_dataset_query_user_email = 10 [(.google.api.field_behavior) = OPTIONAL];
hasLogLinkedDatasetQueryUserEmail in interface DataExchangeOrBuilderpublic boolean getLogLinkedDatasetQueryUserEmail()
Optional. By default, false. If true, the DataExchange has an email sharing mandate enabled.
optional bool log_linked_dataset_query_user_email = 10 [(.google.api.field_behavior) = OPTIONAL];
getLogLinkedDatasetQueryUserEmail in interface DataExchangeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DataExchange parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataExchange parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataExchange parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataExchange parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataExchange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataExchange parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DataExchange parseFrom(InputStream input) throws IOException
IOExceptionpublic static DataExchange parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DataExchange parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DataExchange parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DataExchange parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DataExchange parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DataExchange.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DataExchange.Builder newBuilder()
public static DataExchange.Builder newBuilder(DataExchange prototype)
public DataExchange.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DataExchange.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DataExchange getDefaultInstance()
public static com.google.protobuf.Parser<DataExchange> parser()
public com.google.protobuf.Parser<DataExchange> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DataExchange getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.