- 0.64.0 (latest)
- 0.63.0
- 0.62.0
- 0.61.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
public static final class AuditUserLink.Builder extends GeneratedMessageV3.Builder<AuditUserLink.Builder> implements AuditUserLinkOrBuilder
Read-only resource used to summarize a principal's effective roles.
Protobuf type google.analytics.admin.v1alpha.AuditUserLink
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AuditUserLink.BuilderImplements
AuditUserLinkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllDirectRoles(Iterable<String> values)
public AuditUserLink.Builder addAllDirectRoles(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The directRoles to add. |
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
addAllEffectiveRoles(Iterable<String> values)
public AuditUserLink.Builder addAllEffectiveRoles(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The effectiveRoles to add. |
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
addDirectRoles(String value)
public AuditUserLink.Builder addDirectRoles(String value)
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;
Name | Description |
value | String The directRoles to add. |
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
addDirectRolesBytes(ByteString value)
public AuditUserLink.Builder addDirectRolesBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes of the directRoles to add. |
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
addEffectiveRoles(String value)
public AuditUserLink.Builder addEffectiveRoles(String value)
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;
Name | Description |
value | String The effectiveRoles to add. |
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
addEffectiveRolesBytes(ByteString value)
public AuditUserLink.Builder addEffectiveRolesBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes of the effectiveRoles to add. |
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AuditUserLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AuditUserLink.Builder |
build()
public AuditUserLink build()
Type | Description |
AuditUserLink |
buildPartial()
public AuditUserLink buildPartial()
Type | Description |
AuditUserLink |
clear()
public AuditUserLink.Builder clear()
Type | Description |
AuditUserLink.Builder |
clearDirectRoles()
public AuditUserLink.Builder clearDirectRoles()
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;
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
clearEffectiveRoles()
public AuditUserLink.Builder clearEffectiveRoles()
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;
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
clearEmailAddress()
public AuditUserLink.Builder clearEmailAddress()
Email address of the linked user
string email_address = 2;
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AuditUserLink.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AuditUserLink.Builder |
clearName()
public AuditUserLink.Builder clearName()
Example format: properties/1234/userLinks/5678
string name = 1;
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AuditUserLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AuditUserLink.Builder |
clone()
public AuditUserLink.Builder clone()
Type | Description |
AuditUserLink.Builder |
getDefaultInstanceForType()
public AuditUserLink getDefaultInstanceForType()
Type | Description |
AuditUserLink |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
Type | Description |
ProtocolStringList | A list containing the directRoles. |
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
Type | Description |
ProtocolStringList | A list containing the effectiveRoles. |
getEmailAddress()
public String getEmailAddress()
Email address of the linked user
string email_address = 2;
Type | Description |
String | The emailAddress. |
getEmailAddressBytes()
public ByteString getEmailAddressBytes()
Email address of the linked user
string email_address = 2;
Type | Description |
ByteString | The bytes for emailAddress. |
getName()
public String getName()
Example format: properties/1234/userLinks/5678
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Example format: properties/1234/userLinks/5678
string name = 1;
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AuditUserLink other)
public AuditUserLink.Builder mergeFrom(AuditUserLink other)
Name | Description |
other | AuditUserLink |
Type | Description |
AuditUserLink.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AuditUserLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AuditUserLink.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AuditUserLink.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AuditUserLink.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AuditUserLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AuditUserLink.Builder |
setDirectRoles(int index, String value)
public AuditUserLink.Builder setDirectRoles(int index, String value)
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;
Name | Description |
index | int The index to set the value at. |
value | String The directRoles to set. |
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
setEffectiveRoles(int index, String value)
public AuditUserLink.Builder setEffectiveRoles(int index, String value)
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;
Name | Description |
index | int The index to set the value at. |
value | String The effectiveRoles to set. |
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
setEmailAddress(String value)
public AuditUserLink.Builder setEmailAddress(String value)
Email address of the linked user
string email_address = 2;
Name | Description |
value | String The emailAddress to set. |
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
setEmailAddressBytes(ByteString value)
public AuditUserLink.Builder setEmailAddressBytes(ByteString value)
Email address of the linked user
string email_address = 2;
Name | Description |
value | ByteString The bytes for emailAddress to set. |
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AuditUserLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AuditUserLink.Builder |
setName(String value)
public AuditUserLink.Builder setName(String value)
Example format: properties/1234/userLinks/5678
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public AuditUserLink.Builder setNameBytes(ByteString value)
Example format: properties/1234/userLinks/5678
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AuditUserLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AuditUserLink.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AuditUserLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AuditUserLink.Builder |