Class AnalyzeIamPolicyResponse.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<AnalyzeIamPolicyResponse.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<AnalyzeIamPolicyResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public AnalyzeIamPolicyResponse.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<AnalyzeIamPolicyResponse.Builder>
      • addRepeatedField

        public AnalyzeIamPolicyResponse.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<AnalyzeIamPolicyResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AnalyzeIamPolicyResponse.Builder>
      • mergeFrom

        public AnalyzeIamPolicyResponse.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<AnalyzeIamPolicyResponse.Builder>
        Throws:
        IOException
      • hasMainAnalysis

        public boolean hasMainAnalysis()
         The main analysis that matches the original request.
         
        .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
        Specified by:
        hasMainAnalysis in interface AnalyzeIamPolicyResponseOrBuilder
        Returns:
        Whether the mainAnalysis field is set.
      • clearMainAnalysis

        public AnalyzeIamPolicyResponse.Builder clearMainAnalysis()
         The main analysis that matches the original request.
         
        .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
      • getServiceAccountImpersonationAnalysisCount

        public int getServiceAccountImpersonationAnalysisCount()
         The service account impersonation analysis if
         [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
         enabled.
         
        repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
        Specified by:
        getServiceAccountImpersonationAnalysisCount in interface AnalyzeIamPolicyResponseOrBuilder
      • setServiceAccountImpersonationAnalysis

        public AnalyzeIamPolicyResponse.Builder setServiceAccountImpersonationAnalysis​(int index,
                                                                                       AnalyzeIamPolicyResponse.IamPolicyAnalysis value)
         The service account impersonation analysis if
         [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
         enabled.
         
        repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
      • setServiceAccountImpersonationAnalysis

        public AnalyzeIamPolicyResponse.Builder setServiceAccountImpersonationAnalysis​(int index,
                                                                                       AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)
         The service account impersonation analysis if
         [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
         enabled.
         
        repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
      • addServiceAccountImpersonationAnalysis

        public AnalyzeIamPolicyResponse.Builder addServiceAccountImpersonationAnalysis​(AnalyzeIamPolicyResponse.IamPolicyAnalysis value)
         The service account impersonation analysis if
         [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
         enabled.
         
        repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
      • addServiceAccountImpersonationAnalysis

        public AnalyzeIamPolicyResponse.Builder addServiceAccountImpersonationAnalysis​(int index,
                                                                                       AnalyzeIamPolicyResponse.IamPolicyAnalysis value)
         The service account impersonation analysis if
         [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
         enabled.
         
        repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
      • addServiceAccountImpersonationAnalysis

        public AnalyzeIamPolicyResponse.Builder addServiceAccountImpersonationAnalysis​(AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)
         The service account impersonation analysis if
         [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
         enabled.
         
        repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
      • addServiceAccountImpersonationAnalysis

        public AnalyzeIamPolicyResponse.Builder addServiceAccountImpersonationAnalysis​(int index,
                                                                                       AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)
         The service account impersonation analysis if
         [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
         enabled.
         
        repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
      • addAllServiceAccountImpersonationAnalysis

        public AnalyzeIamPolicyResponse.Builder addAllServiceAccountImpersonationAnalysis​(Iterable<? extends AnalyzeIamPolicyResponse.IamPolicyAnalysis> values)
         The service account impersonation analysis if
         [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
         enabled.
         
        repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
      • clearServiceAccountImpersonationAnalysis

        public AnalyzeIamPolicyResponse.Builder clearServiceAccountImpersonationAnalysis()
         The service account impersonation analysis if
         [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
         enabled.
         
        repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
      • removeServiceAccountImpersonationAnalysis

        public AnalyzeIamPolicyResponse.Builder removeServiceAccountImpersonationAnalysis​(int index)
         The service account impersonation analysis if
         [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
         enabled.
         
        repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
      • getServiceAccountImpersonationAnalysisBuilder

        public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder getServiceAccountImpersonationAnalysisBuilder​(int index)
         The service account impersonation analysis if
         [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
         enabled.
         
        repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
      • addServiceAccountImpersonationAnalysisBuilder

        public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addServiceAccountImpersonationAnalysisBuilder()
         The service account impersonation analysis if
         [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
         enabled.
         
        repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
      • addServiceAccountImpersonationAnalysisBuilder

        public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addServiceAccountImpersonationAnalysisBuilder​(int index)
         The service account impersonation analysis if
         [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
         enabled.
         
        repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
      • getServiceAccountImpersonationAnalysisBuilderList

        public List<AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder> getServiceAccountImpersonationAnalysisBuilderList()
         The service account impersonation analysis if
         [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
         enabled.
         
        repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
      • getFullyExplored

        public boolean getFullyExplored()
         Represents whether all entries in the
         [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
         and
         [service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis]
         have been fully explored to answer the query in the request.
         
        bool fully_explored = 3;
        Specified by:
        getFullyExplored in interface AnalyzeIamPolicyResponseOrBuilder
        Returns:
        The fullyExplored.
      • setFullyExplored

        public AnalyzeIamPolicyResponse.Builder setFullyExplored​(boolean value)
         Represents whether all entries in the
         [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
         and
         [service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis]
         have been fully explored to answer the query in the request.
         
        bool fully_explored = 3;
        Parameters:
        value - The fullyExplored to set.
        Returns:
        This builder for chaining.
      • clearFullyExplored

        public AnalyzeIamPolicyResponse.Builder clearFullyExplored()
         Represents whether all entries in the
         [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
         and
         [service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis]
         have been fully explored to answer the query in the request.
         
        bool fully_explored = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final AnalyzeIamPolicyResponse.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<AnalyzeIamPolicyResponse.Builder>
      • mergeUnknownFields

        public final AnalyzeIamPolicyResponse.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<AnalyzeIamPolicyResponse.Builder>