public static final class CreateAndConfigureAccountRequest.AddUser.Builder extends GeneratedMessageV3.Builder<CreateAndConfigureAccountRequest.AddUser.Builder> implements CreateAndConfigureAccountRequest.AddUserOrBuilder
Instruction for adding a user to the account during creation.
Protobuf type
google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser
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 CreateAndConfigureAccountRequest.AddUser.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateAndConfigureAccountRequest.AddUser build()
public CreateAndConfigureAccountRequest.AddUser buildPartial()
public CreateAndConfigureAccountRequest.AddUser.Builder clear()
Overrides
public CreateAndConfigureAccountRequest.AddUser.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateAndConfigureAccountRequest.AddUser.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public CreateAndConfigureAccountRequest.AddUser.Builder clearUser()
Optional. Details about the user to be added. At the moment, only access
rights may be specified.
.google.shopping.merchant.accounts.v1.User user = 2 [(.google.api.field_behavior) = OPTIONAL];
public CreateAndConfigureAccountRequest.AddUser.Builder clearUserId()
Required. The email address of the user (for example,
john.doe@gmail.com).
string user_id = 1 [(.google.api.field_behavior) = REQUIRED];
public CreateAndConfigureAccountRequest.AddUser.Builder clearVerificationMailSettings()
Optional. Settings related to configuring the verification email that is
sent after adding a user.
.google.shopping.merchant.accounts.v1.VerificationMailSettings verification_mail_settings = 3 [(.google.api.field_behavior) = OPTIONAL];
public CreateAndConfigureAccountRequest.AddUser.Builder clone()
Overrides
public CreateAndConfigureAccountRequest.AddUser getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
Optional. Details about the user to be added. At the moment, only access
rights may be specified.
.google.shopping.merchant.accounts.v1.User user = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
User |
The user.
|
public User.Builder getUserBuilder()
Optional. Details about the user to be added. At the moment, only access
rights may be specified.
.google.shopping.merchant.accounts.v1.User user = 2 [(.google.api.field_behavior) = OPTIONAL];
public String getUserId()
Required. The email address of the user (for example,
john.doe@gmail.com).
string user_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The userId.
|
public ByteString getUserIdBytes()
Required. The email address of the user (for example,
john.doe@gmail.com).
string user_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for userId.
|
public UserOrBuilder getUserOrBuilder()
Optional. Details about the user to be added. At the moment, only access
rights may be specified.
.google.shopping.merchant.accounts.v1.User user = 2 [(.google.api.field_behavior) = OPTIONAL];
public VerificationMailSettings getVerificationMailSettings()
Optional. Settings related to configuring the verification email that is
sent after adding a user.
.google.shopping.merchant.accounts.v1.VerificationMailSettings verification_mail_settings = 3 [(.google.api.field_behavior) = OPTIONAL];
public VerificationMailSettings.Builder getVerificationMailSettingsBuilder()
Optional. Settings related to configuring the verification email that is
sent after adding a user.
.google.shopping.merchant.accounts.v1.VerificationMailSettings verification_mail_settings = 3 [(.google.api.field_behavior) = OPTIONAL];
public VerificationMailSettingsOrBuilder getVerificationMailSettingsOrBuilder()
Optional. Settings related to configuring the verification email that is
sent after adding a user.
.google.shopping.merchant.accounts.v1.VerificationMailSettings verification_mail_settings = 3 [(.google.api.field_behavior) = OPTIONAL];
Optional. Details about the user to be added. At the moment, only access
rights may be specified.
.google.shopping.merchant.accounts.v1.User user = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the user field is set.
|
public boolean hasVerificationMailSettings()
Optional. Settings related to configuring the verification email that is
sent after adding a user.
.google.shopping.merchant.accounts.v1.VerificationMailSettings verification_mail_settings = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the verificationMailSettings field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateAndConfigureAccountRequest.AddUser.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateAndConfigureAccountRequest.AddUser.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public CreateAndConfigureAccountRequest.AddUser.Builder mergeFrom(CreateAndConfigureAccountRequest.AddUser other)
public final CreateAndConfigureAccountRequest.AddUser.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateAndConfigureAccountRequest.AddUser.Builder mergeUser(User value)
Optional. Details about the user to be added. At the moment, only access
rights may be specified.
.google.shopping.merchant.accounts.v1.User user = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
User
|
public CreateAndConfigureAccountRequest.AddUser.Builder mergeVerificationMailSettings(VerificationMailSettings value)
Optional. Settings related to configuring the verification email that is
sent after adding a user.
.google.shopping.merchant.accounts.v1.VerificationMailSettings verification_mail_settings = 3 [(.google.api.field_behavior) = OPTIONAL];
public CreateAndConfigureAccountRequest.AddUser.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateAndConfigureAccountRequest.AddUser.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CreateAndConfigureAccountRequest.AddUser.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateAndConfigureAccountRequest.AddUser.Builder setUser(User value)
Optional. Details about the user to be added. At the moment, only access
rights may be specified.
.google.shopping.merchant.accounts.v1.User user = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
User
|
public CreateAndConfigureAccountRequest.AddUser.Builder setUser(User.Builder builderForValue)
Optional. Details about the user to be added. At the moment, only access
rights may be specified.
.google.shopping.merchant.accounts.v1.User user = 2 [(.google.api.field_behavior) = OPTIONAL];
public CreateAndConfigureAccountRequest.AddUser.Builder setUserId(String value)
Required. The email address of the user (for example,
john.doe@gmail.com).
string user_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
String
The userId to set.
|
public CreateAndConfigureAccountRequest.AddUser.Builder setUserIdBytes(ByteString value)
Required. The email address of the user (for example,
john.doe@gmail.com).
string user_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for userId to set.
|
public CreateAndConfigureAccountRequest.AddUser.Builder setVerificationMailSettings(VerificationMailSettings value)
Optional. Settings related to configuring the verification email that is
sent after adding a user.
.google.shopping.merchant.accounts.v1.VerificationMailSettings verification_mail_settings = 3 [(.google.api.field_behavior) = OPTIONAL];
public CreateAndConfigureAccountRequest.AddUser.Builder setVerificationMailSettings(VerificationMailSettings.Builder builderForValue)
Optional. Settings related to configuring the verification email that is
sent after adding a user.
.google.shopping.merchant.accounts.v1.VerificationMailSettings verification_mail_settings = 3 [(.google.api.field_behavior) = OPTIONAL];