Class SubscribeDataExchangeResponse.Builder (0.52.0)

public static final class SubscribeDataExchangeResponse.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SubscribeDataExchangeResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubscribeDataExchangeResponse.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public SubscribeDataExchangeResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SubscribeDataExchangeResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SubscribeDataExchangeResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubscribeDataExchangeResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubscribeDataExchangeResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SubscribeDataExchangeResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubscribeDataExchangeResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SubscribeDataExchangeResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SubscribeDataExchangeResponse.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final SubscribeDataExchangeResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubscribeDataExchangeResponse.Builder
Overrides