Class SubscribeDataExchangeResponse.Builder (0.80.0)

public static final class SubscribeDataExchangeResponse.Builder extends GeneratedMessage.Builder<SubscribeDataExchangeResponse.Builder> implements SubscribeDataExchangeResponseOrBuilder

Message for response when you subscribe to a Data Exchange.

Protobuf type google.cloud.bigquery.analyticshub.v1.SubscribeDataExchangeResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public SubscribeDataExchangeResponse build()
Returns
Type Description
SubscribeDataExchangeResponse

buildPartial()

public SubscribeDataExchangeResponse buildPartial()
Returns
Type Description
SubscribeDataExchangeResponse

clear()

public SubscribeDataExchangeResponse.Builder clear()
Returns
Type Description
SubscribeDataExchangeResponse.Builder
Overrides

clearSubscription()

public SubscribeDataExchangeResponse.Builder clearSubscription()

Subscription object created from this subscribe action.

.google.cloud.bigquery.analyticshub.v1.Subscription subscription = 1;

Returns
Type Description
SubscribeDataExchangeResponse.Builder

getDefaultInstanceForType()

public SubscribeDataExchangeResponse getDefaultInstanceForType()
Returns
Type Description
SubscribeDataExchangeResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSubscription()

public Subscription getSubscription()

Subscription object created from this subscribe action.

.google.cloud.bigquery.analyticshub.v1.Subscription subscription = 1;

Returns
Type Description
Subscription

The subscription.

getSubscriptionBuilder()

public Subscription.Builder getSubscriptionBuilder()

Subscription object created from this subscribe action.

.google.cloud.bigquery.analyticshub.v1.Subscription subscription = 1;

Returns
Type Description
Subscription.Builder

getSubscriptionOrBuilder()

public SubscriptionOrBuilder getSubscriptionOrBuilder()

Subscription object created from this subscribe action.

.google.cloud.bigquery.analyticshub.v1.Subscription subscription = 1;

Returns
Type Description
SubscriptionOrBuilder

hasSubscription()

public boolean hasSubscription()

Subscription object created from this subscribe action.

.google.cloud.bigquery.analyticshub.v1.Subscription subscription = 1;

Returns
Type Description
boolean

Whether the subscription field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SubscribeDataExchangeResponse other)

public SubscribeDataExchangeResponse.Builder mergeFrom(SubscribeDataExchangeResponse other)
Parameter
Name Description
other SubscribeDataExchangeResponse
Returns
Type Description
SubscribeDataExchangeResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SubscribeDataExchangeResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubscribeDataExchangeResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SubscribeDataExchangeResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SubscribeDataExchangeResponse.Builder
Overrides

mergeSubscription(Subscription value)

public SubscribeDataExchangeResponse.Builder mergeSubscription(Subscription value)

Subscription object created from this subscribe action.

.google.cloud.bigquery.analyticshub.v1.Subscription subscription = 1;

Parameter
Name Description
value Subscription
Returns
Type Description
SubscribeDataExchangeResponse.Builder

setSubscription(Subscription value)

public SubscribeDataExchangeResponse.Builder setSubscription(Subscription value)

Subscription object created from this subscribe action.

.google.cloud.bigquery.analyticshub.v1.Subscription subscription = 1;

Parameter
Name Description
value Subscription
Returns
Type Description
SubscribeDataExchangeResponse.Builder

setSubscription(Subscription.Builder builderForValue)

public SubscribeDataExchangeResponse.Builder setSubscription(Subscription.Builder builderForValue)

Subscription object created from this subscribe action.

.google.cloud.bigquery.analyticshub.v1.Subscription subscription = 1;

Parameter
Name Description
builderForValue Subscription.Builder
Returns
Type Description
SubscribeDataExchangeResponse.Builder