Class SecurityHealthAnalyticsModule.Builder (0.7.0)

public static final class SecurityHealthAnalyticsModule.Builder extends GeneratedMessageV3.Builder<SecurityHealthAnalyticsModule.Builder> implements SecurityHealthAnalyticsModuleOrBuilder

Message for Security Health Analytics built-in detector.

Protobuf type google.cloud.securityposture.v1.SecurityHealthAnalyticsModule

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SecurityHealthAnalyticsModule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityHealthAnalyticsModule.Builder
Overrides

build()

public SecurityHealthAnalyticsModule build()
Returns
Type Description
SecurityHealthAnalyticsModule

buildPartial()

public SecurityHealthAnalyticsModule buildPartial()
Returns
Type Description
SecurityHealthAnalyticsModule

clear()

public SecurityHealthAnalyticsModule.Builder clear()
Returns
Type Description
SecurityHealthAnalyticsModule.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SecurityHealthAnalyticsModule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SecurityHealthAnalyticsModule.Builder
Overrides

clearModuleEnablementState()

public SecurityHealthAnalyticsModule.Builder clearModuleEnablementState()

The state of enablement for the module at its level of the resource hierarchy.

.google.cloud.securityposture.v1.EnablementState module_enablement_state = 2;

Returns
Type Description
SecurityHealthAnalyticsModule.Builder

This builder for chaining.

clearModuleName()

public SecurityHealthAnalyticsModule.Builder clearModuleName()

Required. The name of the module eg: BIGQUERY_TABLE_CMEK_DISABLED.

string module_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecurityHealthAnalyticsModule.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SecurityHealthAnalyticsModule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SecurityHealthAnalyticsModule.Builder
Overrides

clone()

public SecurityHealthAnalyticsModule.Builder clone()
Returns
Type Description
SecurityHealthAnalyticsModule.Builder
Overrides

getDefaultInstanceForType()

public SecurityHealthAnalyticsModule getDefaultInstanceForType()
Returns
Type Description
SecurityHealthAnalyticsModule

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getModuleEnablementState()

public EnablementState getModuleEnablementState()

The state of enablement for the module at its level of the resource hierarchy.

.google.cloud.securityposture.v1.EnablementState module_enablement_state = 2;

Returns
Type Description
EnablementState

The moduleEnablementState.

getModuleEnablementStateValue()

public int getModuleEnablementStateValue()

The state of enablement for the module at its level of the resource hierarchy.

.google.cloud.securityposture.v1.EnablementState module_enablement_state = 2;

Returns
Type Description
int

The enum numeric value on the wire for moduleEnablementState.

getModuleName()

public String getModuleName()

Required. The name of the module eg: BIGQUERY_TABLE_CMEK_DISABLED.

string module_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The moduleName.

getModuleNameBytes()

public ByteString getModuleNameBytes()

Required. The name of the module eg: BIGQUERY_TABLE_CMEK_DISABLED.

string module_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for moduleName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityHealthAnalyticsModule other)

public SecurityHealthAnalyticsModule.Builder mergeFrom(SecurityHealthAnalyticsModule other)
Parameter
Name Description
other SecurityHealthAnalyticsModule
Returns
Type Description
SecurityHealthAnalyticsModule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SecurityHealthAnalyticsModule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityHealthAnalyticsModule.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SecurityHealthAnalyticsModule.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SecurityHealthAnalyticsModule.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityHealthAnalyticsModule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityHealthAnalyticsModule.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityHealthAnalyticsModule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityHealthAnalyticsModule.Builder
Overrides

setModuleEnablementState(EnablementState value)

public SecurityHealthAnalyticsModule.Builder setModuleEnablementState(EnablementState value)

The state of enablement for the module at its level of the resource hierarchy.

.google.cloud.securityposture.v1.EnablementState module_enablement_state = 2;

Parameter
Name Description
value EnablementState

The moduleEnablementState to set.

Returns
Type Description
SecurityHealthAnalyticsModule.Builder

This builder for chaining.

setModuleEnablementStateValue(int value)

public SecurityHealthAnalyticsModule.Builder setModuleEnablementStateValue(int value)

The state of enablement for the module at its level of the resource hierarchy.

.google.cloud.securityposture.v1.EnablementState module_enablement_state = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for moduleEnablementState to set.

Returns
Type Description
SecurityHealthAnalyticsModule.Builder

This builder for chaining.

setModuleName(String value)

public SecurityHealthAnalyticsModule.Builder setModuleName(String value)

Required. The name of the module eg: BIGQUERY_TABLE_CMEK_DISABLED.

string module_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The moduleName to set.

Returns
Type Description
SecurityHealthAnalyticsModule.Builder

This builder for chaining.

setModuleNameBytes(ByteString value)

public SecurityHealthAnalyticsModule.Builder setModuleNameBytes(ByteString value)

Required. The name of the module eg: BIGQUERY_TABLE_CMEK_DISABLED.

string module_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for moduleName to set.

Returns
Type Description
SecurityHealthAnalyticsModule.Builder

This builder for chaining.

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

public SecurityHealthAnalyticsModule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SecurityHealthAnalyticsModule.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SecurityHealthAnalyticsModule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityHealthAnalyticsModule.Builder
Overrides