- 0.75.0 (latest)
- 0.73.0
- 0.72.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.67.0
- 0.65.0
- 0.64.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class DataExchange.Builder extends GeneratedMessageV3.Builder<DataExchange.Builder> implements DataExchangeOrBuilderA 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataExchange.BuilderImplements
DataExchangeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataExchange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | |
build()
public DataExchange build()| Returns | |
|---|---|
| Type | Description | 
| DataExchange | |
buildPartial()
public DataExchange buildPartial()| Returns | |
|---|---|
| Type | Description | 
| DataExchange | |
clear()
public DataExchange.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | |
clearDescription()
public DataExchange.Builder clearDescription()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];
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
clearDisplayName()
public DataExchange.Builder clearDisplayName()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];
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
clearDocumentation()
public DataExchange.Builder clearDocumentation()Optional. Documentation describing the data exchange.
 string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public DataExchange.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | |
clearIcon()
public DataExchange.Builder clearIcon()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];
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
clearListingCount()
public DataExchange.Builder clearListingCount()Output only. Number of listings contained in the data exchange.
 int32 listing_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
clearName()
public DataExchange.Builder clearName() 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];
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public DataExchange.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | |
clearPrimaryContact()
public DataExchange.Builder clearPrimaryContact()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];
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
clone()
public DataExchange.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | |
getDefaultInstanceForType()
public DataExchange getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| DataExchange | |
getDescription()
public 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];
| Returns | |
|---|---|
| Type | Description | 
| String | The description. | 
getDescriptionBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for description. | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getDisplayName()
public 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];
| Returns | |
|---|---|
| Type | Description | 
| String | The displayName. | 
getDisplayNameBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for displayName. | 
getDocumentation()
public String getDocumentation()Optional. Documentation describing the data exchange.
 string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| String | The documentation. | 
getDocumentationBytes()
public ByteString getDocumentationBytes()Optional. Documentation describing the data exchange.
 string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for documentation. | 
getIcon()
public 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];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The icon. | 
getListingCount()
public int getListingCount()Output only. Number of listings contained in the data exchange.
 int32 listing_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| int | The listingCount. | 
getName()
public 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];
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
getPrimaryContact()
public 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];
| Returns | |
|---|---|
| Type | Description | 
| String | The primaryContact. | 
getPrimaryContactBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for primaryContact. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(DataExchange other)
public DataExchange.Builder mergeFrom(DataExchange other)| Parameter | |
|---|---|
| Name | Description | 
| other | DataExchange | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataExchange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public DataExchange.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataExchange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | |
setDescription(String value)
public DataExchange.Builder setDescription(String value)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];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe description to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
setDescriptionBytes(ByteString value)
public DataExchange.Builder setDescriptionBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for description to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
setDisplayName(String value)
public DataExchange.Builder setDisplayName(String value)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];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe displayName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
setDisplayNameBytes(ByteString value)
public DataExchange.Builder setDisplayNameBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for displayName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
setDocumentation(String value)
public DataExchange.Builder setDocumentation(String value)Optional. Documentation describing the data exchange.
 string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe documentation to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
setDocumentationBytes(ByteString value)
public DataExchange.Builder setDocumentationBytes(ByteString value)Optional. Documentation describing the data exchange.
 string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for documentation to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public DataExchange.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | |
setIcon(ByteString value)
public DataExchange.Builder setIcon(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe icon to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
setListingCount(int value)
public DataExchange.Builder setListingCount(int value)Output only. Number of listings contained in the data exchange.
 int32 listing_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe listingCount to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
setName(String value)
public DataExchange.Builder setName(String value) 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];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public DataExchange.Builder setNameBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
setPrimaryContact(String value)
public DataExchange.Builder setPrimaryContact(String value)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];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe primaryContact to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
setPrimaryContactBytes(ByteString value)
public DataExchange.Builder setPrimaryContactBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for primaryContact to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataExchange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataExchange.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| DataExchange.Builder | |