public static final class UpdateUserRequest.Builder extends GeneratedMessageV3.Builder<UpdateUserRequest.Builder> implements UpdateUserRequestOrBuilder
Request message for the UpdateUser
method.
Protobuf type google.shopping.merchant.accounts.v1beta.UpdateUserRequest
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 UpdateUserRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateUserRequest build()
public UpdateUserRequest buildPartial()
public UpdateUserRequest.Builder clear()
Overrides
public UpdateUserRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpdateUserRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public UpdateUserRequest.Builder clearUpdateMask()
Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateUserRequest.Builder clearUser()
Required. The new version of the user.
Use me
to refer to your own email address, for example
accounts/{account}/users/me
.
.google.shopping.merchant.accounts.v1beta.User user = 1 [(.google.api.field_behavior) = REQUIRED];
public UpdateUserRequest.Builder clone()
Overrides
public UpdateUserRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
Required. The new version of the user.
Use me
to refer to your own email address, for example
accounts/{account}/users/me
.
.google.shopping.merchant.accounts.v1beta.User user = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
User |
The user.
|
public User.Builder getUserBuilder()
Required. The new version of the user.
Use me
to refer to your own email address, for example
accounts/{account}/users/me
.
.google.shopping.merchant.accounts.v1beta.User user = 1 [(.google.api.field_behavior) = REQUIRED];
public UserOrBuilder getUserOrBuilder()
Required. The new version of the user.
Use me
to refer to your own email address, for example
accounts/{account}/users/me
.
.google.shopping.merchant.accounts.v1beta.User user = 1 [(.google.api.field_behavior) = REQUIRED];
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.
|
Required. The new version of the user.
Use me
to refer to your own email address, for example
accounts/{account}/users/me
.
.google.shopping.merchant.accounts.v1beta.User user = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the user field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UpdateUserRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdateUserRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public UpdateUserRequest.Builder mergeFrom(UpdateUserRequest other)
public final UpdateUserRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public UpdateUserRequest.Builder mergeUpdateMask(FieldMask value)
Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateUserRequest.Builder mergeUser(User value)
Required. The new version of the user.
Use me
to refer to your own email address, for example
accounts/{account}/users/me
.
.google.shopping.merchant.accounts.v1beta.User user = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
User
|
public UpdateUserRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateUserRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpdateUserRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public UpdateUserRequest.Builder setUpdateMask(FieldMask value)
Required. List of fields being updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
public UpdateUserRequest.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
|
public UpdateUserRequest.Builder setUser(User value)
Required. The new version of the user.
Use me
to refer to your own email address, for example
accounts/{account}/users/me
.
.google.shopping.merchant.accounts.v1beta.User user = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
User
|
public UpdateUserRequest.Builder setUser(User.Builder builderForValue)
Required. The new version of the user.
Use me
to refer to your own email address, for example
accounts/{account}/users/me
.
.google.shopping.merchant.accounts.v1beta.User user = 1 [(.google.api.field_behavior) = REQUIRED];