- 2.48.0 (latest)
- 2.47.0
- 2.46.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.0
- 1.0.0
- 0.3.2
- 0.2.1
- 0.1.0
public static final class DataExchange.Builder extends GeneratedMessageV3.Builder<DataExchange.Builder> implements DataExchangeOrBuilder
A data exchange is a container that enables data sharing. It contains a set of listings of the data sources along with descriptive information of the data exchange.
Protobuf type google.cloud.bigquery.dataexchange.v1beta1.DataExchange
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataExchange.BuilderImplements
DataExchangeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataExchange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DataExchange.Builder |
build()
public DataExchange build()
Type | Description |
DataExchange |
buildPartial()
public DataExchange buildPartial()
Type | Description |
DataExchange |
clear()
public DataExchange.Builder clear()
Type | Description |
DataExchange.Builder |
clearDescription()
public DataExchange.Builder clearDescription()
Optional. Short description of the data exchange that can consist of sentences or paragraphs. 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];
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 ( ), and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
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];
Type | Description |
DataExchange.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DataExchange.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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 contents of the field 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];
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];
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];
Type | Description |
DataExchange.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataExchange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DataExchange.Builder |
clearPrimaryContact()
public DataExchange.Builder clearPrimaryContact()
Optional. Email, URL or other reference of the primary point of contact of the data exchange Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
DataExchange.Builder | This builder for chaining. |
clone()
public DataExchange.Builder clone()
Type | Description |
DataExchange.Builder |
getDefaultInstanceForType()
public DataExchange getDefaultInstanceForType()
Type | Description |
DataExchange |
getDescription()
public String getDescription()
Optional. Short description of the data exchange that can consist of sentences or paragraphs. 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];
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Short description of the data exchange that can consist of sentences or paragraphs. 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];
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 ( ), and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
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 ( ), and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
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];
Type | Description |
String | The documentation. |
getDocumentationBytes()
public ByteString getDocumentationBytes()
Optional. Documentation describing the data exchange.
string documentation = 5 [(.google.api.field_behavior) = OPTIONAL];
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 contents of the field 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];
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];
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];
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];
Type | Description |
ByteString | The bytes for name. |
getPrimaryContact()
public String getPrimaryContact()
Optional. Email, URL or other reference of the primary point of contact of the data exchange Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The primaryContact. |
getPrimaryContactBytes()
public ByteString getPrimaryContactBytes()
Optional. Email, URL or other reference of the primary point of contact of the data exchange Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for primaryContact. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(DataExchange other)
public DataExchange.Builder mergeFrom(DataExchange other)
Name | Description |
other | DataExchange |
Type | Description |
DataExchange.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataExchange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DataExchange.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DataExchange.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DataExchange.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataExchange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DataExchange.Builder |
setDescription(String value)
public DataExchange.Builder setDescription(String value)
Optional. Short description of the data exchange that can consist of sentences or paragraphs. 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];
Name | Description |
value | String The description to set. |
Type | Description |
DataExchange.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public DataExchange.Builder setDescriptionBytes(ByteString value)
Optional. Short description of the data exchange that can consist of sentences or paragraphs. 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];
Name | Description |
value | ByteString The bytes for description to set. |
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 ( ), and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The displayName to set. |
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 ( ), and can't start or end with spaces. Default value is an empty string. Max length: 63 bytes.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for displayName to set. |
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];
Name | Description |
value | String The documentation to set. |
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];
Name | Description |
value | ByteString The bytes for documentation to set. |
Type | Description |
DataExchange.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DataExchange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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 contents of the field 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];
Name | Description |
value | ByteString The icon to set. |
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];
Name | Description |
value | int The listingCount to set. |
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];
Name | Description |
value | String The name to set. |
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];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
DataExchange.Builder | This builder for chaining. |
setPrimaryContact(String value)
public DataExchange.Builder setPrimaryContact(String value)
Optional. Email, URL or other reference of the primary point of contact of the data exchange Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The primaryContact to set. |
Type | Description |
DataExchange.Builder | This builder for chaining. |
setPrimaryContactBytes(ByteString value)
public DataExchange.Builder setPrimaryContactBytes(ByteString value)
Optional. Email, URL or other reference of the primary point of contact of the data exchange Max Length: 1000 bytes.
string primary_contact = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for primaryContact to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DataExchange.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataExchange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DataExchange.Builder |