Class ListSharedResourceSubscriptionsResponse.Builder (0.37.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.analyticshub.v1.Subscription>
Returns
TypeDescription
ListSharedResourceSubscriptionsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSharedResourceSubscriptionsBuilder()

public Subscription.Builder addSharedResourceSubscriptionsBuilder()

The list of subscriptions.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Subscription.Builder

build()

public ListSharedResourceSubscriptionsResponse build()
Returns
TypeDescription
ListSharedResourceSubscriptionsResponse

buildPartial()

public ListSharedResourceSubscriptionsResponse buildPartial()
Returns
TypeDescription
ListSharedResourceSubscriptionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListSharedResourceSubscriptionsResponse.Builder clearNextPageToken()

Next page token.

string next_page_token = 2;

Returns
TypeDescription
ListSharedResourceSubscriptionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSharedResourceSubscriptions()

public ListSharedResourceSubscriptionsResponse.Builder clearSharedResourceSubscriptions()

The list of subscriptions.

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

Returns
TypeDescription
ListSharedResourceSubscriptionsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListSharedResourceSubscriptionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSharedResourceSubscriptionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

Next page token.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Next page token.

string next_page_token = 2;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Subscription.Builder

getSharedResourceSubscriptionsBuilderList()

public List<Subscription.Builder> getSharedResourceSubscriptionsBuilderList()

The list of subscriptions.

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

Returns
TypeDescription
List<Builder>

getSharedResourceSubscriptionsCount()

public int getSharedResourceSubscriptionsCount()

The list of subscriptions.

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

Returns
TypeDescription
int

getSharedResourceSubscriptionsList()

public List<Subscription> getSharedResourceSubscriptionsList()

The list of subscriptions.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SubscriptionOrBuilder

getSharedResourceSubscriptionsOrBuilderList()

public List<? extends SubscriptionOrBuilder> getSharedResourceSubscriptionsOrBuilderList()

The list of subscriptions.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSharedResourceSubscriptionsResponse other)

public ListSharedResourceSubscriptionsResponse.Builder mergeFrom(ListSharedResourceSubscriptionsResponse other)
Parameter
NameDescription
otherListSharedResourceSubscriptionsResponse
Returns
TypeDescription
ListSharedResourceSubscriptionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ListSharedResourceSubscriptionsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListSharedResourceSubscriptionsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSharedResourceSubscriptionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListSharedResourceSubscriptionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListSharedResourceSubscriptionsResponse.Builder setNextPageToken(String value)

Next page token.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListSharedResourceSubscriptionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListSharedResourceSubscriptionsResponse.Builder setNextPageTokenBytes(ByteString value)

Next page token.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueSubscription
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSubscription.Builder
Returns
TypeDescription
ListSharedResourceSubscriptionsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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