Class SecurityHealthAnalyticsModule.Builder (0.1.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecurityHealthAnalyticsModule build()
Returns
TypeDescription
SecurityHealthAnalyticsModule

buildPartial()

public SecurityHealthAnalyticsModule buildPartial()
Returns
TypeDescription
SecurityHealthAnalyticsModule

clear()

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

clearField(Descriptors.FieldDescriptor field)

public SecurityHealthAnalyticsModule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SecurityHealthAnalyticsModule.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SecurityHealthAnalyticsModule getDefaultInstanceForType()
Returns
TypeDescription
SecurityHealthAnalyticsModule

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for moduleName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SecurityHealthAnalyticsModule other)

public SecurityHealthAnalyticsModule.Builder mergeFrom(SecurityHealthAnalyticsModule other)
Parameter
NameDescription
otherSecurityHealthAnalyticsModule
Returns
TypeDescription
SecurityHealthAnalyticsModule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityHealthAnalyticsModule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueEnablementState

The moduleEnablementState to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The moduleName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for moduleName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SecurityHealthAnalyticsModule.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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