Class SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder>
com.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
All Implemented Interfaces:
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettingsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings

public static final class SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder extends com.google.protobuf.GeneratedMessage.Builder<SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder> implements SecurityHealthAnalyticsSettings.NonOrgIamMemberSettingsOrBuilder
 Settings for "NON_ORG_IAM_MEMBER" scanner.
 
Protobuf type google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.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.GeneratedMessage.Builder<SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.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.GeneratedMessage.Builder<SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder>
    • mergeFrom

    • isInitialized

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

      public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.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<SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder>
      Throws:
      IOException
    • getApprovedIdentitiesList

      public com.google.protobuf.ProtocolStringList getApprovedIdentitiesList()
       User emails ending in the provided identities are allowed to have IAM
       permissions on a project or the organization. Otherwise a finding will
       be created.
       A valid identity can be:
       *  a domain that starts with "@", e.g. "@yourdomain.com".
       *  a fully specified email address that does not start with "@", e.g.
       "abc@gmail.com"
       Regular expressions are not supported.
       Service accounts are not examined by the scanner and will be omitted if
       added to the list.
       If not specified, only Gmail accounts will be considered as non-approved.
       
      repeated string approved_identities = 1;
      Specified by:
      getApprovedIdentitiesList in interface SecurityHealthAnalyticsSettings.NonOrgIamMemberSettingsOrBuilder
      Returns:
      A list containing the approvedIdentities.
    • getApprovedIdentitiesCount

      public int getApprovedIdentitiesCount()
       User emails ending in the provided identities are allowed to have IAM
       permissions on a project or the organization. Otherwise a finding will
       be created.
       A valid identity can be:
       *  a domain that starts with "@", e.g. "@yourdomain.com".
       *  a fully specified email address that does not start with "@", e.g.
       "abc@gmail.com"
       Regular expressions are not supported.
       Service accounts are not examined by the scanner and will be omitted if
       added to the list.
       If not specified, only Gmail accounts will be considered as non-approved.
       
      repeated string approved_identities = 1;
      Specified by:
      getApprovedIdentitiesCount in interface SecurityHealthAnalyticsSettings.NonOrgIamMemberSettingsOrBuilder
      Returns:
      The count of approvedIdentities.
    • getApprovedIdentities

      public String getApprovedIdentities(int index)
       User emails ending in the provided identities are allowed to have IAM
       permissions on a project or the organization. Otherwise a finding will
       be created.
       A valid identity can be:
       *  a domain that starts with "@", e.g. "@yourdomain.com".
       *  a fully specified email address that does not start with "@", e.g.
       "abc@gmail.com"
       Regular expressions are not supported.
       Service accounts are not examined by the scanner and will be omitted if
       added to the list.
       If not specified, only Gmail accounts will be considered as non-approved.
       
      repeated string approved_identities = 1;
      Specified by:
      getApprovedIdentities in interface SecurityHealthAnalyticsSettings.NonOrgIamMemberSettingsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The approvedIdentities at the given index.
    • getApprovedIdentitiesBytes

      public com.google.protobuf.ByteString getApprovedIdentitiesBytes(int index)
       User emails ending in the provided identities are allowed to have IAM
       permissions on a project or the organization. Otherwise a finding will
       be created.
       A valid identity can be:
       *  a domain that starts with "@", e.g. "@yourdomain.com".
       *  a fully specified email address that does not start with "@", e.g.
       "abc@gmail.com"
       Regular expressions are not supported.
       Service accounts are not examined by the scanner and will be omitted if
       added to the list.
       If not specified, only Gmail accounts will be considered as non-approved.
       
      repeated string approved_identities = 1;
      Specified by:
      getApprovedIdentitiesBytes in interface SecurityHealthAnalyticsSettings.NonOrgIamMemberSettingsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the approvedIdentities at the given index.
    • setApprovedIdentities

      public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder setApprovedIdentities(int index, String value)
       User emails ending in the provided identities are allowed to have IAM
       permissions on a project or the organization. Otherwise a finding will
       be created.
       A valid identity can be:
       *  a domain that starts with "@", e.g. "@yourdomain.com".
       *  a fully specified email address that does not start with "@", e.g.
       "abc@gmail.com"
       Regular expressions are not supported.
       Service accounts are not examined by the scanner and will be omitted if
       added to the list.
       If not specified, only Gmail accounts will be considered as non-approved.
       
      repeated string approved_identities = 1;
      Parameters:
      index - The index to set the value at.
      value - The approvedIdentities to set.
      Returns:
      This builder for chaining.
    • addApprovedIdentities

       User emails ending in the provided identities are allowed to have IAM
       permissions on a project or the organization. Otherwise a finding will
       be created.
       A valid identity can be:
       *  a domain that starts with "@", e.g. "@yourdomain.com".
       *  a fully specified email address that does not start with "@", e.g.
       "abc@gmail.com"
       Regular expressions are not supported.
       Service accounts are not examined by the scanner and will be omitted if
       added to the list.
       If not specified, only Gmail accounts will be considered as non-approved.
       
      repeated string approved_identities = 1;
      Parameters:
      value - The approvedIdentities to add.
      Returns:
      This builder for chaining.
    • addAllApprovedIdentities

       User emails ending in the provided identities are allowed to have IAM
       permissions on a project or the organization. Otherwise a finding will
       be created.
       A valid identity can be:
       *  a domain that starts with "@", e.g. "@yourdomain.com".
       *  a fully specified email address that does not start with "@", e.g.
       "abc@gmail.com"
       Regular expressions are not supported.
       Service accounts are not examined by the scanner and will be omitted if
       added to the list.
       If not specified, only Gmail accounts will be considered as non-approved.
       
      repeated string approved_identities = 1;
      Parameters:
      values - The approvedIdentities to add.
      Returns:
      This builder for chaining.
    • clearApprovedIdentities

       User emails ending in the provided identities are allowed to have IAM
       permissions on a project or the organization. Otherwise a finding will
       be created.
       A valid identity can be:
       *  a domain that starts with "@", e.g. "@yourdomain.com".
       *  a fully specified email address that does not start with "@", e.g.
       "abc@gmail.com"
       Regular expressions are not supported.
       Service accounts are not examined by the scanner and will be omitted if
       added to the list.
       If not specified, only Gmail accounts will be considered as non-approved.
       
      repeated string approved_identities = 1;
      Returns:
      This builder for chaining.
    • addApprovedIdentitiesBytes

      public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder addApprovedIdentitiesBytes(com.google.protobuf.ByteString value)
       User emails ending in the provided identities are allowed to have IAM
       permissions on a project or the organization. Otherwise a finding will
       be created.
       A valid identity can be:
       *  a domain that starts with "@", e.g. "@yourdomain.com".
       *  a fully specified email address that does not start with "@", e.g.
       "abc@gmail.com"
       Regular expressions are not supported.
       Service accounts are not examined by the scanner and will be omitted if
       added to the list.
       If not specified, only Gmail accounts will be considered as non-approved.
       
      repeated string approved_identities = 1;
      Parameters:
      value - The bytes of the approvedIdentities to add.
      Returns:
      This builder for chaining.