public static final class ListNotificationsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationsResponse.Builder> implements ListNotificationsResponseOrBuilder
Response of ListNotifications endpoint.Protobuf type
google.cloud.advisorynotifications.v1.ListNotificationsResponse| Modifier and Type | Method and Description |
|---|---|
ListNotificationsResponse.Builder |
addAllNotifications(Iterable<? extends Notification> values)
List of notifications under a given parent.
|
ListNotificationsResponse.Builder |
addNotifications(int index,
Notification.Builder builderForValue)
List of notifications under a given parent.
|
ListNotificationsResponse.Builder |
addNotifications(int index,
Notification value)
List of notifications under a given parent.
|
ListNotificationsResponse.Builder |
addNotifications(Notification.Builder builderForValue)
List of notifications under a given parent.
|
ListNotificationsResponse.Builder |
addNotifications(Notification value)
List of notifications under a given parent.
|
Notification.Builder |
addNotificationsBuilder()
List of notifications under a given parent.
|
Notification.Builder |
addNotificationsBuilder(int index)
List of notifications under a given parent.
|
ListNotificationsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListNotificationsResponse |
build() |
ListNotificationsResponse |
buildPartial() |
ListNotificationsResponse.Builder |
clear() |
ListNotificationsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListNotificationsResponse.Builder |
clearNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.
|
ListNotificationsResponse.Builder |
clearNotifications()
List of notifications under a given parent.
|
ListNotificationsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListNotificationsResponse.Builder |
clearTotalSize()
Estimation of a total number of notifications.
|
ListNotificationsResponse.Builder |
clone() |
ListNotificationsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
A token, which can be sent as `page_token` to retrieve the next page.
|
Notification |
getNotifications(int index)
List of notifications under a given parent.
|
Notification.Builder |
getNotificationsBuilder(int index)
List of notifications under a given parent.
|
List<Notification.Builder> |
getNotificationsBuilderList()
List of notifications under a given parent.
|
int |
getNotificationsCount()
List of notifications under a given parent.
|
List<Notification> |
getNotificationsList()
List of notifications under a given parent.
|
NotificationOrBuilder |
getNotificationsOrBuilder(int index)
List of notifications under a given parent.
|
List<? extends NotificationOrBuilder> |
getNotificationsOrBuilderList()
List of notifications under a given parent.
|
int |
getTotalSize()
Estimation of a total number of notifications.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListNotificationsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListNotificationsResponse.Builder |
mergeFrom(ListNotificationsResponse other) |
ListNotificationsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListNotificationsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListNotificationsResponse.Builder |
removeNotifications(int index)
List of notifications under a given parent.
|
ListNotificationsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListNotificationsResponse.Builder |
setNextPageToken(String value)
A token, which can be sent as `page_token` to retrieve the next page.
|
ListNotificationsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as `page_token` to retrieve the next page.
|
ListNotificationsResponse.Builder |
setNotifications(int index,
Notification.Builder builderForValue)
List of notifications under a given parent.
|
ListNotificationsResponse.Builder |
setNotifications(int index,
Notification value)
List of notifications under a given parent.
|
ListNotificationsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListNotificationsResponse.Builder |
setTotalSize(int value)
Estimation of a total number of notifications.
|
ListNotificationsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationsResponse.Builder>public ListNotificationsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationsResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationsResponse.Builder>public ListNotificationsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListNotificationsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListNotificationsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListNotificationsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationsResponse.Builder>public ListNotificationsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationsResponse.Builder>public ListNotificationsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationsResponse.Builder>public ListNotificationsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationsResponse.Builder>public ListNotificationsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationsResponse.Builder>public ListNotificationsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationsResponse.Builder>public ListNotificationsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListNotificationsResponse.Builder>public ListNotificationsResponse.Builder mergeFrom(ListNotificationsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationsResponse.Builder>public ListNotificationsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListNotificationsResponse.Builder>IOExceptionpublic List<Notification> getNotificationsList()
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;getNotificationsList in interface ListNotificationsResponseOrBuilderpublic int getNotificationsCount()
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;getNotificationsCount in interface ListNotificationsResponseOrBuilderpublic Notification getNotifications(int index)
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;getNotifications in interface ListNotificationsResponseOrBuilderpublic ListNotificationsResponse.Builder setNotifications(int index, Notification value)
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;public ListNotificationsResponse.Builder setNotifications(int index, Notification.Builder builderForValue)
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;public ListNotificationsResponse.Builder addNotifications(Notification value)
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;public ListNotificationsResponse.Builder addNotifications(int index, Notification value)
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;public ListNotificationsResponse.Builder addNotifications(Notification.Builder builderForValue)
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;public ListNotificationsResponse.Builder addNotifications(int index, Notification.Builder builderForValue)
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;public ListNotificationsResponse.Builder addAllNotifications(Iterable<? extends Notification> values)
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;public ListNotificationsResponse.Builder clearNotifications()
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;public ListNotificationsResponse.Builder removeNotifications(int index)
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;public Notification.Builder getNotificationsBuilder(int index)
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;public NotificationOrBuilder getNotificationsOrBuilder(int index)
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;getNotificationsOrBuilder in interface ListNotificationsResponseOrBuilderpublic List<? extends NotificationOrBuilder> getNotificationsOrBuilderList()
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;getNotificationsOrBuilderList in interface ListNotificationsResponseOrBuilderpublic Notification.Builder addNotificationsBuilder()
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;public Notification.Builder addNotificationsBuilder(int index)
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;public List<Notification.Builder> getNotificationsBuilderList()
List of notifications under a given parent.
repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;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;getNextPageToken in interface ListNotificationsResponseOrBuilderpublic com.google.protobuf.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;getNextPageTokenBytes in interface ListNotificationsResponseOrBuilderpublic ListNotificationsResponse.Builder setNextPageToken(String value)
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;value - The nextPageToken to set.public ListNotificationsResponse.Builder clearNextPageToken()
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;public ListNotificationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
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;value - The bytes for nextPageToken to set.public int getTotalSize()
Estimation of a total number of notifications.
int32 total_size = 3;getTotalSize in interface ListNotificationsResponseOrBuilderpublic ListNotificationsResponse.Builder setTotalSize(int value)
Estimation of a total number of notifications.
int32 total_size = 3;value - The totalSize to set.public ListNotificationsResponse.Builder clearTotalSize()
Estimation of a total number of notifications.
int32 total_size = 3;public final ListNotificationsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationsResponse.Builder>public final ListNotificationsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationsResponse.Builder>Copyright © 2023 Google LLC. All rights reserved.