Class UpdateNotificationSubscriptionRequest.Builder (0.17.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

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

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
Overrides

build()

public UpdateNotificationSubscriptionRequest build()
Returns
Type Description
UpdateNotificationSubscriptionRequest

buildPartial()

public UpdateNotificationSubscriptionRequest buildPartial()
Returns
Type Description
UpdateNotificationSubscriptionRequest

clear()

public UpdateNotificationSubscriptionRequest.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateNotificationSubscriptionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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];

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateNotificationSubscriptionRequest.Builder clearUpdateMask()

List of fields being updated.

.google.protobuf.FieldMask update_mask = 2;

clone()

public UpdateNotificationSubscriptionRequest.Builder clone()
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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(UpdateNotificationSubscriptionRequest other)

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNotificationSubscriptionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateNotificationSubscriptionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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

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

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateNotificationSubscriptionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

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