Class SecurityHealthAnalyticsSettings.Builder (0.31.0)

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

User specified settings for Security Health Analytics

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityHealthAnalyticsSettings build()
Returns
TypeDescription
SecurityHealthAnalyticsSettings

buildPartial()

public SecurityHealthAnalyticsSettings buildPartial()
Returns
TypeDescription
SecurityHealthAnalyticsSettings

clear()

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

clearAdminServiceAccountSettings()

public SecurityHealthAnalyticsSettings.Builder clearAdminServiceAccountSettings()

Settings for "ADMIN_SERVICE_ACCOUNT" scanner.

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.AdminServiceAccountSettings admin_service_account_settings = 2;

Returns
TypeDescription
SecurityHealthAnalyticsSettings.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNonOrgIamMemberSettings()

public SecurityHealthAnalyticsSettings.Builder clearNonOrgIamMemberSettings()

Settings for "NON_ORG_IAM_MEMBER" scanner.

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings non_org_iam_member_settings = 1;

Returns
TypeDescription
SecurityHealthAnalyticsSettings.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAdminServiceAccountSettings()

public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings getAdminServiceAccountSettings()

Settings for "ADMIN_SERVICE_ACCOUNT" scanner.

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.AdminServiceAccountSettings admin_service_account_settings = 2;

Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings

The adminServiceAccountSettings.

getAdminServiceAccountSettingsBuilder()

public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder getAdminServiceAccountSettingsBuilder()

Settings for "ADMIN_SERVICE_ACCOUNT" scanner.

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.AdminServiceAccountSettings admin_service_account_settings = 2;

Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder

getAdminServiceAccountSettingsOrBuilder()

public SecurityHealthAnalyticsSettings.AdminServiceAccountSettingsOrBuilder getAdminServiceAccountSettingsOrBuilder()

Settings for "ADMIN_SERVICE_ACCOUNT" scanner.

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.AdminServiceAccountSettings admin_service_account_settings = 2;

Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettingsOrBuilder

getDefaultInstanceForType()

public SecurityHealthAnalyticsSettings getDefaultInstanceForType()
Returns
TypeDescription
SecurityHealthAnalyticsSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNonOrgIamMemberSettings()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings getNonOrgIamMemberSettings()

Settings for "NON_ORG_IAM_MEMBER" scanner.

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings non_org_iam_member_settings = 1;

Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings

The nonOrgIamMemberSettings.

getNonOrgIamMemberSettingsBuilder()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder getNonOrgIamMemberSettingsBuilder()

Settings for "NON_ORG_IAM_MEMBER" scanner.

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings non_org_iam_member_settings = 1;

Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder

getNonOrgIamMemberSettingsOrBuilder()

public SecurityHealthAnalyticsSettings.NonOrgIamMemberSettingsOrBuilder getNonOrgIamMemberSettingsOrBuilder()

Settings for "NON_ORG_IAM_MEMBER" scanner.

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings non_org_iam_member_settings = 1;

Returns
TypeDescription
SecurityHealthAnalyticsSettings.NonOrgIamMemberSettingsOrBuilder

hasAdminServiceAccountSettings()

public boolean hasAdminServiceAccountSettings()

Settings for "ADMIN_SERVICE_ACCOUNT" scanner.

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.AdminServiceAccountSettings admin_service_account_settings = 2;

Returns
TypeDescription
boolean

Whether the adminServiceAccountSettings field is set.

hasNonOrgIamMemberSettings()

public boolean hasNonOrgIamMemberSettings()

Settings for "NON_ORG_IAM_MEMBER" scanner.

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings non_org_iam_member_settings = 1;

Returns
TypeDescription
boolean

Whether the nonOrgIamMemberSettings field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAdminServiceAccountSettings(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings value)

public SecurityHealthAnalyticsSettings.Builder mergeAdminServiceAccountSettings(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings value)

Settings for "ADMIN_SERVICE_ACCOUNT" scanner.

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.AdminServiceAccountSettings admin_service_account_settings = 2;

Parameter
NameDescription
valueSecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Returns
TypeDescription
SecurityHealthAnalyticsSettings.Builder

mergeFrom(SecurityHealthAnalyticsSettings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNonOrgIamMemberSettings(SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings value)

public SecurityHealthAnalyticsSettings.Builder mergeNonOrgIamMemberSettings(SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings value)

Settings for "NON_ORG_IAM_MEMBER" scanner.

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings non_org_iam_member_settings = 1;

Parameter
NameDescription
valueSecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Returns
TypeDescription
SecurityHealthAnalyticsSettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAdminServiceAccountSettings(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings value)

public SecurityHealthAnalyticsSettings.Builder setAdminServiceAccountSettings(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings value)

Settings for "ADMIN_SERVICE_ACCOUNT" scanner.

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.AdminServiceAccountSettings admin_service_account_settings = 2;

Parameter
NameDescription
valueSecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Returns
TypeDescription
SecurityHealthAnalyticsSettings.Builder

setAdminServiceAccountSettings(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder builderForValue)

public SecurityHealthAnalyticsSettings.Builder setAdminServiceAccountSettings(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder builderForValue)

Settings for "ADMIN_SERVICE_ACCOUNT" scanner.

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.AdminServiceAccountSettings admin_service_account_settings = 2;

Parameter
NameDescription
builderForValueSecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder
Returns
TypeDescription
SecurityHealthAnalyticsSettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNonOrgIamMemberSettings(SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings value)

public SecurityHealthAnalyticsSettings.Builder setNonOrgIamMemberSettings(SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings value)

Settings for "NON_ORG_IAM_MEMBER" scanner.

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings non_org_iam_member_settings = 1;

Parameter
NameDescription
valueSecurityHealthAnalyticsSettings.NonOrgIamMemberSettings
Returns
TypeDescription
SecurityHealthAnalyticsSettings.Builder

setNonOrgIamMemberSettings(SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder builderForValue)

public SecurityHealthAnalyticsSettings.Builder setNonOrgIamMemberSettings(SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder builderForValue)

Settings for "NON_ORG_IAM_MEMBER" scanner.

.google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.NonOrgIamMemberSettings non_org_iam_member_settings = 1;

Parameter
NameDescription
builderForValueSecurityHealthAnalyticsSettings.NonOrgIamMemberSettings.Builder
Returns
TypeDescription
SecurityHealthAnalyticsSettings.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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