Class IamPolicyAnalysisResult.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.Builder>
      • clear

        public IamPolicyAnalysisResult.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisResult.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.Builder>
      • getDefaultInstanceForType

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

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

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

        public IamPolicyAnalysisResult.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Builder>
      • clearField

        public IamPolicyAnalysisResult.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Builder>
      • clearOneof

        public IamPolicyAnalysisResult.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Builder>
      • setRepeatedField

        public IamPolicyAnalysisResult.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Builder>
      • addRepeatedField

        public IamPolicyAnalysisResult.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisResult.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.Builder>
      • mergeFrom

        public IamPolicyAnalysisResult.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IamPolicyAnalysisResult.Builder>
        Throws:
        IOException
      • getAttachedResourceFullName

        public String getAttachedResourceFullName()
         The [full resource
         name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
         of the resource to which the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         policy attaches.
         
        string attached_resource_full_name = 1;
        Specified by:
        getAttachedResourceFullName in interface IamPolicyAnalysisResultOrBuilder
        Returns:
        The attachedResourceFullName.
      • getAttachedResourceFullNameBytes

        public com.google.protobuf.ByteString getAttachedResourceFullNameBytes()
         The [full resource
         name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
         of the resource to which the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         policy attaches.
         
        string attached_resource_full_name = 1;
        Specified by:
        getAttachedResourceFullNameBytes in interface IamPolicyAnalysisResultOrBuilder
        Returns:
        The bytes for attachedResourceFullName.
      • setAttachedResourceFullName

        public IamPolicyAnalysisResult.Builder setAttachedResourceFullName​(String value)
         The [full resource
         name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
         of the resource to which the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         policy attaches.
         
        string attached_resource_full_name = 1;
        Parameters:
        value - The attachedResourceFullName to set.
        Returns:
        This builder for chaining.
      • clearAttachedResourceFullName

        public IamPolicyAnalysisResult.Builder clearAttachedResourceFullName()
         The [full resource
         name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
         of the resource to which the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         policy attaches.
         
        string attached_resource_full_name = 1;
        Returns:
        This builder for chaining.
      • setAttachedResourceFullNameBytes

        public IamPolicyAnalysisResult.Builder setAttachedResourceFullNameBytes​(com.google.protobuf.ByteString value)
         The [full resource
         name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
         of the resource to which the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         policy attaches.
         
        string attached_resource_full_name = 1;
        Parameters:
        value - The bytes for attachedResourceFullName to set.
        Returns:
        This builder for chaining.
      • hasIamBinding

        public boolean hasIamBinding()
         The IAM policy binding under analysis.
         
        .google.iam.v1.Binding iam_binding = 2;
        Specified by:
        hasIamBinding in interface IamPolicyAnalysisResultOrBuilder
        Returns:
        Whether the iamBinding field is set.
      • getIamBinding

        public com.google.iam.v1.Binding getIamBinding()
         The IAM policy binding under analysis.
         
        .google.iam.v1.Binding iam_binding = 2;
        Specified by:
        getIamBinding in interface IamPolicyAnalysisResultOrBuilder
        Returns:
        The iamBinding.
      • setIamBinding

        public IamPolicyAnalysisResult.Builder setIamBinding​(com.google.iam.v1.Binding value)
         The IAM policy binding under analysis.
         
        .google.iam.v1.Binding iam_binding = 2;
      • setIamBinding

        public IamPolicyAnalysisResult.Builder setIamBinding​(com.google.iam.v1.Binding.Builder builderForValue)
         The IAM policy binding under analysis.
         
        .google.iam.v1.Binding iam_binding = 2;
      • mergeIamBinding

        public IamPolicyAnalysisResult.Builder mergeIamBinding​(com.google.iam.v1.Binding value)
         The IAM policy binding under analysis.
         
        .google.iam.v1.Binding iam_binding = 2;
      • clearIamBinding

        public IamPolicyAnalysisResult.Builder clearIamBinding()
         The IAM policy binding under analysis.
         
        .google.iam.v1.Binding iam_binding = 2;
      • getIamBindingBuilder

        public com.google.iam.v1.Binding.Builder getIamBindingBuilder()
         The IAM policy binding under analysis.
         
        .google.iam.v1.Binding iam_binding = 2;
      • getAccessControlListsCount

        public int getAccessControlListsCount()
         The access control lists derived from the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match resource and access selectors specified in
         the request.
         
        repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
        Specified by:
        getAccessControlListsCount in interface IamPolicyAnalysisResultOrBuilder
      • getAccessControlLists

        public IamPolicyAnalysisResult.AccessControlList getAccessControlLists​(int index)
         The access control lists derived from the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match resource and access selectors specified in
         the request.
         
        repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
        Specified by:
        getAccessControlLists in interface IamPolicyAnalysisResultOrBuilder
      • setAccessControlLists

        public IamPolicyAnalysisResult.Builder setAccessControlLists​(int index,
                                                                     IamPolicyAnalysisResult.AccessControlList value)
         The access control lists derived from the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match resource and access selectors specified in
         the request.
         
        repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
      • setAccessControlLists

        public IamPolicyAnalysisResult.Builder setAccessControlLists​(int index,
                                                                     IamPolicyAnalysisResult.AccessControlList.Builder builderForValue)
         The access control lists derived from the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match resource and access selectors specified in
         the request.
         
        repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
      • addAccessControlLists

        public IamPolicyAnalysisResult.Builder addAccessControlLists​(IamPolicyAnalysisResult.AccessControlList value)
         The access control lists derived from the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match resource and access selectors specified in
         the request.
         
        repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
      • addAccessControlLists

        public IamPolicyAnalysisResult.Builder addAccessControlLists​(int index,
                                                                     IamPolicyAnalysisResult.AccessControlList value)
         The access control lists derived from the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match resource and access selectors specified in
         the request.
         
        repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
      • addAccessControlLists

        public IamPolicyAnalysisResult.Builder addAccessControlLists​(IamPolicyAnalysisResult.AccessControlList.Builder builderForValue)
         The access control lists derived from the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match resource and access selectors specified in
         the request.
         
        repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
      • addAccessControlLists

        public IamPolicyAnalysisResult.Builder addAccessControlLists​(int index,
                                                                     IamPolicyAnalysisResult.AccessControlList.Builder builderForValue)
         The access control lists derived from the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match resource and access selectors specified in
         the request.
         
        repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
      • addAllAccessControlLists

        public IamPolicyAnalysisResult.Builder addAllAccessControlLists​(Iterable<? extends IamPolicyAnalysisResult.AccessControlList> values)
         The access control lists derived from the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match resource and access selectors specified in
         the request.
         
        repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
      • clearAccessControlLists

        public IamPolicyAnalysisResult.Builder clearAccessControlLists()
         The access control lists derived from the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match resource and access selectors specified in
         the request.
         
        repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
      • removeAccessControlLists

        public IamPolicyAnalysisResult.Builder removeAccessControlLists​(int index)
         The access control lists derived from the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match resource and access selectors specified in
         the request.
         
        repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
      • getAccessControlListsBuilder

        public IamPolicyAnalysisResult.AccessControlList.Builder getAccessControlListsBuilder​(int index)
         The access control lists derived from the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match resource and access selectors specified in
         the request.
         
        repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
      • addAccessControlListsBuilder

        public IamPolicyAnalysisResult.AccessControlList.Builder addAccessControlListsBuilder()
         The access control lists derived from the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match resource and access selectors specified in
         the request.
         
        repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
      • addAccessControlListsBuilder

        public IamPolicyAnalysisResult.AccessControlList.Builder addAccessControlListsBuilder​(int index)
         The access control lists derived from the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match resource and access selectors specified in
         the request.
         
        repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
      • getAccessControlListsBuilderList

        public List<IamPolicyAnalysisResult.AccessControlList.Builder> getAccessControlListsBuilderList()
         The access control lists derived from the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match resource and access selectors specified in
         the request.
         
        repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
      • hasIdentityList

        public boolean hasIdentityList()
         The identity list derived from members of the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match identity selector specified in the request.
         
        .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
        Specified by:
        hasIdentityList in interface IamPolicyAnalysisResultOrBuilder
        Returns:
        Whether the identityList field is set.
      • getIdentityList

        public IamPolicyAnalysisResult.IdentityList getIdentityList()
         The identity list derived from members of the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match identity selector specified in the request.
         
        .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
        Specified by:
        getIdentityList in interface IamPolicyAnalysisResultOrBuilder
        Returns:
        The identityList.
      • setIdentityList

        public IamPolicyAnalysisResult.Builder setIdentityList​(IamPolicyAnalysisResult.IdentityList value)
         The identity list derived from members of the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match identity selector specified in the request.
         
        .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
      • setIdentityList

        public IamPolicyAnalysisResult.Builder setIdentityList​(IamPolicyAnalysisResult.IdentityList.Builder builderForValue)
         The identity list derived from members of the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match identity selector specified in the request.
         
        .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
      • mergeIdentityList

        public IamPolicyAnalysisResult.Builder mergeIdentityList​(IamPolicyAnalysisResult.IdentityList value)
         The identity list derived from members of the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match identity selector specified in the request.
         
        .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
      • clearIdentityList

        public IamPolicyAnalysisResult.Builder clearIdentityList()
         The identity list derived from members of the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match identity selector specified in the request.
         
        .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
      • getIdentityListBuilder

        public IamPolicyAnalysisResult.IdentityList.Builder getIdentityListBuilder()
         The identity list derived from members of the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         that match or potentially match identity selector specified in the request.
         
        .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
      • getFullyExplored

        public boolean getFullyExplored()
         Represents whether all analyses on the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         have successfully finished.
         
        bool fully_explored = 5;
        Specified by:
        getFullyExplored in interface IamPolicyAnalysisResultOrBuilder
        Returns:
        The fullyExplored.
      • setFullyExplored

        public IamPolicyAnalysisResult.Builder setFullyExplored​(boolean value)
         Represents whether all analyses on the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         have successfully finished.
         
        bool fully_explored = 5;
        Parameters:
        value - The fullyExplored to set.
        Returns:
        This builder for chaining.
      • clearFullyExplored

        public IamPolicyAnalysisResult.Builder clearFullyExplored()
         Represents whether all analyses on the
         [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
         have successfully finished.
         
        bool fully_explored = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final IamPolicyAnalysisResult.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Builder>
      • mergeUnknownFields

        public final IamPolicyAnalysisResult.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Builder>