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
|