Class ListSharedResourceSubscriptionsResponse.Builder (0.48.0)

public static final class ListSharedResourceSubscriptionsResponse.Builder extends GeneratedMessageV3.Builder<ListSharedResourceSubscriptionsResponse.Builder> implements ListSharedResourceSubscriptionsResponseOrBuilder

Message for response to the listing of shared resource subscriptions.

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

Static Methods

getDescriptor()

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

Methods

addAllSharedResourceSubscriptions(Iterable<? extends Subscription> values)

public ListSharedResourceSubscriptionsResponse.Builder addAllSharedResourceSubscriptions(Iterable<? extends Subscription> values)

The list of subscriptions.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSharedResourceSubscriptions(Subscription value)

public ListSharedResourceSubscriptionsResponse.Builder addSharedResourceSubscriptions(Subscription value)

The list of subscriptions.

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

Parameter
Name Description
value Subscription
Returns
Type Description
ListSharedResourceSubscriptionsResponse.Builder

addSharedResourceSubscriptions(Subscription.Builder builderForValue)

public ListSharedResourceSubscriptionsResponse.Builder addSharedResourceSubscriptions(Subscription.Builder builderForValue)

The list of subscriptions.

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

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

addSharedResourceSubscriptions(int index, Subscription value)

public ListSharedResourceSubscriptionsResponse.Builder addSharedResourceSubscriptions(int index, Subscription value)

The list of subscriptions.

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

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

addSharedResourceSubscriptions(int index, Subscription.Builder builderForValue)

public ListSharedResourceSubscriptionsResponse.Builder addSharedResourceSubscriptions(int index, Subscription.Builder builderForValue)

The list of subscriptions.

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

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

addSharedResourceSubscriptionsBuilder()

public Subscription.Builder addSharedResourceSubscriptionsBuilder()

The list of subscriptions.

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

Returns
Type Description
Subscription.Builder

addSharedResourceSubscriptionsBuilder(int index)

public Subscription.Builder addSharedResourceSubscriptionsBuilder(int index)

The list of subscriptions.

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

Parameter
Name Description
index int
Returns
Type Description
Subscription.Builder

build()

public ListSharedResourceSubscriptionsResponse build()
Returns
Type Description
ListSharedResourceSubscriptionsResponse

buildPartial()

public ListSharedResourceSubscriptionsResponse buildPartial()
Returns
Type Description
ListSharedResourceSubscriptionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListSharedResourceSubscriptionsResponse.Builder clearNextPageToken()

Next page token.

string next_page_token = 2;

Returns
Type Description
ListSharedResourceSubscriptionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSharedResourceSubscriptions()

public ListSharedResourceSubscriptionsResponse.Builder clearSharedResourceSubscriptions()

The list of subscriptions.

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

Returns
Type Description
ListSharedResourceSubscriptionsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSharedResourceSubscriptionsResponse getDefaultInstanceForType()
Returns
Type Description
ListSharedResourceSubscriptionsResponse

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.

getSharedResourceSubscriptions(int index)

public Subscription getSharedResourceSubscriptions(int index)

The list of subscriptions.

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

Parameter
Name Description
index int
Returns
Type Description
Subscription

getSharedResourceSubscriptionsBuilder(int index)

public Subscription.Builder getSharedResourceSubscriptionsBuilder(int index)

The list of subscriptions.

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

Parameter
Name Description
index int
Returns
Type Description
Subscription.Builder

getSharedResourceSubscriptionsBuilderList()

public List<Subscription.Builder> getSharedResourceSubscriptionsBuilderList()

The list of subscriptions.

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

Returns
Type Description
List<Builder>

getSharedResourceSubscriptionsCount()

public int getSharedResourceSubscriptionsCount()

The list of subscriptions.

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

Returns
Type Description
int

getSharedResourceSubscriptionsList()

public List<Subscription> getSharedResourceSubscriptionsList()

The list of subscriptions.

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

Returns
Type Description
List<Subscription>

getSharedResourceSubscriptionsOrBuilder(int index)

public SubscriptionOrBuilder getSharedResourceSubscriptionsOrBuilder(int index)

The list of subscriptions.

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

Parameter
Name Description
index int
Returns
Type Description
SubscriptionOrBuilder

getSharedResourceSubscriptionsOrBuilderList()

public List<? extends SubscriptionOrBuilder> getSharedResourceSubscriptionsOrBuilderList()

The list of subscriptions.

repeated .google.cloud.bigquery.analyticshub.v1.Subscription shared_resource_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(ListSharedResourceSubscriptionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSharedResourceSubscriptions(int index)

public ListSharedResourceSubscriptionsResponse.Builder removeSharedResourceSubscriptions(int index)

The list of subscriptions.

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

Parameter
Name Description
index int
Returns
Type Description
ListSharedResourceSubscriptionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListSharedResourceSubscriptionsResponse.Builder setNextPageToken(String value)

Next page token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListSharedResourceSubscriptionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setSharedResourceSubscriptions(int index, Subscription value)

public ListSharedResourceSubscriptionsResponse.Builder setSharedResourceSubscriptions(int index, Subscription value)

The list of subscriptions.

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

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

setSharedResourceSubscriptions(int index, Subscription.Builder builderForValue)

public ListSharedResourceSubscriptionsResponse.Builder setSharedResourceSubscriptions(int index, Subscription.Builder builderForValue)

The list of subscriptions.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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