Class UpdateNotificationSubscriptionRequest.Builder (0.5.0)

public static final class UpdateNotificationSubscriptionRequest.Builder extends GeneratedMessageV3.Builder<UpdateNotificationSubscriptionRequest.Builder> implements UpdateNotificationSubscriptionRequestOrBuilder

Request message for the UpdateNotificationSubscription method.

Protobuf type google.shopping.merchant.notifications.v1beta.UpdateNotificationSubscriptionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateNotificationSubscriptionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder
Overrides

build()

public UpdateNotificationSubscriptionRequest build()
Returns
Type Description
UpdateNotificationSubscriptionRequest

buildPartial()

public UpdateNotificationSubscriptionRequest buildPartial()
Returns
Type Description
UpdateNotificationSubscriptionRequest

clear()

public UpdateNotificationSubscriptionRequest.Builder clear()
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateNotificationSubscriptionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder
Overrides

clearNotificationSubscription()

public UpdateNotificationSubscriptionRequest.Builder clearNotificationSubscription()

Required. The new version of the notification subscription that should be updated.

.google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscription = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateNotificationSubscriptionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder
Overrides

clearUpdateMask()

public UpdateNotificationSubscriptionRequest.Builder clearUpdateMask()

List of fields being updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder

clone()

public UpdateNotificationSubscriptionRequest.Builder clone()
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateNotificationSubscriptionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateNotificationSubscriptionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNotificationSubscription()

public NotificationSubscription getNotificationSubscription()

Required. The new version of the notification subscription that should be updated.

.google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscription = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotificationSubscription

The notificationSubscription.

getNotificationSubscriptionBuilder()

public NotificationSubscription.Builder getNotificationSubscriptionBuilder()

Required. The new version of the notification subscription that should be updated.

.google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscription = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotificationSubscription.Builder

getNotificationSubscriptionOrBuilder()

public NotificationSubscriptionOrBuilder getNotificationSubscriptionOrBuilder()

Required. The new version of the notification subscription that should be updated.

.google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscription = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NotificationSubscriptionOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

List of fields being updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

List of fields being updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

List of fields being updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasNotificationSubscription()

public boolean hasNotificationSubscription()

Required. The new version of the notification subscription that should be updated.

.google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscription = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the notificationSubscription field is set.

hasUpdateMask()

public boolean hasUpdateMask()

List of fields being updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateNotificationSubscriptionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateNotificationSubscriptionRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder
Overrides

mergeFrom(UpdateNotificationSubscriptionRequest other)

public UpdateNotificationSubscriptionRequest.Builder mergeFrom(UpdateNotificationSubscriptionRequest other)
Parameter
Name Description
other UpdateNotificationSubscriptionRequest
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder

mergeNotificationSubscription(NotificationSubscription value)

public UpdateNotificationSubscriptionRequest.Builder mergeNotificationSubscription(NotificationSubscription value)

Required. The new version of the notification subscription that should be updated.

.google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscription = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NotificationSubscription
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNotificationSubscriptionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateNotificationSubscriptionRequest.Builder mergeUpdateMask(FieldMask value)

List of fields being updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateNotificationSubscriptionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder
Overrides

setNotificationSubscription(NotificationSubscription value)

public UpdateNotificationSubscriptionRequest.Builder setNotificationSubscription(NotificationSubscription value)

Required. The new version of the notification subscription that should be updated.

.google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscription = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NotificationSubscription
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder

setNotificationSubscription(NotificationSubscription.Builder builderForValue)

public UpdateNotificationSubscriptionRequest.Builder setNotificationSubscription(NotificationSubscription.Builder builderForValue)

Required. The new version of the notification subscription that should be updated.

.google.shopping.merchant.notifications.v1beta.NotificationSubscription notification_subscription = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue NotificationSubscription.Builder
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateNotificationSubscriptionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNotificationSubscriptionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateNotificationSubscriptionRequest.Builder setUpdateMask(FieldMask value)

List of fields being updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateNotificationSubscriptionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

List of fields being updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateNotificationSubscriptionRequest.Builder