public static final class SecurityHealthAnalyticsModule.Builder extends GeneratedMessage.Builder<SecurityHealthAnalyticsModule.Builder> implements SecurityHealthAnalyticsModuleOrBuilderMessage for Security Health Analytics built-in detector.
Protobuf type google.cloud.securityposture.v1.SecurityHealthAnalyticsModule
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SecurityHealthAnalyticsModule.BuilderImplements
SecurityHealthAnalyticsModuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
getDefaultInstanceForType()
public SecurityHealthAnalyticsModule getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsModule |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SecurityHealthAnalyticsModule.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsModule.Builder |
|
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 |
EnablementStateThe 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 |
intThe 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 |
StringThe 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 |
ByteStringThe bytes for moduleName to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityHealthAnalyticsModule.Builder |
This builder for chaining. |