Class UserGroupMember (0.48.0)

public final class UserGroupMember extends GeneratedMessage implements UserGroupMemberOrBuilder

A resource message representing a member of a user group.

Protobuf type google.marketingplatform.admin.v1alpha.UserGroupMember

Static Fields

MEMBERSHIP_ROLE_FIELD_NUMBER

public static final int MEMBERSHIP_ROLE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

USER_EMAIL_FIELD_NUMBER

public static final int USER_EMAIL_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 UserGroupMember getDefaultInstance()
Returns
Type Description
UserGroupMember

getDescriptor()

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

newBuilder()

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

newBuilder(UserGroupMember prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UserGroupMember getDefaultInstanceForType()
Returns
Type Description
UserGroupMember

getMemberCase()

public UserGroupMember.MemberCase getMemberCase()
Returns
Type Description
UserGroupMember.MemberCase

getMembershipRole()

public UserGroupMember.MembershipRole getMembershipRole()

Optional. The role of the member in the user group.

.google.marketingplatform.admin.v1alpha.UserGroupMember.MembershipRole membership_role = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UserGroupMember.MembershipRole

The membershipRole.

getMembershipRoleValue()

public int getMembershipRoleValue()

Optional. The role of the member in the user group.

.google.marketingplatform.admin.v1alpha.UserGroupMember.MembershipRole membership_role = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for membershipRole.

getName()

public String getName()

Identifier. The resource name of this UserGroupMember.

Format: organizations/{org_id}/userGroups/{user_group_id}/members/{member_id} Example: "organizations/123abc/userGroups/456def/members/789ghi"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of this UserGroupMember.

Format: organizations/{org_id}/userGroups/{user_group_id}/members/{member_id} Example: "organizations/123abc/userGroups/456def/members/789ghi"

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUserEmail()

public String getUserEmail()

Email address of the user member.

string user_email = 2;

Returns
Type Description
String

The userEmail.

getUserEmailBytes()

public ByteString getUserEmailBytes()

Email address of the user member.

string user_email = 2;

Returns
Type Description
ByteString

The bytes for userEmail.

getUserGroup()

public String getUserGroup()

User group resource name of the group member.

string user_group = 3;

Returns
Type Description
String

The userGroup.

getUserGroupBytes()

public ByteString getUserGroupBytes()

User group resource name of the group member.

string user_group = 3;

Returns
Type Description
ByteString

The bytes for userGroup.

hasUserEmail()

public boolean hasUserEmail()

Email address of the user member.

string user_email = 2;

Returns
Type Description
boolean

Whether the userEmail field is set.

hasUserGroup()

public boolean hasUserGroup()

User group resource name of the group member.

string user_group = 3;

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 UserGroupMember.Builder newBuilderForType()
Returns
Type Description
UserGroupMember.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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