Class SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder (0.26.0)

public static final class SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder extends GeneratedMessageV3.Builder<SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder> implements SecurityHealthAnalyticsSettings.NonOrgIamMemberSettingsOrBuilder

Settings for "NON_ORG_IAM_MEMBER" scanner.

Protobuf type google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllApprovedIdentities(Iterable<String> values)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder addAllApprovedIdentities(Iterable<String> values)

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;

Parameter
NameDescription
valuesIterable<String>

The approvedIdentities to add.

Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

This builder for chaining.

addApprovedIdentities(String value)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder addApprovedIdentities(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;

Parameter
NameDescription
valueString

The approvedIdentities to add.

Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

This builder for chaining.

addApprovedIdentitiesBytes(ByteString value)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder addApprovedIdentitiesBytes(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;

Parameter
NameDescription
valueByteString

The bytes of the approvedIdentities to add.

Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides

build()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings build()
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings

buildPartial()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings buildPartial()
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings

clear()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder clear()
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides

clearApprovedIdentities()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder 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
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides

clone()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder clone()
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides

getApprovedIdentities(int index)

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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The approvedIdentities at the given index.

getApprovedIdentitiesBytes(int index)

public 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the approvedIdentities at the given index.

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;

Returns
TypeDescription
int

The count of approvedIdentities.

getApprovedIdentitiesList()

public 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;

Returns
TypeDescription
ProtocolStringList

A list containing the approvedIdentities.

getDefaultInstanceForType()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings getDefaultInstanceForType()
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings other)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder mergeFrom(SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings other)
Parameter
NameDescription
otherSecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides

setApprovedIdentities(int index, String value)

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
NameDescription
indexint

The index to set the value at.

valueString

The approvedIdentities to set.

Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Overrides