public static final class ComponentSettings.DetectorSettings.Builder extends GeneratedMessageV3.Builder<ComponentSettings.DetectorSettings.Builder> implements ComponentSettings.DetectorSettingsOrBuilder
Settings for each detector.
Protobuf type
google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 ComponentSettings.DetectorSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ComponentSettings.DetectorSettings build()
buildPartial()
public ComponentSettings.DetectorSettings buildPartial()
clear()
public ComponentSettings.DetectorSettings.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ComponentSettings.DetectorSettings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ComponentSettings.DetectorSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearState()
public ComponentSettings.DetectorSettings.Builder clearState()
ENABLE to enable component, DISABLE to disable and INHERIT to inherit
setting from ancestors.
.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 1;
clone()
public ComponentSettings.DetectorSettings.Builder clone()
Overrides
getDefaultInstanceForType()
public ComponentSettings.DetectorSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getState()
public ComponentEnablementState getState()
ENABLE to enable component, DISABLE to disable and INHERIT to inherit
setting from ancestors.
.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 1;
getStateValue()
public int getStateValue()
ENABLE to enable component, DISABLE to disable and INHERIT to inherit
setting from ancestors.
.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for state.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ComponentSettings.DetectorSettings other)
public ComponentSettings.DetectorSettings.Builder mergeFrom(ComponentSettings.DetectorSettings other)
public ComponentSettings.DetectorSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ComponentSettings.DetectorSettings.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComponentSettings.DetectorSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ComponentSettings.DetectorSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComponentSettings.DetectorSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setState(ComponentEnablementState value)
public ComponentSettings.DetectorSettings.Builder setState(ComponentEnablementState value)
ENABLE to enable component, DISABLE to disable and INHERIT to inherit
setting from ancestors.
.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 1;
setStateValue(int value)
public ComponentSettings.DetectorSettings.Builder setStateValue(int value)
ENABLE to enable component, DISABLE to disable and INHERIT to inherit
setting from ancestors.
.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 1;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for state to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ComponentSettings.DetectorSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides