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
|