public final class AuditUserLink extends GeneratedMessageV3 implements AuditUserLinkOrBuilder
Read-only resource used to summarize a principal's effective roles.
Protobuf type google.analytics.admin.v1alpha.AuditUserLink
Static Fields
DIRECT_ROLES_FIELD_NUMBER
public static final int DIRECT_ROLES_FIELD_NUMBER
Field Value
EFFECTIVE_ROLES_FIELD_NUMBER
public static final int EFFECTIVE_ROLES_FIELD_NUMBER
Field Value
EMAIL_ADDRESS_FIELD_NUMBER
public static final int EMAIL_ADDRESS_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AuditUserLink getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AuditUserLink.Builder newBuilder()
Returns
newBuilder(AuditUserLink prototype)
public static AuditUserLink.Builder newBuilder(AuditUserLink prototype)
Parameter
Returns
public static AuditUserLink parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AuditUserLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AuditUserLink parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AuditUserLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AuditUserLink parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuditUserLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AuditUserLink parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AuditUserLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AuditUserLink parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AuditUserLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AuditUserLink parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AuditUserLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AuditUserLink> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AuditUserLink getDefaultInstanceForType()
Returns
getDirectRoles(int index)
public String getDirectRoles(int index)
Roles directly assigned to this user for this entity.
Format: predefinedRoles/viewer
Excludes roles that are inherited from an account (if this is for a
property), group, or organization admin role.
repeated string direct_roles = 3;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The directRoles at the given index.
|
getDirectRolesBytes(int index)
public ByteString getDirectRolesBytes(int index)
Roles directly assigned to this user for this entity.
Format: predefinedRoles/viewer
Excludes roles that are inherited from an account (if this is for a
property), group, or organization admin role.
repeated string direct_roles = 3;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the directRoles at the given index.
|
getDirectRolesCount()
public int getDirectRolesCount()
Roles directly assigned to this user for this entity.
Format: predefinedRoles/viewer
Excludes roles that are inherited from an account (if this is for a
property), group, or organization admin role.
repeated string direct_roles = 3;
Returns
Type | Description |
int | The count of directRoles.
|
getDirectRolesList()
public ProtocolStringList getDirectRolesList()
Roles directly assigned to this user for this entity.
Format: predefinedRoles/viewer
Excludes roles that are inherited from an account (if this is for a
property), group, or organization admin role.
repeated string direct_roles = 3;
Returns
getEffectiveRoles(int index)
public String getEffectiveRoles(int index)
Union of all permissions a user has at this account or property (includes
direct permissions, group-inherited permissions, etc.).
Format: predefinedRoles/viewer
repeated string effective_roles = 4;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The effectiveRoles at the given index.
|
getEffectiveRolesBytes(int index)
public ByteString getEffectiveRolesBytes(int index)
Union of all permissions a user has at this account or property (includes
direct permissions, group-inherited permissions, etc.).
Format: predefinedRoles/viewer
repeated string effective_roles = 4;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the effectiveRoles at the given index.
|
getEffectiveRolesCount()
public int getEffectiveRolesCount()
Union of all permissions a user has at this account or property (includes
direct permissions, group-inherited permissions, etc.).
Format: predefinedRoles/viewer
repeated string effective_roles = 4;
Returns
Type | Description |
int | The count of effectiveRoles.
|
getEffectiveRolesList()
public ProtocolStringList getEffectiveRolesList()
Union of all permissions a user has at this account or property (includes
direct permissions, group-inherited permissions, etc.).
Format: predefinedRoles/viewer
repeated string effective_roles = 4;
Returns
getEmailAddress()
public String getEmailAddress()
Email address of the linked user
string email_address = 2;
Returns
Type | Description |
String | The emailAddress.
|
getEmailAddressBytes()
public ByteString getEmailAddressBytes()
Email address of the linked user
string email_address = 2;
Returns
Type | Description |
ByteString | The bytes for emailAddress.
|
getName()
Example format: properties/1234/userLinks/5678
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Example format: properties/1234/userLinks/5678
string name = 1;
Returns
getParserForType()
public Parser<AuditUserLink> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AuditUserLink.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AuditUserLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AuditUserLink.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions