Class RefreshSubscriptionResponse.Builder (0.42.0)

public static final class RefreshSubscriptionResponse.Builder extends GeneratedMessageV3.Builder<RefreshSubscriptionResponse.Builder> implements RefreshSubscriptionResponseOrBuilder

Message for response when you refresh a subscription.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RefreshSubscriptionResponse build()
Returns
Type Description
RefreshSubscriptionResponse

buildPartial()

public RefreshSubscriptionResponse buildPartial()
Returns
Type Description
RefreshSubscriptionResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSubscription()

public RefreshSubscriptionResponse.Builder clearSubscription()

The refreshed subscription resource.

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

Returns
Type Description
RefreshSubscriptionResponse.Builder

clone()

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

getDefaultInstanceForType()

public RefreshSubscriptionResponse getDefaultInstanceForType()
Returns
Type Description
RefreshSubscriptionResponse

getDescriptorForType()

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

getSubscription()

public Subscription getSubscription()

The refreshed subscription resource.

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

Returns
Type Description
Subscription

The subscription.

getSubscriptionBuilder()

public Subscription.Builder getSubscriptionBuilder()

The refreshed subscription resource.

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

Returns
Type Description
Subscription.Builder

getSubscriptionOrBuilder()

public SubscriptionOrBuilder getSubscriptionOrBuilder()

The refreshed subscription resource.

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

Returns
Type Description
SubscriptionOrBuilder

hasSubscription()

public boolean hasSubscription()

The refreshed subscription resource.

.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(RefreshSubscriptionResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSubscription(Subscription value)

public RefreshSubscriptionResponse.Builder mergeSubscription(Subscription value)

The refreshed subscription resource.

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

Parameter
Name Description
value Subscription
Returns
Type Description
RefreshSubscriptionResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSubscription(Subscription value)

public RefreshSubscriptionResponse.Builder setSubscription(Subscription value)

The refreshed subscription resource.

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

Parameter
Name Description
value Subscription
Returns
Type Description
RefreshSubscriptionResponse.Builder

setSubscription(Subscription.Builder builderForValue)

public RefreshSubscriptionResponse.Builder setSubscription(Subscription.Builder builderForValue)

The refreshed subscription resource.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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