public final class ListTopicSubscriptionsResponse extends GeneratedMessageV3 implements ListTopicSubscriptionsResponseOrBuilder
Response for the ListTopicSubscriptions
method.
Protobuf type google.pubsub.v1.ListTopicSubscriptionsResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListTopicSubscriptionsResponseImplements
ListTopicSubscriptionsResponseOrBuilderStatic Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Type | Description |
int |
SUBSCRIPTIONS_FIELD_NUMBER
public static final int SUBSCRIPTIONS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ListTopicSubscriptionsResponse getDefaultInstance()
Type | Description |
ListTopicSubscriptionsResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ListTopicSubscriptionsResponse.Builder newBuilder()
Type | Description |
ListTopicSubscriptionsResponse.Builder |
newBuilder(ListTopicSubscriptionsResponse prototype)
public static ListTopicSubscriptionsResponse.Builder newBuilder(ListTopicSubscriptionsResponse prototype)
Name | Description |
prototype | ListTopicSubscriptionsResponse |
Type | Description |
ListTopicSubscriptionsResponse.Builder |
parseDelimitedFrom(InputStream input)
public static ListTopicSubscriptionsResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListTopicSubscriptionsResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListTopicSubscriptionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListTopicSubscriptionsResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ListTopicSubscriptionsResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ListTopicSubscriptionsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListTopicSubscriptionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListTopicSubscriptionsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ListTopicSubscriptionsResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ListTopicSubscriptionsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListTopicSubscriptionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListTopicSubscriptionsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ListTopicSubscriptionsResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ListTopicSubscriptionsResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListTopicSubscriptionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListTopicSubscriptionsResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ListTopicSubscriptionsResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListTopicSubscriptionsResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListTopicSubscriptionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListTopicSubscriptionsResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ListTopicSubscriptionsResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ListTopicSubscriptionsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListTopicSubscriptionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListTopicSubscriptionsResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ListTopicSubscriptionsResponse> parser()
Type | Description |
Parser<ListTopicSubscriptionsResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ListTopicSubscriptionsResponse getDefaultInstanceForType()
Type | Description |
ListTopicSubscriptionsResponse |
getNextPageToken()
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
ListTopicSubscriptionsRequest
to get more subscriptions.
string next_page_token = 2;
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
If not empty, indicates that there may be more subscriptions that match
the request; this value should be passed in a new
ListTopicSubscriptionsRequest
to get more subscriptions.
string next_page_token = 2;
Type | Description |
ByteString | The bytes for nextPageToken. |
getParserForType()
public Parser<ListTopicSubscriptionsResponse> getParserForType()
Type | Description |
Parser<ListTopicSubscriptionsResponse> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getSubscriptions(int index)
public String getSubscriptions(int index)
The names of subscriptions attached to the topic specified in the request.
repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The subscriptions at the given index. |
getSubscriptionsBytes(int index)
public ByteString getSubscriptionsBytes(int index)
The names of subscriptions attached to the topic specified in the request.
repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the subscriptions at the given index. |
getSubscriptionsCount()
public int getSubscriptionsCount()
The names of subscriptions attached to the topic specified in the request.
repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
int | The count of subscriptions. |
getSubscriptionsList()
public ProtocolStringList getSubscriptionsList()
The names of subscriptions attached to the topic specified in the request.
repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
ProtocolStringList | A list containing the subscriptions. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ListTopicSubscriptionsResponse.Builder newBuilderForType()
Type | Description |
ListTopicSubscriptionsResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListTopicSubscriptionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ListTopicSubscriptionsResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ListTopicSubscriptionsResponse.Builder toBuilder()
Type | Description |
ListTopicSubscriptionsResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |