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

        public AccessApprovalSettings.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<AccessApprovalSettings.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<AccessApprovalSettings.Builder>
      • getDefaultInstanceForType

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

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

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

        public AccessApprovalSettings.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<AccessApprovalSettings.Builder>
      • clearField

        public AccessApprovalSettings.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<AccessApprovalSettings.Builder>
      • clearOneof

        public AccessApprovalSettings.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<AccessApprovalSettings.Builder>
      • setRepeatedField

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

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

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

        public AccessApprovalSettings.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<AccessApprovalSettings.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         The resource name of the settings. Format is one of:
        
           * "projects/{project}/accessApprovalSettings"
           * "folders/{folder}/accessApprovalSettings"
           * "organizations/{organization}/accessApprovalSettings"
         
        string name = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface AccessApprovalSettingsOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The resource name of the settings. Format is one of:
        
           * "projects/{project}/accessApprovalSettings"
           * "folders/{folder}/accessApprovalSettings"
           * "organizations/{organization}/accessApprovalSettings"
         
        string name = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface AccessApprovalSettingsOrBuilder
        Returns:
        The bytes for name.
      • setName

        public AccessApprovalSettings.Builder setName​(String value)
         The resource name of the settings. Format is one of:
        
           * "projects/{project}/accessApprovalSettings"
           * "folders/{folder}/accessApprovalSettings"
           * "organizations/{organization}/accessApprovalSettings"
         
        string name = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public AccessApprovalSettings.Builder clearName()
         The resource name of the settings. Format is one of:
        
           * "projects/{project}/accessApprovalSettings"
           * "folders/{folder}/accessApprovalSettings"
           * "organizations/{organization}/accessApprovalSettings"
         
        string name = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public AccessApprovalSettings.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The resource name of the settings. Format is one of:
        
           * "projects/{project}/accessApprovalSettings"
           * "folders/{folder}/accessApprovalSettings"
           * "organizations/{organization}/accessApprovalSettings"
         
        string name = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getNotificationEmailsList

        public com.google.protobuf.ProtocolStringList getNotificationEmailsList()
         A list of email addresses to which notifications relating to approval
         requests should be sent. Notifications relating to a resource will be sent
         to all emails in the settings of ancestor resources of that resource. A
         maximum of 50 email addresses are allowed.
         
        repeated string notification_emails = 2;
        Specified by:
        getNotificationEmailsList in interface AccessApprovalSettingsOrBuilder
        Returns:
        A list containing the notificationEmails.
      • getNotificationEmailsCount

        public int getNotificationEmailsCount()
         A list of email addresses to which notifications relating to approval
         requests should be sent. Notifications relating to a resource will be sent
         to all emails in the settings of ancestor resources of that resource. A
         maximum of 50 email addresses are allowed.
         
        repeated string notification_emails = 2;
        Specified by:
        getNotificationEmailsCount in interface AccessApprovalSettingsOrBuilder
        Returns:
        The count of notificationEmails.
      • getNotificationEmails

        public String getNotificationEmails​(int index)
         A list of email addresses to which notifications relating to approval
         requests should be sent. Notifications relating to a resource will be sent
         to all emails in the settings of ancestor resources of that resource. A
         maximum of 50 email addresses are allowed.
         
        repeated string notification_emails = 2;
        Specified by:
        getNotificationEmails in interface AccessApprovalSettingsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The notificationEmails at the given index.
      • getNotificationEmailsBytes

        public com.google.protobuf.ByteString getNotificationEmailsBytes​(int index)
         A list of email addresses to which notifications relating to approval
         requests should be sent. Notifications relating to a resource will be sent
         to all emails in the settings of ancestor resources of that resource. A
         maximum of 50 email addresses are allowed.
         
        repeated string notification_emails = 2;
        Specified by:
        getNotificationEmailsBytes in interface AccessApprovalSettingsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the notificationEmails at the given index.
      • setNotificationEmails

        public AccessApprovalSettings.Builder setNotificationEmails​(int index,
                                                                    String value)
         A list of email addresses to which notifications relating to approval
         requests should be sent. Notifications relating to a resource will be sent
         to all emails in the settings of ancestor resources of that resource. A
         maximum of 50 email addresses are allowed.
         
        repeated string notification_emails = 2;
        Parameters:
        index - The index to set the value at.
        value - The notificationEmails to set.
        Returns:
        This builder for chaining.
      • addNotificationEmails

        public AccessApprovalSettings.Builder addNotificationEmails​(String value)
         A list of email addresses to which notifications relating to approval
         requests should be sent. Notifications relating to a resource will be sent
         to all emails in the settings of ancestor resources of that resource. A
         maximum of 50 email addresses are allowed.
         
        repeated string notification_emails = 2;
        Parameters:
        value - The notificationEmails to add.
        Returns:
        This builder for chaining.
      • addAllNotificationEmails

        public AccessApprovalSettings.Builder addAllNotificationEmails​(Iterable<String> values)
         A list of email addresses to which notifications relating to approval
         requests should be sent. Notifications relating to a resource will be sent
         to all emails in the settings of ancestor resources of that resource. A
         maximum of 50 email addresses are allowed.
         
        repeated string notification_emails = 2;
        Parameters:
        values - The notificationEmails to add.
        Returns:
        This builder for chaining.
      • clearNotificationEmails

        public AccessApprovalSettings.Builder clearNotificationEmails()
         A list of email addresses to which notifications relating to approval
         requests should be sent. Notifications relating to a resource will be sent
         to all emails in the settings of ancestor resources of that resource. A
         maximum of 50 email addresses are allowed.
         
        repeated string notification_emails = 2;
        Returns:
        This builder for chaining.
      • addNotificationEmailsBytes

        public AccessApprovalSettings.Builder addNotificationEmailsBytes​(com.google.protobuf.ByteString value)
         A list of email addresses to which notifications relating to approval
         requests should be sent. Notifications relating to a resource will be sent
         to all emails in the settings of ancestor resources of that resource. A
         maximum of 50 email addresses are allowed.
         
        repeated string notification_emails = 2;
        Parameters:
        value - The bytes of the notificationEmails to add.
        Returns:
        This builder for chaining.
      • getEnrolledServicesList

        public List<EnrolledService> getEnrolledServicesList()
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
        Specified by:
        getEnrolledServicesList in interface AccessApprovalSettingsOrBuilder
      • getEnrolledServicesCount

        public int getEnrolledServicesCount()
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
        Specified by:
        getEnrolledServicesCount in interface AccessApprovalSettingsOrBuilder
      • getEnrolledServices

        public EnrolledService getEnrolledServices​(int index)
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
        Specified by:
        getEnrolledServices in interface AccessApprovalSettingsOrBuilder
      • setEnrolledServices

        public AccessApprovalSettings.Builder setEnrolledServices​(int index,
                                                                  EnrolledService value)
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
      • setEnrolledServices

        public AccessApprovalSettings.Builder setEnrolledServices​(int index,
                                                                  EnrolledService.Builder builderForValue)
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
      • addEnrolledServices

        public AccessApprovalSettings.Builder addEnrolledServices​(EnrolledService value)
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
      • addEnrolledServices

        public AccessApprovalSettings.Builder addEnrolledServices​(int index,
                                                                  EnrolledService value)
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
      • addEnrolledServices

        public AccessApprovalSettings.Builder addEnrolledServices​(EnrolledService.Builder builderForValue)
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
      • addEnrolledServices

        public AccessApprovalSettings.Builder addEnrolledServices​(int index,
                                                                  EnrolledService.Builder builderForValue)
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
      • addAllEnrolledServices

        public AccessApprovalSettings.Builder addAllEnrolledServices​(Iterable<? extends EnrolledService> values)
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
      • clearEnrolledServices

        public AccessApprovalSettings.Builder clearEnrolledServices()
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
      • removeEnrolledServices

        public AccessApprovalSettings.Builder removeEnrolledServices​(int index)
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
      • getEnrolledServicesBuilder

        public EnrolledService.Builder getEnrolledServicesBuilder​(int index)
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
      • getEnrolledServicesOrBuilder

        public EnrolledServiceOrBuilder getEnrolledServicesOrBuilder​(int index)
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
        Specified by:
        getEnrolledServicesOrBuilder in interface AccessApprovalSettingsOrBuilder
      • getEnrolledServicesOrBuilderList

        public List<? extends EnrolledServiceOrBuilder> getEnrolledServicesOrBuilderList()
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
        Specified by:
        getEnrolledServicesOrBuilderList in interface AccessApprovalSettingsOrBuilder
      • addEnrolledServicesBuilder

        public EnrolledService.Builder addEnrolledServicesBuilder()
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
      • addEnrolledServicesBuilder

        public EnrolledService.Builder addEnrolledServicesBuilder​(int index)
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
      • getEnrolledServicesBuilderList

        public List<EnrolledService.Builder> getEnrolledServicesBuilderList()
         A list of Google Cloud Services for which the given resource has Access
         Approval enrolled. Access requests for the resource given by name against
         any of these services contained here will be required to have explicit
         approval. If name refers to an organization, enrollment can be done for
         individual services. If name refers to a folder or project, enrollment can
         only be done on an all or nothing basis.
        
         If a cloud_product is repeated in this list, the first entry will be
         honored and all following entries will be discarded. A maximum of 10
         enrolled services will be enforced, to be expanded as the set of supported
         services is expanded.
         
        repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
      • getEnrolledAncestor

        public boolean getEnrolledAncestor()
         Output only. This field is read only (not settable via
         UpdateAccessApprovalSettings method). If the field is true, that
         indicates that at least one service is enrolled for Access Approval in one
         or more ancestors of the Project or Folder (this field will always be
         unset for the organization since organizations do not have ancestors).
         
        bool enrolled_ancestor = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEnrolledAncestor in interface AccessApprovalSettingsOrBuilder
        Returns:
        The enrolledAncestor.
      • setEnrolledAncestor

        public AccessApprovalSettings.Builder setEnrolledAncestor​(boolean value)
         Output only. This field is read only (not settable via
         UpdateAccessApprovalSettings method). If the field is true, that
         indicates that at least one service is enrolled for Access Approval in one
         or more ancestors of the Project or Folder (this field will always be
         unset for the organization since organizations do not have ancestors).
         
        bool enrolled_ancestor = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enrolledAncestor to set.
        Returns:
        This builder for chaining.
      • clearEnrolledAncestor

        public AccessApprovalSettings.Builder clearEnrolledAncestor()
         Output only. This field is read only (not settable via
         UpdateAccessApprovalSettings method). If the field is true, that
         indicates that at least one service is enrolled for Access Approval in one
         or more ancestors of the Project or Folder (this field will always be
         unset for the organization since organizations do not have ancestors).
         
        bool enrolled_ancestor = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getActiveKeyVersion

        public String getActiveKeyVersion()
         The asymmetric crypto key version to use for signing approval requests.
         Empty active_key_version indicates that a Google-managed key should be used
         for signing. This property will be ignored if set by an ancestor of this
         resource, and new non-empty values may not be set.
         
        string active_key_version = 6;
        Specified by:
        getActiveKeyVersion in interface AccessApprovalSettingsOrBuilder
        Returns:
        The activeKeyVersion.
      • getActiveKeyVersionBytes

        public com.google.protobuf.ByteString getActiveKeyVersionBytes()
         The asymmetric crypto key version to use for signing approval requests.
         Empty active_key_version indicates that a Google-managed key should be used
         for signing. This property will be ignored if set by an ancestor of this
         resource, and new non-empty values may not be set.
         
        string active_key_version = 6;
        Specified by:
        getActiveKeyVersionBytes in interface AccessApprovalSettingsOrBuilder
        Returns:
        The bytes for activeKeyVersion.
      • setActiveKeyVersion

        public AccessApprovalSettings.Builder setActiveKeyVersion​(String value)
         The asymmetric crypto key version to use for signing approval requests.
         Empty active_key_version indicates that a Google-managed key should be used
         for signing. This property will be ignored if set by an ancestor of this
         resource, and new non-empty values may not be set.
         
        string active_key_version = 6;
        Parameters:
        value - The activeKeyVersion to set.
        Returns:
        This builder for chaining.
      • clearActiveKeyVersion

        public AccessApprovalSettings.Builder clearActiveKeyVersion()
         The asymmetric crypto key version to use for signing approval requests.
         Empty active_key_version indicates that a Google-managed key should be used
         for signing. This property will be ignored if set by an ancestor of this
         resource, and new non-empty values may not be set.
         
        string active_key_version = 6;
        Returns:
        This builder for chaining.
      • setActiveKeyVersionBytes

        public AccessApprovalSettings.Builder setActiveKeyVersionBytes​(com.google.protobuf.ByteString value)
         The asymmetric crypto key version to use for signing approval requests.
         Empty active_key_version indicates that a Google-managed key should be used
         for signing. This property will be ignored if set by an ancestor of this
         resource, and new non-empty values may not be set.
         
        string active_key_version = 6;
        Parameters:
        value - The bytes for activeKeyVersion to set.
        Returns:
        This builder for chaining.
      • getAncestorHasActiveKeyVersion

        public boolean getAncestorHasActiveKeyVersion()
         Output only. This field is read only (not settable via UpdateAccessApprovalSettings
         method). If the field is true, that indicates that an ancestor of this
         Project or Folder has set active_key_version (this field will always be
         unset for the organization since organizations do not have ancestors).
         
        bool ancestor_has_active_key_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getAncestorHasActiveKeyVersion in interface AccessApprovalSettingsOrBuilder
        Returns:
        The ancestorHasActiveKeyVersion.
      • setAncestorHasActiveKeyVersion

        public AccessApprovalSettings.Builder setAncestorHasActiveKeyVersion​(boolean value)
         Output only. This field is read only (not settable via UpdateAccessApprovalSettings
         method). If the field is true, that indicates that an ancestor of this
         Project or Folder has set active_key_version (this field will always be
         unset for the organization since organizations do not have ancestors).
         
        bool ancestor_has_active_key_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The ancestorHasActiveKeyVersion to set.
        Returns:
        This builder for chaining.
      • clearAncestorHasActiveKeyVersion

        public AccessApprovalSettings.Builder clearAncestorHasActiveKeyVersion()
         Output only. This field is read only (not settable via UpdateAccessApprovalSettings
         method). If the field is true, that indicates that an ancestor of this
         Project or Folder has set active_key_version (this field will always be
         unset for the organization since organizations do not have ancestors).
         
        bool ancestor_has_active_key_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getInvalidKeyVersion

        public boolean getInvalidKeyVersion()
         Output only. This field is read only (not settable via UpdateAccessApprovalSettings
         method). If the field is true, that indicates that there is some
         configuration issue with the active_key_version configured at this level in
         the resource hierarchy (e.g. it doesn't exist or the Access Approval
         service account doesn't have the correct permissions on it, etc.) This key
         version is not necessarily the effective key version at this level, as key
         versions are inherited top-down.
         
        bool invalid_key_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getInvalidKeyVersion in interface AccessApprovalSettingsOrBuilder
        Returns:
        The invalidKeyVersion.
      • setInvalidKeyVersion

        public AccessApprovalSettings.Builder setInvalidKeyVersion​(boolean value)
         Output only. This field is read only (not settable via UpdateAccessApprovalSettings
         method). If the field is true, that indicates that there is some
         configuration issue with the active_key_version configured at this level in
         the resource hierarchy (e.g. it doesn't exist or the Access Approval
         service account doesn't have the correct permissions on it, etc.) This key
         version is not necessarily the effective key version at this level, as key
         versions are inherited top-down.
         
        bool invalid_key_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The invalidKeyVersion to set.
        Returns:
        This builder for chaining.
      • clearInvalidKeyVersion

        public AccessApprovalSettings.Builder clearInvalidKeyVersion()
         Output only. This field is read only (not settable via UpdateAccessApprovalSettings
         method). If the field is true, that indicates that there is some
         configuration issue with the active_key_version configured at this level in
         the resource hierarchy (e.g. it doesn't exist or the Access Approval
         service account doesn't have the correct permissions on it, etc.) This key
         version is not necessarily the effective key version at this level, as key
         versions are inherited top-down.
         
        bool invalid_key_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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