public static final class IamPolicyAnalysisResult.IdentityList.Builder extends GeneratedMessageV3.Builder<IamPolicyAnalysisResult.IdentityList.Builder> implements IamPolicyAnalysisResult.IdentityListOrBuilder
The identities and group edges.
Protobuf type google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllGroupEdges(Iterable<? extends IamPolicyAnalysisResult.Edge> values)
public IamPolicyAnalysisResult.IdentityList.Builder addAllGroupEdges(Iterable<? extends IamPolicyAnalysisResult.Edge> values)
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.Edge>
|
Returns
addAllIdentities(Iterable<? extends IamPolicyAnalysisResult.Identity> values)
public IamPolicyAnalysisResult.IdentityList.Builder addAllIdentities(Iterable<? extends IamPolicyAnalysisResult.Identity> values)
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.Identity>
|
Returns
addGroupEdges(IamPolicyAnalysisResult.Edge value)
public IamPolicyAnalysisResult.IdentityList.Builder addGroupEdges(IamPolicyAnalysisResult.Edge value)
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Parameter
Returns
addGroupEdges(IamPolicyAnalysisResult.Edge.Builder builderForValue)
public IamPolicyAnalysisResult.IdentityList.Builder addGroupEdges(IamPolicyAnalysisResult.Edge.Builder builderForValue)
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Parameter
Returns
addGroupEdges(int index, IamPolicyAnalysisResult.Edge value)
public IamPolicyAnalysisResult.IdentityList.Builder addGroupEdges(int index, IamPolicyAnalysisResult.Edge value)
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Parameters
Returns
addGroupEdges(int index, IamPolicyAnalysisResult.Edge.Builder builderForValue)
public IamPolicyAnalysisResult.IdentityList.Builder addGroupEdges(int index, IamPolicyAnalysisResult.Edge.Builder builderForValue)
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Parameters
Returns
addGroupEdgesBuilder()
public IamPolicyAnalysisResult.Edge.Builder addGroupEdgesBuilder()
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Returns
addGroupEdgesBuilder(int index)
public IamPolicyAnalysisResult.Edge.Builder addGroupEdgesBuilder(int index)
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Parameter
Name |
Description |
index |
int
|
Returns
addIdentities(IamPolicyAnalysisResult.Identity value)
public IamPolicyAnalysisResult.IdentityList.Builder addIdentities(IamPolicyAnalysisResult.Identity value)
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Parameter
Returns
addIdentities(IamPolicyAnalysisResult.Identity.Builder builderForValue)
public IamPolicyAnalysisResult.IdentityList.Builder addIdentities(IamPolicyAnalysisResult.Identity.Builder builderForValue)
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Parameter
Returns
addIdentities(int index, IamPolicyAnalysisResult.Identity value)
public IamPolicyAnalysisResult.IdentityList.Builder addIdentities(int index, IamPolicyAnalysisResult.Identity value)
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Parameters
Returns
addIdentities(int index, IamPolicyAnalysisResult.Identity.Builder builderForValue)
public IamPolicyAnalysisResult.IdentityList.Builder addIdentities(int index, IamPolicyAnalysisResult.Identity.Builder builderForValue)
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Parameters
Returns
addIdentitiesBuilder()
public IamPolicyAnalysisResult.Identity.Builder addIdentitiesBuilder()
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Returns
addIdentitiesBuilder(int index)
public IamPolicyAnalysisResult.Identity.Builder addIdentitiesBuilder(int index)
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Parameter
Name |
Description |
index |
int
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IamPolicyAnalysisResult.IdentityList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public IamPolicyAnalysisResult.IdentityList build()
Returns
buildPartial()
public IamPolicyAnalysisResult.IdentityList buildPartial()
Returns
clear()
public IamPolicyAnalysisResult.IdentityList.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public IamPolicyAnalysisResult.IdentityList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGroupEdges()
public IamPolicyAnalysisResult.IdentityList.Builder clearGroupEdges()
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Returns
clearIdentities()
public IamPolicyAnalysisResult.IdentityList.Builder clearIdentities()
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public IamPolicyAnalysisResult.IdentityList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public IamPolicyAnalysisResult.IdentityList.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public IamPolicyAnalysisResult.IdentityList getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGroupEdges(int index)
public IamPolicyAnalysisResult.Edge getGroupEdges(int index)
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getGroupEdgesBuilder(int index)
public IamPolicyAnalysisResult.Edge.Builder getGroupEdgesBuilder(int index)
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getGroupEdgesBuilderList()
public List<IamPolicyAnalysisResult.Edge.Builder> getGroupEdgesBuilderList()
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Returns
getGroupEdgesCount()
public int getGroupEdgesCount()
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Returns
getGroupEdgesList()
public List<IamPolicyAnalysisResult.Edge> getGroupEdgesList()
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Returns
getGroupEdgesOrBuilder(int index)
public IamPolicyAnalysisResult.EdgeOrBuilder getGroupEdgesOrBuilder(int index)
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getGroupEdgesOrBuilderList()
public List<? extends IamPolicyAnalysisResult.EdgeOrBuilder> getGroupEdgesOrBuilderList()
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Returns
Type |
Description |
List<? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.EdgeOrBuilder> |
|
getIdentities(int index)
public IamPolicyAnalysisResult.Identity getIdentities(int index)
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getIdentitiesBuilder(int index)
public IamPolicyAnalysisResult.Identity.Builder getIdentitiesBuilder(int index)
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getIdentitiesBuilderList()
public List<IamPolicyAnalysisResult.Identity.Builder> getIdentitiesBuilderList()
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Returns
getIdentitiesCount()
public int getIdentitiesCount()
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Returns
getIdentitiesList()
public List<IamPolicyAnalysisResult.Identity> getIdentitiesList()
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Returns
getIdentitiesOrBuilder(int index)
public IamPolicyAnalysisResult.IdentityOrBuilder getIdentitiesOrBuilder(int index)
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getIdentitiesOrBuilderList()
public List<? extends IamPolicyAnalysisResult.IdentityOrBuilder> getIdentitiesOrBuilderList()
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(IamPolicyAnalysisResult.IdentityList other)
public IamPolicyAnalysisResult.IdentityList.Builder mergeFrom(IamPolicyAnalysisResult.IdentityList other)
Parameter
Returns
public IamPolicyAnalysisResult.IdentityList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public IamPolicyAnalysisResult.IdentityList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IamPolicyAnalysisResult.IdentityList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeGroupEdges(int index)
public IamPolicyAnalysisResult.IdentityList.Builder removeGroupEdges(int index)
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Parameter
Name |
Description |
index |
int
|
Returns
removeIdentities(int index)
public IamPolicyAnalysisResult.IdentityList.Builder removeIdentities(int index)
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Parameter
Name |
Description |
index |
int
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public IamPolicyAnalysisResult.IdentityList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGroupEdges(int index, IamPolicyAnalysisResult.Edge value)
public IamPolicyAnalysisResult.IdentityList.Builder setGroupEdges(int index, IamPolicyAnalysisResult.Edge value)
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Parameters
Returns
setGroupEdges(int index, IamPolicyAnalysisResult.Edge.Builder builderForValue)
public IamPolicyAnalysisResult.IdentityList.Builder setGroupEdges(int index, IamPolicyAnalysisResult.Edge.Builder builderForValue)
Group identity edges of the graph starting from the binding's
group members to any node of the
identities.
The
Edge.source_node
contains a group, such as group:parent@google.com
. The
Edge.target_node
contains a member of the group, such as group:child@google.com
or
user:foo@google.com
. This field is present only if the
output_group_edges option is enabled in request.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
Parameters
Returns
setIdentities(int index, IamPolicyAnalysisResult.Identity value)
public IamPolicyAnalysisResult.IdentityList.Builder setIdentities(int index, IamPolicyAnalysisResult.Identity value)
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Parameters
Returns
setIdentities(int index, IamPolicyAnalysisResult.Identity.Builder builderForValue)
public IamPolicyAnalysisResult.IdentityList.Builder setIdentities(int index, IamPolicyAnalysisResult.Identity.Builder builderForValue)
Only the identities that match one of the following conditions will be
presented:
- The identity_selector, if it is specified in request;
- Otherwise, identities reachable from the policy binding's members.
repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IamPolicyAnalysisResult.IdentityList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IamPolicyAnalysisResult.IdentityList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides