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 |
---|
Type | Description |
int | |
EFFECTIVE_ROLES_FIELD_NUMBER
public static final int EFFECTIVE_ROLES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
EMAIL_ADDRESS_FIELD_NUMBER
public static final int EMAIL_ADDRESS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AuditUserLink getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AuditUserLink.Builder newBuilder()
newBuilder(AuditUserLink prototype)
public static AuditUserLink.Builder newBuilder(AuditUserLink prototype)
public static AuditUserLink parseDelimitedFrom(InputStream input)
public static AuditUserLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AuditUserLink parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AuditUserLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AuditUserLink parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuditUserLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AuditUserLink parseFrom(CodedInputStream input)
public static AuditUserLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AuditUserLink parseFrom(InputStream input)
public static AuditUserLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AuditUserLink parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AuditUserLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AuditUserLink> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public AuditUserLink getDefaultInstanceForType()
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;
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;
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<AuditUserLink> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AuditUserLink.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AuditUserLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AuditUserLink.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides