- 0.51.0 (latest)
- 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 SubscribeDataExchangeRequest.Builder extends GeneratedMessageV3.Builder<SubscribeDataExchangeRequest.Builder> implements SubscribeDataExchangeRequestOrBuilder
Message for subscribing to a Data Exchange.
Protobuf type google.cloud.bigquery.analyticshub.v1.SubscribeDataExchangeRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SubscribeDataExchangeRequest.BuilderImplements
SubscribeDataExchangeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubscribeDataExchangeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
build()
public SubscribeDataExchangeRequest build()
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest |
buildPartial()
public SubscribeDataExchangeRequest buildPartial()
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest |
clear()
public SubscribeDataExchangeRequest.Builder clear()
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
clearDestination()
public SubscribeDataExchangeRequest.Builder clearDestination()
Required. The parent resource path of the Subscription.
e.g. projects/subscriberproject/locations/US
string destination = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SubscribeDataExchangeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
clearName()
public SubscribeDataExchangeRequest.Builder clearName()
Required. Resource name of the Data Exchange.
e.g. projects/publisherproject/locations/US/dataExchanges/123
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SubscribeDataExchangeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
clearSubscriberContact()
public SubscribeDataExchangeRequest.Builder clearSubscriberContact()
Email of the subscriber.
string subscriber_contact = 3;
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
This builder for chaining. |
clearSubscription()
public SubscribeDataExchangeRequest.Builder clearSubscription()
Required. Name of the subscription to create.
e.g. subscription1
string subscription = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
This builder for chaining. |
clone()
public SubscribeDataExchangeRequest.Builder clone()
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
getDefaultInstanceForType()
public SubscribeDataExchangeRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestination()
public String getDestination()
Required. The parent resource path of the Subscription.
e.g. projects/subscriberproject/locations/US
string destination = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The destination. |
getDestinationBytes()
public ByteString getDestinationBytes()
Required. The parent resource path of the Subscription.
e.g. projects/subscriberproject/locations/US
string destination = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for destination. |
getName()
public String getName()
Required. Resource name of the Data Exchange.
e.g. projects/publisherproject/locations/US/dataExchanges/123
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Required. Resource name of the Data Exchange.
e.g. projects/publisherproject/locations/US/dataExchanges/123
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getSubscriberContact()
public String getSubscriberContact()
Email of the subscriber.
string subscriber_contact = 3;
Returns | |
---|---|
Type | Description |
String |
The subscriberContact. |
getSubscriberContactBytes()
public ByteString getSubscriberContactBytes()
Email of the subscriber.
string subscriber_contact = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for subscriberContact. |
getSubscription()
public String getSubscription()
Required. Name of the subscription to create.
e.g. subscription1
string subscription = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The subscription. |
getSubscriptionBytes()
public ByteString getSubscriptionBytes()
Required. Name of the subscription to create.
e.g. subscription1
string subscription = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for subscription. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SubscribeDataExchangeRequest other)
public SubscribeDataExchangeRequest.Builder mergeFrom(SubscribeDataExchangeRequest other)
Parameter | |
---|---|
Name | Description |
other |
SubscribeDataExchangeRequest |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SubscribeDataExchangeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SubscribeDataExchangeRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubscribeDataExchangeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
setDestination(String value)
public SubscribeDataExchangeRequest.Builder setDestination(String value)
Required. The parent resource path of the Subscription.
e.g. projects/subscriberproject/locations/US
string destination = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The destination to set. |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
This builder for chaining. |
setDestinationBytes(ByteString value)
public SubscribeDataExchangeRequest.Builder setDestinationBytes(ByteString value)
Required. The parent resource path of the Subscription.
e.g. projects/subscriberproject/locations/US
string destination = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for destination to set. |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SubscribeDataExchangeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
setName(String value)
public SubscribeDataExchangeRequest.Builder setName(String value)
Required. Resource name of the Data Exchange.
e.g. projects/publisherproject/locations/US/dataExchanges/123
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public SubscribeDataExchangeRequest.Builder setNameBytes(ByteString value)
Required. Resource name of the Data Exchange.
e.g. projects/publisherproject/locations/US/dataExchanges/123
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubscribeDataExchangeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
setSubscriberContact(String value)
public SubscribeDataExchangeRequest.Builder setSubscriberContact(String value)
Email of the subscriber.
string subscriber_contact = 3;
Parameter | |
---|---|
Name | Description |
value |
String The subscriberContact to set. |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
This builder for chaining. |
setSubscriberContactBytes(ByteString value)
public SubscribeDataExchangeRequest.Builder setSubscriberContactBytes(ByteString value)
Email of the subscriber.
string subscriber_contact = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for subscriberContact to set. |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
This builder for chaining. |
setSubscription(String value)
public SubscribeDataExchangeRequest.Builder setSubscription(String value)
Required. Name of the subscription to create.
e.g. subscription1
string subscription = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The subscription to set. |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
This builder for chaining. |
setSubscriptionBytes(ByteString value)
public SubscribeDataExchangeRequest.Builder setSubscriptionBytes(ByteString value)
Required. Name of the subscription to create.
e.g. subscription1
string subscription = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for subscription to set. |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SubscribeDataExchangeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SubscribeDataExchangeRequest.Builder |