Class ListTopicSubscriptionsResponse (1.14.2)

public final class ListTopicSubscriptionsResponse extends GeneratedMessageV3 implements ListTopicSubscriptionsResponseOrBuilder

Response for ListTopicSubscriptions.

Protobuf type google.cloud.pubsublite.v1.ListTopicSubscriptionsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListTopicSubscriptionsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

SUBSCRIPTIONS_FIELD_NUMBER

public static final int SUBSCRIPTIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListTopicSubscriptionsResponse getDefaultInstance()
Returns
Type Description
ListTopicSubscriptionsResponse

getDescriptor()

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

newBuilder()

public static ListTopicSubscriptionsResponse.Builder newBuilder()
Returns
Type Description
ListTopicSubscriptionsResponse.Builder

newBuilder(ListTopicSubscriptionsResponse prototype)

public static ListTopicSubscriptionsResponse.Builder newBuilder(ListTopicSubscriptionsResponse prototype)
Parameter
Name Description
prototype ListTopicSubscriptionsResponse
Returns
Type Description
ListTopicSubscriptionsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListTopicSubscriptionsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListTopicSubscriptionsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListTopicSubscriptionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTopicSubscriptionsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListTopicSubscriptionsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListTopicSubscriptionsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListTopicSubscriptionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTopicSubscriptionsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListTopicSubscriptionsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListTopicSubscriptionsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListTopicSubscriptionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTopicSubscriptionsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListTopicSubscriptionsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListTopicSubscriptionsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListTopicSubscriptionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTopicSubscriptionsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListTopicSubscriptionsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListTopicSubscriptionsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListTopicSubscriptionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTopicSubscriptionsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListTopicSubscriptionsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListTopicSubscriptionsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListTopicSubscriptionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTopicSubscriptionsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListTopicSubscriptionsResponse> parser()
Returns
Type Description
Parser<ListTopicSubscriptionsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListTopicSubscriptionsResponse getDefaultInstanceForType()
Returns
Type Description
ListTopicSubscriptionsResponse

getNextPageToken()

public String getNextPageToken()

A token that can be sent as page_token to retrieve the next page of results. If this field is omitted, there are no more results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token that can be sent as page_token to retrieve the next page of results. If this field is omitted, there are no more results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListTopicSubscriptionsResponse> getParserForType()
Returns
Type Description
Parser<ListTopicSubscriptionsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSubscriptions(int index)

public String getSubscriptions(int index)

The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.

repeated string subscriptions = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
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. The order of the subscriptions is unspecified.

repeated string subscriptions = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the subscriptions at the given index.

getSubscriptionsCount()

public int getSubscriptionsCount()

The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.

repeated string subscriptions = 1;

Returns
Type Description
int

The count of subscriptions.

getSubscriptionsList()

public ProtocolStringList getSubscriptionsList()

The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.

repeated string subscriptions = 1;

Returns
Type Description
ProtocolStringList

A list containing the subscriptions.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListTopicSubscriptionsResponse.Builder newBuilderForType()
Returns
Type Description
ListTopicSubscriptionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListTopicSubscriptionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListTopicSubscriptionsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListTopicSubscriptionsResponse.Builder toBuilder()
Returns
Type Description
ListTopicSubscriptionsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException