- 2.49.0 (latest)
- 2.48.0
- 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 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.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()
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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The 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 |
ByteString The 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 |
int The 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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The 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 |