public static final class CreateAndConfigureAccountRequest.AddUser.Builder extends GeneratedMessage.Builder<CreateAndConfigureAccountRequest.AddUser.Builder> implements CreateAndConfigureAccountRequest.AddUserOrBuilderInstruction for adding a user to the account during creation.
Protobuf type
google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateAndConfigureAccountRequest.AddUser.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateAndConfigureAccountRequest.AddUser build()| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser |
|
buildPartial()
public CreateAndConfigureAccountRequest.AddUser buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser |
|
clear()
public CreateAndConfigureAccountRequest.AddUser.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
|
clearUser()
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];
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
|
clearUserId()
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];
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
This builder for chaining. |
clearVerificationMailSettings()
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];
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
|
getDefaultInstanceForType()
public CreateAndConfigureAccountRequest.AddUser getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUser()
public User getUser()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. |
getUserBuilder()
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];
| Returns | |
|---|---|
| Type | Description |
User.Builder |
|
getUserId()
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. |
getUserIdBytes()
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. |
getUserOrBuilder()
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];
| Returns | |
|---|---|
| Type | Description |
UserOrBuilder |
|
getVerificationMailSettings()
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];
| Returns | |
|---|---|
| Type | Description |
VerificationMailSettings |
The verificationMailSettings. |
getVerificationMailSettingsBuilder()
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];
| Returns | |
|---|---|
| Type | Description |
VerificationMailSettings.Builder |
|
getVerificationMailSettingsOrBuilder()
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];
| Returns | |
|---|---|
| Type | Description |
VerificationMailSettingsOrBuilder |
|
hasUser()
public boolean hasUser()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. |
hasVerificationMailSettings()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateAndConfigureAccountRequest.AddUser.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateAndConfigureAccountRequest.AddUser.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
|
mergeFrom(CreateAndConfigureAccountRequest.AddUser other)
public CreateAndConfigureAccountRequest.AddUser.Builder mergeFrom(CreateAndConfigureAccountRequest.AddUser other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateAndConfigureAccountRequest.AddUser |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
|
mergeUser(User value)
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 |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
|
mergeVerificationMailSettings(VerificationMailSettings value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
VerificationMailSettings |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
|
setUser(User value)
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 |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
|
setUser(User.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
User.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
|
setUserId(String value)
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 |
StringThe userId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
This builder for chaining. |
setUserIdBytes(ByteString value)
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 |
ByteStringThe bytes for userId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
This builder for chaining. |
setVerificationMailSettings(VerificationMailSettings value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
VerificationMailSettings |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
|
setVerificationMailSettings(VerificationMailSettings.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
VerificationMailSettings.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
|