public static final class ListNotificationSubscriptionsResponse.Builder extends GeneratedMessage.Builder<ListNotificationSubscriptionsResponse.Builder> implements ListNotificationSubscriptionsResponseOrBuilderResponse message for the ListNotificationSubscription method.
Protobuf type
google.shopping.merchant.notifications.v1beta.ListNotificationSubscriptionsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListNotificationSubscriptionsResponse.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllNotificationSubscriptions(Iterable<? extends NotificationSubscription> values)
public ListNotificationSubscriptionsResponse.Builder addAllNotificationSubscriptions(Iterable<? extends NotificationSubscription> values)The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.shopping.merchant.notifications.v1beta.NotificationSubscription> |
| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse.Builder |
|
addNotificationSubscriptions(NotificationSubscription value)
public ListNotificationSubscriptionsResponse.Builder addNotificationSubscriptions(NotificationSubscription value)The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
NotificationSubscription |
| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse.Builder |
|
addNotificationSubscriptions(NotificationSubscription.Builder builderForValue)
public ListNotificationSubscriptionsResponse.Builder addNotificationSubscriptions(NotificationSubscription.Builder builderForValue)The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
NotificationSubscription.Builder |
| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse.Builder |
|
addNotificationSubscriptions(int index, NotificationSubscription value)
public ListNotificationSubscriptionsResponse.Builder addNotificationSubscriptions(int index, NotificationSubscription value)The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
NotificationSubscription |
| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse.Builder |
|
addNotificationSubscriptions(int index, NotificationSubscription.Builder builderForValue)
public ListNotificationSubscriptionsResponse.Builder addNotificationSubscriptions(int index, NotificationSubscription.Builder builderForValue)The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
NotificationSubscription.Builder |
| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse.Builder |
|
addNotificationSubscriptionsBuilder()
public NotificationSubscription.Builder addNotificationSubscriptionsBuilder()The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Returns | |
|---|---|
| Type | Description |
NotificationSubscription.Builder |
|
addNotificationSubscriptionsBuilder(int index)
public NotificationSubscription.Builder addNotificationSubscriptionsBuilder(int index)The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NotificationSubscription.Builder |
|
build()
public ListNotificationSubscriptionsResponse build()| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse |
|
buildPartial()
public ListNotificationSubscriptionsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse |
|
clear()
public ListNotificationSubscriptionsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse.Builder |
|
clearNextPageToken()
public ListNotificationSubscriptionsResponse.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;
| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse.Builder |
This builder for chaining. |
clearNotificationSubscriptions()
public ListNotificationSubscriptionsResponse.Builder clearNotificationSubscriptions()The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse.Builder |
|
getDefaultInstanceForType()
public ListNotificationSubscriptionsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getNotificationSubscriptions(int index)
public NotificationSubscription getNotificationSubscriptions(int index)The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NotificationSubscription |
|
getNotificationSubscriptionsBuilder(int index)
public NotificationSubscription.Builder getNotificationSubscriptionsBuilder(int index)The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NotificationSubscription.Builder |
|
getNotificationSubscriptionsBuilderList()
public List<NotificationSubscription.Builder> getNotificationSubscriptionsBuilderList()The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getNotificationSubscriptionsCount()
public int getNotificationSubscriptionsCount()The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getNotificationSubscriptionsList()
public List<NotificationSubscription> getNotificationSubscriptionsList()The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Returns | |
|---|---|
| Type | Description |
List<NotificationSubscription> |
|
getNotificationSubscriptionsOrBuilder(int index)
public NotificationSubscriptionOrBuilder getNotificationSubscriptionsOrBuilder(int index)The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NotificationSubscriptionOrBuilder |
|
getNotificationSubscriptionsOrBuilderList()
public List<? extends NotificationSubscriptionOrBuilder> getNotificationSubscriptionsOrBuilderList()The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.shopping.merchant.notifications.v1beta.NotificationSubscriptionOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListNotificationSubscriptionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListNotificationSubscriptionsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse.Builder |
|
mergeFrom(ListNotificationSubscriptionsResponse other)
public ListNotificationSubscriptionsResponse.Builder mergeFrom(ListNotificationSubscriptionsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListNotificationSubscriptionsResponse |
| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse.Builder |
|
removeNotificationSubscriptions(int index)
public ListNotificationSubscriptionsResponse.Builder removeNotificationSubscriptions(int index)The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse.Builder |
|
setNextPageToken(String value)
public ListNotificationSubscriptionsResponse.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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListNotificationSubscriptionsResponse.Builder setNextPageTokenBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse.Builder |
This builder for chaining. |
setNotificationSubscriptions(int index, NotificationSubscription value)
public ListNotificationSubscriptionsResponse.Builder setNotificationSubscriptions(int index, NotificationSubscription value)The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
NotificationSubscription |
| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse.Builder |
|
setNotificationSubscriptions(int index, NotificationSubscription.Builder builderForValue)
public ListNotificationSubscriptionsResponse.Builder setNotificationSubscriptions(int index, NotificationSubscription.Builder builderForValue)The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
NotificationSubscription.Builder |
| Returns | |
|---|---|
| Type | Description |
ListNotificationSubscriptionsResponse.Builder |
|