Class ListSubscriptionsResponse (1.115.5)

public final class ListSubscriptionsResponse extends GeneratedMessageV3 implements ListSubscriptionsResponseOrBuilder

Response for the ListSubscriptions method.

Protobuf type google.pubsub.v1.ListSubscriptionsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SUBSCRIPTIONS_FIELD_NUMBER

public static final int SUBSCRIPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListSubscriptionsResponse getDefaultInstance()
Returns
TypeDescription
ListSubscriptionsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListSubscriptionsResponse.Builder newBuilder()
Returns
TypeDescription
ListSubscriptionsResponse.Builder

newBuilder(ListSubscriptionsResponse prototype)

public static ListSubscriptionsResponse.Builder newBuilder(ListSubscriptionsResponse prototype)
Parameter
NameDescription
prototypeListSubscriptionsResponse
Returns
TypeDescription
ListSubscriptionsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListSubscriptionsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSubscriptionsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSubscriptionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSubscriptionsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListSubscriptionsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListSubscriptionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListSubscriptionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSubscriptionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListSubscriptionsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListSubscriptionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListSubscriptionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSubscriptionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListSubscriptionsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListSubscriptionsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSubscriptionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSubscriptionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListSubscriptionsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListSubscriptionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListSubscriptionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSubscriptionsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListSubscriptionsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListSubscriptionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListSubscriptionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSubscriptionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListSubscriptionsResponse> parser()
Returns
TypeDescription
Parser<ListSubscriptionsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListSubscriptionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSubscriptionsResponse

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 ListSubscriptionsRequest to get more subscriptions.

string next_page_token = 2;

Returns
TypeDescription
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 ListSubscriptionsRequest to get more subscriptions.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListSubscriptionsResponse> getParserForType()
Returns
TypeDescription
Parser<ListSubscriptionsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubscriptions(int index)

public Subscription getSubscriptions(int index)

The subscriptions that match the request.

repeated .google.pubsub.v1.Subscription subscriptions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Subscription

getSubscriptionsCount()

public int getSubscriptionsCount()

The subscriptions that match the request.

repeated .google.pubsub.v1.Subscription subscriptions = 1;

Returns
TypeDescription
int

getSubscriptionsList()

public List<Subscription> getSubscriptionsList()

The subscriptions that match the request.

repeated .google.pubsub.v1.Subscription subscriptions = 1;

Returns
TypeDescription
List<Subscription>

getSubscriptionsOrBuilder(int index)

public SubscriptionOrBuilder getSubscriptionsOrBuilder(int index)

The subscriptions that match the request.

repeated .google.pubsub.v1.Subscription subscriptions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SubscriptionOrBuilder

getSubscriptionsOrBuilderList()

public List<? extends SubscriptionOrBuilder> getSubscriptionsOrBuilderList()

The subscriptions that match the request.

repeated .google.pubsub.v1.Subscription subscriptions = 1;

Returns
TypeDescription
List<? extends com.google.pubsub.v1.SubscriptionOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListSubscriptionsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListSubscriptionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListSubscriptionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListSubscriptionsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListSubscriptionsResponse.Builder toBuilder()
Returns
TypeDescription
ListSubscriptionsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException