Send feedback
Class UpdateEmailPreferencesRequest.Builder (0.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.4.0 keyboard_arrow_down
public static final class UpdateEmailPreferencesRequest . Builder extends GeneratedMessageV3 . Builder<UpdateEmailPreferencesRequest . Builder > implements UpdateEmailPreferencesRequestOrBuilder
Request message for UpdateEmailPreferences method.
Protobuf type google.shopping.merchant.accounts.v1beta.UpdateEmailPreferencesRequest
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 UpdateEmailPreferencesRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public UpdateEmailPreferencesRequest build ()
public UpdateEmailPreferencesRequest buildPartial ()
public UpdateEmailPreferencesRequest . Builder clear ()
Overrides
public UpdateEmailPreferencesRequest . Builder clearEmailPreferences ()
Required. Email Preferences to be updated.
.google.shopping.merchant.accounts.v1beta.EmailPreferences email_preferences = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateEmailPreferencesRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public UpdateEmailPreferencesRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public UpdateEmailPreferencesRequest . Builder clearUpdateMask ()
Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateEmailPreferencesRequest . Builder clone ()
Overrides
public UpdateEmailPreferencesRequest getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public EmailPreferences getEmailPreferences ()
Required. Email Preferences to be updated.
.google.shopping.merchant.accounts.v1beta.EmailPreferences email_preferences = 1 [(.google.api.field_behavior) = REQUIRED];
public EmailPreferences . Builder getEmailPreferencesBuilder ()
Required. Email Preferences to be updated.
.google.shopping.merchant.accounts.v1beta.EmailPreferences email_preferences = 1 [(.google.api.field_behavior) = REQUIRED];
public EmailPreferencesOrBuilder getEmailPreferencesOrBuilder ()
Required. Email Preferences to be updated.
.google.shopping.merchant.accounts.v1beta.EmailPreferences email_preferences = 1 [(.google.api.field_behavior) = REQUIRED];
public FieldMask getUpdateMask ()
Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
FieldMask
The updateMask.
public FieldMask . Builder getUpdateMaskBuilder ()
Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
public boolean hasEmailPreferences ()
Required. Email Preferences to be updated.
.google.shopping.merchant.accounts.v1beta.EmailPreferences email_preferences = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the emailPreferences field is set.
public boolean hasUpdateMask ()
Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the updateMask field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public UpdateEmailPreferencesRequest . Builder mergeEmailPreferences ( EmailPreferences value )
Required. Email Preferences to be updated.
.google.shopping.merchant.accounts.v1beta.EmailPreferences email_preferences = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateEmailPreferencesRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public UpdateEmailPreferencesRequest . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public UpdateEmailPreferencesRequest . Builder mergeFrom ( UpdateEmailPreferencesRequest other )
public final UpdateEmailPreferencesRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public UpdateEmailPreferencesRequest . Builder mergeUpdateMask ( FieldMask value )
Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateEmailPreferencesRequest . Builder setEmailPreferences ( EmailPreferences value )
Required. Email Preferences to be updated.
.google.shopping.merchant.accounts.v1beta.EmailPreferences email_preferences = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateEmailPreferencesRequest . Builder setEmailPreferences ( EmailPreferences . Builder builderForValue )
Required. Email Preferences to be updated.
.google.shopping.merchant.accounts.v1beta.EmailPreferences email_preferences = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateEmailPreferencesRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public UpdateEmailPreferencesRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final UpdateEmailPreferencesRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public UpdateEmailPreferencesRequest . Builder setUpdateMask ( FieldMask value )
Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateEmailPreferencesRequest . Builder setUpdateMask ( FieldMask . Builder builderForValue )
Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
builderForValue
Builder
Send feedback
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-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]