Class ListSubscriptionsResponse (0.1.0)

public final class ListSubscriptionsResponse extends GeneratedMessageV3 implements ListSubscriptionsResponseOrBuilder

The response message for SubscriptionsService.ListSubscriptions.

Protobuf type google.apps.events.subscriptions.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()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

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)

List of subscriptions.

repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Subscription

getSubscriptionsCount()

public int getSubscriptionsCount()

List of subscriptions.

repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;

Returns
TypeDescription
int

getSubscriptionsList()

public List<Subscription> getSubscriptionsList()

List of subscriptions.

repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;

Returns
TypeDescription
List<Subscription>

getSubscriptionsOrBuilder(int index)

public SubscriptionOrBuilder getSubscriptionsOrBuilder(int index)

List of subscriptions.

repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SubscriptionOrBuilder

getSubscriptionsOrBuilderList()

public List<? extends SubscriptionOrBuilder> getSubscriptionsOrBuilderList()

List of subscriptions.

repeated .google.apps.events.subscriptions.v1.Subscription subscriptions = 1;

Returns
TypeDescription
List<? extends com.google.apps.events.subscriptions.v1.SubscriptionOrBuilder>

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