Class IamPolicyAnalysisResult.IdentityList.Builder (3.16.0)

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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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
Name Description
value IamPolicyAnalysisResult.Edge
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
Name Description
builderForValue IamPolicyAnalysisResult.Edge.Builder
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
Name Description
index int
value IamPolicyAnalysisResult.Edge
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
Name Description
index int
builderForValue IamPolicyAnalysisResult.Edge.Builder
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
Name Description
value IamPolicyAnalysisResult.Identity
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
Name Description
builderForValue IamPolicyAnalysisResult.Identity.Builder
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
Name Description
index int
value IamPolicyAnalysisResult.Identity
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
Name Description
index int
builderForValue IamPolicyAnalysisResult.Identity.Builder
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
Name Description
field FieldDescriptor
value Object
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
Name Description
field FieldDescriptor
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
Name Description
oneof OneofDescriptor
Returns Overrides

clone()

public IamPolicyAnalysisResult.IdentityList.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public IamPolicyAnalysisResult.IdentityList getDefaultInstanceForType()
Returns

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
IamPolicyAnalysisResult.Edge

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
Type Description
List<Builder>

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
Type Description
int

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
Type Description
List<Edge>

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
Type Description
List<Builder>

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
Type Description
int

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
Type Description
List<Identity>

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IamPolicyAnalysisResult.IdentityList other)

public IamPolicyAnalysisResult.IdentityList.Builder mergeFrom(IamPolicyAnalysisResult.IdentityList other)
Parameter
Name Description
other IamPolicyAnalysisResult.IdentityList
Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IamPolicyAnalysisResult.IdentityList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public IamPolicyAnalysisResult.IdentityList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisResult.IdentityList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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
Name Description
field FieldDescriptor
value Object
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
Name Description
index int
value IamPolicyAnalysisResult.Edge
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
Name Description
index int
builderForValue IamPolicyAnalysisResult.Edge.Builder
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
Name Description
index int
value IamPolicyAnalysisResult.Identity
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
Name Description
index int
builderForValue IamPolicyAnalysisResult.Identity.Builder
Returns

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IamPolicyAnalysisResult.IdentityList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisResult.IdentityList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns Overrides