public static final class ListSubscriptionsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder> implements ListSubscriptionsResponseOrBuilder
Response for the `ListSubscriptions` method.Protobuf type
google.pubsub.v1.ListSubscriptionsResponse
Modifier and Type | Method and Description |
---|---|
ListSubscriptionsResponse.Builder |
addAllSubscriptions(Iterable<? extends Subscription> values)
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListSubscriptionsResponse.Builder |
addSubscriptions(int index,
Subscription.Builder builderForValue)
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
addSubscriptions(int index,
Subscription value)
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
addSubscriptions(Subscription.Builder builderForValue)
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
addSubscriptions(Subscription value)
The subscriptions that match the request.
|
Subscription.Builder |
addSubscriptionsBuilder()
The subscriptions that match the request.
|
Subscription.Builder |
addSubscriptionsBuilder(int index)
The subscriptions that match the request.
|
ListSubscriptionsResponse |
build() |
ListSubscriptionsResponse |
buildPartial() |
ListSubscriptionsResponse.Builder |
clear() |
ListSubscriptionsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListSubscriptionsResponse.Builder |
clearNextPageToken()
If not empty, indicates that there may be more subscriptions that match
the request; this value should be passed in a new
`ListSubscriptionsRequest` to get more subscriptions.
|
ListSubscriptionsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListSubscriptionsResponse.Builder |
clearSubscriptions()
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
clone() |
ListSubscriptionsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
If not empty, indicates that there may be more subscriptions that match
the request; this value should be passed in a new
`ListSubscriptionsRequest` to get more subscriptions.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
If not empty, indicates that there may be more subscriptions that match
the request; this value should be passed in a new
`ListSubscriptionsRequest` to get more subscriptions.
|
Subscription |
getSubscriptions(int index)
The subscriptions that match the request.
|
Subscription.Builder |
getSubscriptionsBuilder(int index)
The subscriptions that match the request.
|
List<Subscription.Builder> |
getSubscriptionsBuilderList()
The subscriptions that match the request.
|
int |
getSubscriptionsCount()
The subscriptions that match the request.
|
List<Subscription> |
getSubscriptionsList()
The subscriptions that match the request.
|
SubscriptionOrBuilder |
getSubscriptionsOrBuilder(int index)
The subscriptions that match the request.
|
List<? extends SubscriptionOrBuilder> |
getSubscriptionsOrBuilderList()
The subscriptions that match the request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListSubscriptionsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListSubscriptionsResponse.Builder |
mergeFrom(ListSubscriptionsResponse other) |
ListSubscriptionsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListSubscriptionsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListSubscriptionsResponse.Builder |
removeSubscriptions(int index)
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListSubscriptionsResponse.Builder |
setNextPageToken(String value)
If not empty, indicates that there may be more subscriptions that match
the request; this value should be passed in a new
`ListSubscriptionsRequest` to get more subscriptions.
|
ListSubscriptionsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
If not empty, indicates that there may be more subscriptions that match
the request; this value should be passed in a new
`ListSubscriptionsRequest` to get more subscriptions.
|
ListSubscriptionsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListSubscriptionsResponse.Builder |
setSubscriptions(int index,
Subscription.Builder builderForValue)
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
setSubscriptions(int index,
Subscription value)
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>
public ListSubscriptionsResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>
public ListSubscriptionsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListSubscriptionsResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListSubscriptionsResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListSubscriptionsResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>
public ListSubscriptionsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>
public ListSubscriptionsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>
public ListSubscriptionsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>
public ListSubscriptionsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>
public ListSubscriptionsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>
public ListSubscriptionsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListSubscriptionsResponse.Builder>
public ListSubscriptionsResponse.Builder mergeFrom(ListSubscriptionsResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>
public ListSubscriptionsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListSubscriptionsResponse.Builder>
IOException
public List<Subscription> getSubscriptionsList()
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
getSubscriptionsList
in interface ListSubscriptionsResponseOrBuilder
public int getSubscriptionsCount()
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
getSubscriptionsCount
in interface ListSubscriptionsResponseOrBuilder
public Subscription getSubscriptions(int index)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
getSubscriptions
in interface ListSubscriptionsResponseOrBuilder
public ListSubscriptionsResponse.Builder setSubscriptions(int index, Subscription value)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
public ListSubscriptionsResponse.Builder setSubscriptions(int index, Subscription.Builder builderForValue)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
public ListSubscriptionsResponse.Builder addSubscriptions(Subscription value)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
public ListSubscriptionsResponse.Builder addSubscriptions(int index, Subscription value)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
public ListSubscriptionsResponse.Builder addSubscriptions(Subscription.Builder builderForValue)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
public ListSubscriptionsResponse.Builder addSubscriptions(int index, Subscription.Builder builderForValue)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
public ListSubscriptionsResponse.Builder addAllSubscriptions(Iterable<? extends Subscription> values)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
public ListSubscriptionsResponse.Builder clearSubscriptions()
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
public ListSubscriptionsResponse.Builder removeSubscriptions(int index)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
public Subscription.Builder getSubscriptionsBuilder(int index)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
public SubscriptionOrBuilder getSubscriptionsOrBuilder(int index)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
getSubscriptionsOrBuilder
in interface ListSubscriptionsResponseOrBuilder
public List<? extends SubscriptionOrBuilder> getSubscriptionsOrBuilderList()
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
getSubscriptionsOrBuilderList
in interface ListSubscriptionsResponseOrBuilder
public Subscription.Builder addSubscriptionsBuilder()
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
public Subscription.Builder addSubscriptionsBuilder(int index)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
public List<Subscription.Builder> getSubscriptionsBuilderList()
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;
public String getNextPageToken()
If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions.
string next_page_token = 2;
getNextPageToken
in interface ListSubscriptionsResponseOrBuilder
public com.google.protobuf.ByteString getNextPageTokenBytes()
If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListSubscriptionsResponseOrBuilder
public ListSubscriptionsResponse.Builder setNextPageToken(String value)
If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions.
string next_page_token = 2;
value
- The nextPageToken to set.public ListSubscriptionsResponse.Builder clearNextPageToken()
If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions.
string next_page_token = 2;
public ListSubscriptionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions.
string next_page_token = 2;
value
- The bytes for nextPageToken to set.public final ListSubscriptionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>
public final ListSubscriptionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.