Class ListSubscriptionsResponse.Builder (0.43.0)

public static final class ListSubscriptionsResponse.Builder extends GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder> implements ListSubscriptionsResponseOrBuilder

Message for response to the listing of subscriptions.

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

Static Methods

getDescriptor()

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

Methods

addAllSubscriptions(Iterable<? extends Subscription> values)

public ListSubscriptionsResponse.Builder addAllSubscriptions(Iterable<? extends Subscription> values)

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.analyticshub.v1.Subscription>
Returns
Type Description
ListSubscriptionsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSubscriptions(Subscription value)

public ListSubscriptionsResponse.Builder addSubscriptions(Subscription value)

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Parameter
Name Description
value Subscription
Returns
Type Description
ListSubscriptionsResponse.Builder

addSubscriptions(Subscription.Builder builderForValue)

public ListSubscriptionsResponse.Builder addSubscriptions(Subscription.Builder builderForValue)

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

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

addSubscriptions(int index, Subscription value)

public ListSubscriptionsResponse.Builder addSubscriptions(int index, Subscription value)

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Parameters
Name Description
index int
value Subscription
Returns
Type Description
ListSubscriptionsResponse.Builder

addSubscriptions(int index, Subscription.Builder builderForValue)

public ListSubscriptionsResponse.Builder addSubscriptions(int index, Subscription.Builder builderForValue)

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Parameters
Name Description
index int
builderForValue Subscription.Builder
Returns
Type Description
ListSubscriptionsResponse.Builder

addSubscriptionsBuilder()

public Subscription.Builder addSubscriptionsBuilder()

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Returns
Type Description
Subscription.Builder

addSubscriptionsBuilder(int index)

public Subscription.Builder addSubscriptionsBuilder(int index)

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Parameter
Name Description
index int
Returns
Type Description
Subscription.Builder

build()

public ListSubscriptionsResponse build()
Returns
Type Description
ListSubscriptionsResponse

buildPartial()

public ListSubscriptionsResponse buildPartial()
Returns
Type Description
ListSubscriptionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListSubscriptionsResponse.Builder clearNextPageToken()

Next page token.

string next_page_token = 2;

Returns
Type Description
ListSubscriptionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSubscriptions()

public ListSubscriptionsResponse.Builder clearSubscriptions()

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Returns
Type Description
ListSubscriptionsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSubscriptionsResponse getDefaultInstanceForType()
Returns
Type Description
ListSubscriptionsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Next page token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Next page token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getSubscriptions(int index)

public Subscription getSubscriptions(int index)

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Parameter
Name Description
index int
Returns
Type Description
Subscription

getSubscriptionsBuilder(int index)

public Subscription.Builder getSubscriptionsBuilder(int index)

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Parameter
Name Description
index int
Returns
Type Description
Subscription.Builder

getSubscriptionsBuilderList()

public List<Subscription.Builder> getSubscriptionsBuilderList()

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Returns
Type Description
List<Builder>

getSubscriptionsCount()

public int getSubscriptionsCount()

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Returns
Type Description
int

getSubscriptionsList()

public List<Subscription> getSubscriptionsList()

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Returns
Type Description
List<Subscription>

getSubscriptionsOrBuilder(int index)

public SubscriptionOrBuilder getSubscriptionsOrBuilder(int index)

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Parameter
Name Description
index int
Returns
Type Description
SubscriptionOrBuilder

getSubscriptionsOrBuilderList()

public List<? extends SubscriptionOrBuilder> getSubscriptionsOrBuilderList()

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Returns
Type Description
List<? extends com.google.cloud.bigquery.analyticshub.v1.SubscriptionOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSubscriptionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSubscriptions(int index)

public ListSubscriptionsResponse.Builder removeSubscriptions(int index)

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListSubscriptionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListSubscriptionsResponse.Builder setNextPageToken(String value)

Next page token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListSubscriptionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSubscriptionsResponse.Builder setNextPageTokenBytes(ByteString value)

Next page token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListSubscriptionsResponse.Builder

This builder for chaining.

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

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

setSubscriptions(int index, Subscription value)

public ListSubscriptionsResponse.Builder setSubscriptions(int index, Subscription value)

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Parameters
Name Description
index int
value Subscription
Returns
Type Description
ListSubscriptionsResponse.Builder

setSubscriptions(int index, Subscription.Builder builderForValue)

public ListSubscriptionsResponse.Builder setSubscriptions(int index, Subscription.Builder builderForValue)

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription subscriptions = 1;

Parameters
Name Description
index int
builderForValue Subscription.Builder
Returns
Type Description
ListSubscriptionsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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