Class ListNotificationsResponse (2.17.1)

public final class ListNotificationsResponse extends GeneratedMessageV3 implements ListNotificationsResponseOrBuilder

The result of a call to Notifications.ListNotifications

Protobuf type google.storage.v2.ListNotificationsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

NOTIFICATIONS_FIELD_NUMBER

public static final int NOTIFICATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListNotificationsResponse getDefaultInstance()
Returns
TypeDescription
ListNotificationsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListNotificationsResponse prototype)

public static ListNotificationsResponse.Builder newBuilder(ListNotificationsResponse prototype)
Parameter
NameDescription
prototypeListNotificationsResponse
Returns
TypeDescription
ListNotificationsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListNotificationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListNotificationsResponse

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.

getNotifications(int index)

public Notification getNotifications(int index)

The list of items.

repeated .google.storage.v2.Notification notifications = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Notification

getNotificationsCount()

public int getNotificationsCount()

The list of items.

repeated .google.storage.v2.Notification notifications = 1;

Returns
TypeDescription
int

getNotificationsList()

public List<Notification> getNotificationsList()

The list of items.

repeated .google.storage.v2.Notification notifications = 1;

Returns
TypeDescription
List<Notification>

getNotificationsOrBuilder(int index)

public NotificationOrBuilder getNotificationsOrBuilder(int index)

The list of items.

repeated .google.storage.v2.Notification notifications = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NotificationOrBuilder

getNotificationsOrBuilderList()

public List<? extends NotificationOrBuilder> getNotificationsOrBuilderList()

The list of items.

repeated .google.storage.v2.Notification notifications = 1;

Returns
TypeDescription
List<? extends com.google.storage.v2.NotificationOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 ListNotificationsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListNotificationsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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