Class SubscribeListingResponse.Builder (0.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SubscribeListingResponse build()
Returns
TypeDescription
SubscribeListingResponse

buildPartial()

public SubscribeListingResponse buildPartial()
Returns
TypeDescription
SubscribeListingResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSubscription()

public SubscribeListingResponse.Builder clearSubscription()

Subscription object created from this subscribe action.

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

Returns
TypeDescription
SubscribeListingResponse.Builder

clone()

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

getDefaultInstanceForType()

public SubscribeListingResponse getDefaultInstanceForType()
Returns
TypeDescription
SubscribeListingResponse

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

public SubscribeListingResponse.Builder mergeFrom(SubscribeListingResponse other)
Parameter
NameDescription
otherSubscribeListingResponse
Returns
TypeDescription
SubscribeListingResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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