Class SubscribeDataExchangeResponse.Builder (0.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SubscribeDataExchangeResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder
Overrides

build()

public SubscribeDataExchangeResponse build()
Returns
TypeDescription
SubscribeDataExchangeResponse

buildPartial()

public SubscribeDataExchangeResponse buildPartial()
Returns
TypeDescription
SubscribeDataExchangeResponse

clear()

public SubscribeDataExchangeResponse.Builder clear()
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SubscribeDataExchangeResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SubscribeDataExchangeResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder
Overrides

clearSubscription()

public SubscribeDataExchangeResponse.Builder clearSubscription()

Subscription object created from this subscribe action.

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

Returns
TypeDescription
SubscribeDataExchangeResponse.Builder

clone()

public SubscribeDataExchangeResponse.Builder clone()
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder
Overrides

getDefaultInstanceForType()

public SubscribeDataExchangeResponse getDefaultInstanceForType()
Returns
TypeDescription
SubscribeDataExchangeResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSubscription()

public Subscription getSubscription()

Subscription object created from this subscribe action.

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

Returns
TypeDescription
Subscription

The subscription.

getSubscriptionBuilder()

public Subscription.Builder getSubscriptionBuilder()

Subscription object created from this subscribe action.

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

Returns
TypeDescription
Subscription.Builder

getSubscriptionOrBuilder()

public SubscriptionOrBuilder getSubscriptionOrBuilder()

Subscription object created from this subscribe action.

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

Returns
TypeDescription
SubscriptionOrBuilder

hasSubscription()

public boolean hasSubscription()

Subscription object created from this subscribe action.

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

Returns
TypeDescription
boolean

Whether the subscription field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SubscribeDataExchangeResponse other)

public SubscribeDataExchangeResponse.Builder mergeFrom(SubscribeDataExchangeResponse other)
Parameter
NameDescription
otherSubscribeDataExchangeResponse
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SubscribeDataExchangeResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SubscribeDataExchangeResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSubscription
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubscribeDataExchangeResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SubscribeDataExchangeResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder
Overrides

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

public SubscribeDataExchangeResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSubscription
Returns
TypeDescription
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
NameDescription
builderForValueSubscription.Builder
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SubscribeDataExchangeResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SubscribeDataExchangeResponse.Builder
Overrides