Class UpdateUserGroupRequest (0.48.0)

public final class UpdateUserGroupRequest extends GeneratedMessage implements UpdateUserGroupRequestOrBuilder

Request message for UpdateUserGroup RPC.

Protobuf type google.marketingplatform.admin.v1alpha.UpdateUserGroupRequest

Static Fields

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

USER_GROUP_FIELD_NUMBER

public static final int USER_GROUP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateUserGroupRequest getDefaultInstance()
Returns
Type Description
UpdateUserGroupRequest

getDescriptor()

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

newBuilder()

public static UpdateUserGroupRequest.Builder newBuilder()
Returns
Type Description
UpdateUserGroupRequest.Builder

newBuilder(UpdateUserGroupRequest prototype)

public static UpdateUserGroupRequest.Builder newBuilder(UpdateUserGroupRequest prototype)
Parameter
Name Description
prototype UpdateUserGroupRequest
Returns
Type Description
UpdateUserGroupRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateUserGroupRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateUserGroupRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateUserGroupRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateUserGroupRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateUserGroupRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateUserGroupRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateUserGroupRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateUserGroupRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateUserGroupRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateUserGroupRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateUserGroupRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateUserGroupRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateUserGroupRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateUserGroupRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateUserGroupRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateUserGroupRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateUserGroupRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateUserGroupRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateUserGroupRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateUserGroupRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateUserGroupRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateUserGroupRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateUserGroupRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateUserGroupRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateUserGroupRequest> parser()
Returns
Type Description
Parser<UpdateUserGroupRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateUserGroupRequest getDefaultInstanceForType()
Returns
Type Description
UpdateUserGroupRequest

getParserForType()

public Parser<UpdateUserGroupRequest> getParserForType()
Returns
Type Description
Parser<UpdateUserGroupRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateUserGroupRequest.Builder newBuilderForType()
Returns
Type Description
UpdateUserGroupRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected UpdateUserGroupRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateUserGroupRequest.Builder
Overrides

toBuilder()

public UpdateUserGroupRequest.Builder toBuilder()
Returns
Type Description
UpdateUserGroupRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException