public static final class CreateDataExchangeRequest.Builder extends GeneratedMessageV3.Builder<CreateDataExchangeRequest.Builder> implements CreateDataExchangeRequestOrBuilder
Message for creating a data exchange.
Protobuf type google.cloud.bigquery.dataexchange.v1beta1.CreateDataExchangeRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateDataExchangeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateDataExchangeRequest build()
buildPartial()
public CreateDataExchangeRequest buildPartial()
clear()
public CreateDataExchangeRequest.Builder clear()
Overrides
clearDataExchange()
public CreateDataExchangeRequest.Builder clearDataExchange()
Required. The data exchange to create.
.google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchange = 3 [(.google.api.field_behavior) = REQUIRED];
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];
clearField(Descriptors.FieldDescriptor field)
public CreateDataExchangeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateDataExchangeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public CreateDataExchangeRequest.Builder clone()
Overrides
getDataExchange()
public DataExchange getDataExchange()
Required. The data exchange to create.
.google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchange = 3 [(.google.api.field_behavior) = REQUIRED];
getDataExchangeBuilder()
public DataExchange.Builder getDataExchangeBuilder()
Required. The data exchange to create.
.google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchange = 3 [(.google.api.field_behavior) = REQUIRED];
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.dataexchange.v1beta1.DataExchange data_exchange = 3 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateDataExchangeRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for parent.
|
hasDataExchange()
public boolean hasDataExchange()
Required. The data exchange to create.
.google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchange = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the dataExchange field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDataExchange(DataExchange value)
public CreateDataExchangeRequest.Builder mergeDataExchange(DataExchange value)
Required. The data exchange to create.
.google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchange = 3 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateDataExchangeRequest other)
public CreateDataExchangeRequest.Builder mergeFrom(CreateDataExchangeRequest other)
public CreateDataExchangeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateDataExchangeRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateDataExchangeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDataExchange(DataExchange value)
public CreateDataExchangeRequest.Builder setDataExchange(DataExchange value)
Required. The data exchange to create.
.google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchange = 3 [(.google.api.field_behavior) = REQUIRED];
setDataExchange(DataExchange.Builder builderForValue)
public CreateDataExchangeRequest.Builder setDataExchange(DataExchange.Builder builderForValue)
Required. The data exchange to create.
.google.cloud.bigquery.dataexchange.v1beta1.DataExchange data_exchange = 3 [(.google.api.field_behavior) = REQUIRED];
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateDataExchangeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateDataExchangeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateDataExchangeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides