public static final class CreateDataExchangeRequest.Builder extends GeneratedMessageV3.Builder<CreateDataExchangeRequest.Builder> implements CreateDataExchangeRequestOrBuilder
Message for creating a data exchange.
Protobuf type google.cloud.bigquery.analyticshub.v1.CreateDataExchangeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateDataExchangeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateDataExchangeRequest build()
Returns
buildPartial()
public CreateDataExchangeRequest buildPartial()
Returns
clear()
public CreateDataExchangeRequest.Builder clear()
Returns
Overrides
clearDataExchange()
public CreateDataExchangeRequest.Builder clearDataExchange()
Required. The data exchange to create.
.google.cloud.bigquery.analyticshub.v1.DataExchange data_exchange = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clearDataExchangeId()
public CreateDataExchangeRequest.Builder clearDataExchangeId()
Required. The ID of the data exchange.
Must contain only Unicode letters, numbers (0-9), underscores (_).
Should not use characters that require URL-escaping, or characters
outside of ASCII, spaces.
Max length: 100 bytes.
string data_exchange_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateDataExchangeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateDataExchangeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateDataExchangeRequest.Builder clearParent()
Required. The parent resource path of the data exchange.
e.g. projects/myproject/locations/US
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clone()
public CreateDataExchangeRequest.Builder clone()
Returns
Overrides
getDataExchange()
public DataExchange getDataExchange()
Required. The data exchange to create.
.google.cloud.bigquery.analyticshub.v1.DataExchange data_exchange = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getDataExchangeBuilder()
public DataExchange.Builder getDataExchangeBuilder()
Required. The data exchange to create.
.google.cloud.bigquery.analyticshub.v1.DataExchange data_exchange = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getDataExchangeId()
public String getDataExchangeId()
Required. The ID of the data exchange.
Must contain only Unicode letters, numbers (0-9), underscores (_).
Should not use characters that require URL-escaping, or characters
outside of ASCII, spaces.
Max length: 100 bytes.
string data_exchange_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The dataExchangeId.
|
getDataExchangeIdBytes()
public ByteString getDataExchangeIdBytes()
Required. The ID of the data exchange.
Must contain only Unicode letters, numbers (0-9), underscores (_).
Should not use characters that require URL-escaping, or characters
outside of ASCII, spaces.
Max length: 100 bytes.
string data_exchange_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for dataExchangeId.
|
getDataExchangeOrBuilder()
public DataExchangeOrBuilder getDataExchangeOrBuilder()
Required. The data exchange to create.
.google.cloud.bigquery.analyticshub.v1.DataExchange data_exchange = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateDataExchangeRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getParent()
public String getParent()
Required. The parent resource path of the data exchange.
e.g. projects/myproject/locations/US
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The parent resource path of the data exchange.
e.g. projects/myproject/locations/US
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
hasDataExchange()
public boolean hasDataExchange()
Required. The data exchange to create.
.google.cloud.bigquery.analyticshub.v1.DataExchange data_exchange = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the dataExchange field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeDataExchange(DataExchange value)
public CreateDataExchangeRequest.Builder mergeDataExchange(DataExchange value)
Required. The data exchange to create.
.google.cloud.bigquery.analyticshub.v1.DataExchange data_exchange = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(CreateDataExchangeRequest other)
public CreateDataExchangeRequest.Builder mergeFrom(CreateDataExchangeRequest other)
Parameter
Returns
public CreateDataExchangeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateDataExchangeRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateDataExchangeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setDataExchange(DataExchange value)
public CreateDataExchangeRequest.Builder setDataExchange(DataExchange value)
Required. The data exchange to create.
.google.cloud.bigquery.analyticshub.v1.DataExchange data_exchange = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setDataExchange(DataExchange.Builder builderForValue)
public CreateDataExchangeRequest.Builder setDataExchange(DataExchange.Builder builderForValue)
Required. The data exchange to create.
.google.cloud.bigquery.analyticshub.v1.DataExchange data_exchange = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setDataExchangeId(String value)
public CreateDataExchangeRequest.Builder setDataExchangeId(String value)
Required. The ID of the data exchange.
Must contain only Unicode letters, numbers (0-9), underscores (_).
Should not use characters that require URL-escaping, or characters
outside of ASCII, spaces.
Max length: 100 bytes.
string data_exchange_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The dataExchangeId to set.
|
Returns
setDataExchangeIdBytes(ByteString value)
public CreateDataExchangeRequest.Builder setDataExchangeIdBytes(ByteString value)
Required. The ID of the data exchange.
Must contain only Unicode letters, numbers (0-9), underscores (_).
Should not use characters that require URL-escaping, or characters
outside of ASCII, spaces.
Max length: 100 bytes.
string data_exchange_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for dataExchangeId to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateDataExchangeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setParent(String value)
public CreateDataExchangeRequest.Builder setParent(String value)
Required. The parent resource path of the data exchange.
e.g. projects/myproject/locations/US
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public CreateDataExchangeRequest.Builder setParentBytes(ByteString value)
Required. The parent resource path of the data exchange.
e.g. projects/myproject/locations/US
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateDataExchangeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateDataExchangeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides