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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RefreshSubscriptionResponse build()
Returns
TypeDescription
RefreshSubscriptionResponse

buildPartial()

public RefreshSubscriptionResponse buildPartial()
Returns
TypeDescription
RefreshSubscriptionResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSubscription()

public RefreshSubscriptionResponse.Builder clearSubscription()

The refreshed subscription resource.

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

Returns
TypeDescription
RefreshSubscriptionResponse.Builder

clone()

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

getDefaultInstanceForType()

public RefreshSubscriptionResponse getDefaultInstanceForType()
Returns
TypeDescription
RefreshSubscriptionResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSubscription()

public Subscription getSubscription()

The refreshed subscription resource.

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

Returns
TypeDescription
Subscription

The subscription.

getSubscriptionBuilder()

public Subscription.Builder getSubscriptionBuilder()

The refreshed subscription resource.

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

Returns
TypeDescription
Subscription.Builder

getSubscriptionOrBuilder()

public SubscriptionOrBuilder getSubscriptionOrBuilder()

The refreshed subscription resource.

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

Returns
TypeDescription
SubscriptionOrBuilder

hasSubscription()

public boolean hasSubscription()

The refreshed subscription resource.

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

public RefreshSubscriptionResponse.Builder mergeFrom(RefreshSubscriptionResponse other)
Parameter
NameDescription
otherRefreshSubscriptionResponse
Returns
TypeDescription
RefreshSubscriptionResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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