public static final class ListNotificationSubscriptionsResponse.Builder extends GeneratedMessageV3.Builder<ListNotificationSubscriptionsResponse.Builder> implements ListNotificationSubscriptionsResponseOrBuilder
Response message for the ListNotificationSubscription method.
Protobuf type
google.shopping.merchant.notifications.v1beta.ListNotificationSubscriptionsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
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;
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;
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;
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;
public NotificationSubscription.Builder addNotificationSubscriptionsBuilder()
The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
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
|
public ListNotificationSubscriptionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListNotificationSubscriptionsResponse build()
public ListNotificationSubscriptionsResponse buildPartial()
public ListNotificationSubscriptionsResponse.Builder clear()
Overrides
public ListNotificationSubscriptionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
public ListNotificationSubscriptionsResponse.Builder clearNotificationSubscriptions()
The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
public ListNotificationSubscriptionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListNotificationSubscriptionsResponse.Builder clone()
Overrides
public ListNotificationSubscriptionsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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
|
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
|
public List<NotificationSubscription.Builder> getNotificationSubscriptionsBuilderList()
The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
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 |
|
public List<NotificationSubscription> getNotificationSubscriptionsList()
The list of notification subscriptions requested by the merchant.
repeated .google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscriptions = 1;
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
|
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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ListNotificationSubscriptionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListNotificationSubscriptionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ListNotificationSubscriptionsResponse.Builder mergeFrom(ListNotificationSubscriptionsResponse other)
public final ListNotificationSubscriptionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public ListNotificationSubscriptionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The nextPageToken to set.
|
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 |
ByteString
The bytes for nextPageToken to set.
|
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;
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;
public ListNotificationSubscriptionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListNotificationSubscriptionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides