public final class ListNotificationsResponse extends GeneratedMessageV3 implements ListNotificationsResponseOrBuilder
The result of a call to Notifications.ListNotifications
Protobuf type google.storage.v2.ListNotificationsResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListNotificationsResponseImplements
ListNotificationsResponseOrBuilderStatic Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Type | Description |
int |
NOTIFICATIONS_FIELD_NUMBER
public static final int NOTIFICATIONS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ListNotificationsResponse getDefaultInstance()
Type | Description |
ListNotificationsResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ListNotificationsResponse.Builder newBuilder()
Type | Description |
ListNotificationsResponse.Builder |
newBuilder(ListNotificationsResponse prototype)
public static ListNotificationsResponse.Builder newBuilder(ListNotificationsResponse prototype)
Name | Description |
prototype |
ListNotificationsResponse |
Type | Description |
ListNotificationsResponse.Builder |
parseDelimitedFrom(InputStream input)
public static ListNotificationsResponse parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
ListNotificationsResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListNotificationsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ListNotificationsResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ListNotificationsResponse parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
ListNotificationsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListNotificationsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ListNotificationsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ListNotificationsResponse parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
ListNotificationsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListNotificationsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ListNotificationsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ListNotificationsResponse parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
ListNotificationsResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListNotificationsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ListNotificationsResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ListNotificationsResponse parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
ListNotificationsResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListNotificationsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ListNotificationsResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ListNotificationsResponse parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
ListNotificationsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListNotificationsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ListNotificationsResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ListNotificationsResponse> parser()
Type | Description |
Parser<ListNotificationsResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ListNotificationsResponse getDefaultInstanceForType()
Type | Description |
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;
Type | Description |
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;
Type | Description |
ByteString |
The bytes for nextPageToken. |
getNotifications(int index)
public Notification getNotifications(int index)
The list of items.
repeated .google.storage.v2.Notification notifications = 1;
Name | Description |
index |
int |
Type | Description |
Notification |
getNotificationsCount()
public int getNotificationsCount()
The list of items.
repeated .google.storage.v2.Notification notifications = 1;
Type | Description |
int |
getNotificationsList()
public List<Notification> getNotificationsList()
The list of items.
repeated .google.storage.v2.Notification notifications = 1;
Type | Description |
List<Notification> |
getNotificationsOrBuilder(int index)
public NotificationOrBuilder getNotificationsOrBuilder(int index)
The list of items.
repeated .google.storage.v2.Notification notifications = 1;
Name | Description |
index |
int |
Type | Description |
NotificationOrBuilder |
getNotificationsOrBuilderList()
public List<? extends NotificationOrBuilder> getNotificationsOrBuilderList()
The list of items.
repeated .google.storage.v2.Notification notifications = 1;
Type | Description |
List<? extends com.google.storage.v2.NotificationOrBuilder> |
getParserForType()
public Parser<ListNotificationsResponse> getParserForType()
Type | Description |
Parser<ListNotificationsResponse> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
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 ListNotificationsResponse.Builder newBuilderForType()
Type | Description |
ListNotificationsResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListNotificationsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
ListNotificationsResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ListNotificationsResponse.Builder toBuilder()
Type | Description |
ListNotificationsResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |