Class SubscribeListingResponse.Builder (0.51.0)

public static final class SubscribeListingResponse.Builder extends GeneratedMessageV3.Builder<SubscribeListingResponse.Builder> implements SubscribeListingResponseOrBuilder

Message for response when you subscribe to a listing.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SubscribeListingResponse build()
Returns
Type Description
SubscribeListingResponse

buildPartial()

public SubscribeListingResponse buildPartial()
Returns
Type Description
SubscribeListingResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SubscribeListingResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SubscribeListingResponse.Builder
Overrides

clearSubscription()

public SubscribeListingResponse.Builder clearSubscription()

Subscription object created from this subscribe action.

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

Returns
Type Description
SubscribeListingResponse.Builder

clone()

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

getDefaultInstanceForType()

public SubscribeListingResponse getDefaultInstanceForType()
Returns
Type Description
SubscribeListingResponse

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(SubscribeListingResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSubscription(Subscription value)

public SubscribeListingResponse.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
SubscribeListingResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSubscription(Subscription value)

public SubscribeListingResponse.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
SubscribeListingResponse.Builder

setSubscription(Subscription.Builder builderForValue)

public SubscribeListingResponse.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
SubscribeListingResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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