- 0.62.0 (latest)
- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The directRoles to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The effectiveRoles to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The directRoles to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the directRoles to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The effectiveRoles to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the effectiveRoles to add. |
Returns | |
---|---|
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AuditUserLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AuditUserLink.Builder |
build()
public AuditUserLink build()
Returns | |
---|---|
Type | Description |
AuditUserLink |
buildPartial()
public AuditUserLink buildPartial()
Returns | |
---|---|
Type | Description |
AuditUserLink |
clear()
public AuditUserLink.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
clearEmailAddress()
public AuditUserLink.Builder clearEmailAddress()
Email address of the linked user
string email_address = 2;
Returns | |
---|---|
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AuditUserLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
AuditUserLink.Builder |
clearName()
public AuditUserLink.Builder clearName()
Example format: properties/1234/userLinks/5678
string name = 1;
Returns | |
---|---|
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AuditUserLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
AuditUserLink.Builder |
clone()
public AuditUserLink.Builder clone()
Returns | |
---|---|
Type | Description |
AuditUserLink.Builder |
getDefaultInstanceForType()
public AuditUserLink getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AuditUserLink |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
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 | |
---|---|
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;
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 | |
---|---|
Type | Description |
ProtocolStringList | A list containing the effectiveRoles. |
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()
public String 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AuditUserLink other)
public AuditUserLink.Builder mergeFrom(AuditUserLink other)
Parameter | |
---|---|
Name | Description |
other | AuditUserLink |
Returns | |
---|---|
Type | Description |
AuditUserLink.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AuditUserLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AuditUserLink.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AuditUserLink.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
AuditUserLink.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AuditUserLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The directRoles to set. |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The effectiveRoles to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The emailAddress to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for emailAddress to set. |
Returns | |
---|---|
Type | Description |
AuditUserLink.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AuditUserLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AuditUserLink.Builder |
setName(String value)
public AuditUserLink.Builder setName(String value)
Example format: properties/1234/userLinks/5678
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
AuditUserLink.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AuditUserLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AuditUserLink.Builder |