Class IamPolicyAnalysisResult.IdentityList.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisResult.IdentityList.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisResult.IdentityList.Builder>
      • getDefaultInstanceForType

        public IamPolicyAnalysisResult.IdentityList getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public IamPolicyAnalysisResult.IdentityList build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public IamPolicyAnalysisResult.IdentityList buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisResult.IdentityList.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;
        Specified by:
        getIdentitiesCount in interface IamPolicyAnalysisResult.IdentityListOrBuilder
      • getIdentities

        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;
        Specified by:
        getIdentities in interface IamPolicyAnalysisResult.IdentityListOrBuilder
      • setIdentities

        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;
      • setIdentities

        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;
      • addIdentities

        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;
      • addIdentities

        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;
      • addIdentities

        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;
      • addIdentities

        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;
      • addAllIdentities

        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;
      • 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;
      • removeIdentities

        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;
      • getIdentitiesBuilder

        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;
      • 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;
      • addIdentitiesBuilder

        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;
      • 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;
      • 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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
        Specified by:
        getGroupEdgesList in interface IamPolicyAnalysisResult.IdentityListOrBuilder
      • getGroupEdgesCount

        public int getGroupEdgesCount()
         Group identity edges of the graph starting from the binding's
         group members to any node of the
         [identities][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
        Specified by:
        getGroupEdgesCount in interface IamPolicyAnalysisResult.IdentityListOrBuilder
      • getGroupEdges

        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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
        Specified by:
        getGroupEdges in interface IamPolicyAnalysisResult.IdentityListOrBuilder
      • setGroupEdges

        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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
      • setGroupEdges

        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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
      • addGroupEdges

        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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
      • addGroupEdges

        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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
      • addGroupEdges

        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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
      • addGroupEdges

        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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
      • addAllGroupEdges

        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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
      • 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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
      • removeGroupEdges

        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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
      • getGroupEdgesBuilder

        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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
      • getGroupEdgesOrBuilder

        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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
        Specified by:
        getGroupEdgesOrBuilder in interface IamPolicyAnalysisResult.IdentityListOrBuilder
      • 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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
        Specified by:
        getGroupEdgesOrBuilderList in interface IamPolicyAnalysisResult.IdentityListOrBuilder
      • 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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
      • addGroupEdgesBuilder

        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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;
      • 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][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
         The
         [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
         contains a group, such as `group:parent@google.com`. The
         [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.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;