Class UpdateNotificationSubscriptionRequest.Builder (0.3.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 0.3.0keyboard_arrow_down
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
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 UpdateNotificationSubscriptionRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public UpdateNotificationSubscriptionRequest build ()
public UpdateNotificationSubscriptionRequest buildPartial ()
public UpdateNotificationSubscriptionRequest . Builder clear ()
Overrides
public UpdateNotificationSubscriptionRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
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];
public UpdateNotificationSubscriptionRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public UpdateNotificationSubscriptionRequest . Builder clearUpdateMask ()
List of fields being updated.
.google.protobuf.FieldMask update_mask = 2;
public UpdateNotificationSubscriptionRequest . Builder clone ()
Overrides
public UpdateNotificationSubscriptionRequest getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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];
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];
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];
public FieldMask getUpdateMask ()
List of fields being updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
Type
Description
FieldMask
The updateMask.
public FieldMask . Builder getUpdateMaskBuilder ()
List of fields being updated.
.google.protobuf.FieldMask update_mask = 2;
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
List of fields being updated.
.google.protobuf.FieldMask update_mask = 2;
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.
public boolean hasUpdateMask ()
List of fields being updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
Type
Description
boolean
Whether the updateMask field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public UpdateNotificationSubscriptionRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public UpdateNotificationSubscriptionRequest . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public UpdateNotificationSubscriptionRequest . Builder mergeFrom ( UpdateNotificationSubscriptionRequest other )
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];
public final UpdateNotificationSubscriptionRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public UpdateNotificationSubscriptionRequest . Builder mergeUpdateMask ( FieldMask value )
List of fields being updated.
.google.protobuf.FieldMask update_mask = 2;
public UpdateNotificationSubscriptionRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
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];
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];
public UpdateNotificationSubscriptionRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final UpdateNotificationSubscriptionRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public UpdateNotificationSubscriptionRequest . Builder setUpdateMask ( FieldMask value )
List of fields being updated.
.google.protobuf.FieldMask update_mask = 2;
public UpdateNotificationSubscriptionRequest . Builder setUpdateMask ( FieldMask . Builder builderForValue )
List of fields being updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Name
Description
builderForValue
Builder
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]