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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecurityHealthAnalyticsModule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SecurityHealthAnalyticsModule build()
buildPartial()
public SecurityHealthAnalyticsModule buildPartial()
clear()
public SecurityHealthAnalyticsModule.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SecurityHealthAnalyticsModule.Builder clearField(Descriptors.FieldDescriptor field)
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;
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityHealthAnalyticsModule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SecurityHealthAnalyticsModule.Builder clone()
Overrides
getDefaultInstanceForType()
public SecurityHealthAnalyticsModule getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SecurityHealthAnalyticsModule other)
public SecurityHealthAnalyticsModule.Builder mergeFrom(SecurityHealthAnalyticsModule other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SecurityHealthAnalyticsModule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SecurityHealthAnalyticsModule.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityHealthAnalyticsModule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityHealthAnalyticsModule.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityHealthAnalyticsModule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityHealthAnalyticsModule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides