Class UpdateUserGroupRequest.Builder (0.48.0)

public static final class UpdateUserGroupRequest.Builder extends GeneratedMessage.Builder<UpdateUserGroupRequest.Builder> implements UpdateUserGroupRequestOrBuilder

Request message for UpdateUserGroup RPC.

Protobuf type google.marketingplatform.admin.v1alpha.UpdateUserGroupRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public UpdateUserGroupRequest build()
Returns
Type Description
UpdateUserGroupRequest

buildPartial()

public UpdateUserGroupRequest buildPartial()
Returns
Type Description
UpdateUserGroupRequest

clear()

public UpdateUserGroupRequest.Builder clear()
Returns
Type Description
UpdateUserGroupRequest.Builder
Overrides

clearUpdateMask()

public UpdateUserGroupRequest.Builder clearUpdateMask()

Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateUserGroupRequest.Builder

clearUserGroup()

public UpdateUserGroupRequest.Builder clearUserGroup()

Required. The user group to update.

.google.marketingplatform.admin.v1alpha.UserGroup user_group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateUserGroupRequest.Builder

getDefaultInstanceForType()

public UpdateUserGroupRequest getDefaultInstanceForType()
Returns
Type Description
UpdateUserGroupRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

getUserGroup()

public UserGroup getUserGroup()

Required. The user group to update.

.google.marketingplatform.admin.v1alpha.UserGroup user_group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserGroup

The userGroup.

getUserGroupBuilder()

public UserGroup.Builder getUserGroupBuilder()

Required. The user group to update.

.google.marketingplatform.admin.v1alpha.UserGroup user_group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserGroup.Builder

getUserGroupOrBuilder()

public UserGroupOrBuilder getUserGroupOrBuilder()

Required. The user group to update.

.google.marketingplatform.admin.v1alpha.UserGroup user_group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserGroupOrBuilder

hasUpdateMask()

public boolean hasUpdateMask()

Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

hasUserGroup()

public boolean hasUserGroup()

Required. The user group to update.

.google.marketingplatform.admin.v1alpha.UserGroup user_group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the userGroup field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateUserGroupRequest other)

public UpdateUserGroupRequest.Builder mergeFrom(UpdateUserGroupRequest other)
Parameter
Name Description
other UpdateUserGroupRequest
Returns
Type Description
UpdateUserGroupRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateUserGroupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateUserGroupRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateUserGroupRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateUserGroupRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateUserGroupRequest.Builder mergeUpdateMask(FieldMask value)

Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateUserGroupRequest.Builder

mergeUserGroup(UserGroup value)

public UpdateUserGroupRequest.Builder mergeUserGroup(UserGroup value)

Required. The user group to update.

.google.marketingplatform.admin.v1alpha.UserGroup user_group = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UserGroup
Returns
Type Description
UpdateUserGroupRequest.Builder

setUpdateMask(FieldMask value)

public UpdateUserGroupRequest.Builder setUpdateMask(FieldMask value)

Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateUserGroupRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateUserGroupRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The list of fields to update. Field names must be in snake case (for example, "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateUserGroupRequest.Builder

setUserGroup(UserGroup value)

public UpdateUserGroupRequest.Builder setUserGroup(UserGroup value)

Required. The user group to update.

.google.marketingplatform.admin.v1alpha.UserGroup user_group = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UserGroup
Returns
Type Description
UpdateUserGroupRequest.Builder

setUserGroup(UserGroup.Builder builderForValue)

public UpdateUserGroupRequest.Builder setUserGroup(UserGroup.Builder builderForValue)

Required. The user group to update.

.google.marketingplatform.admin.v1alpha.UserGroup user_group = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue UserGroup.Builder
Returns
Type Description
UpdateUserGroupRequest.Builder