Class CreateAndConfigureAccountRequest.AddUser.Builder (1.0.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
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 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];
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.
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 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.
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-08-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[]]