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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComponentSettings.DetectorSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ComponentSettings.DetectorSettings build()
Returns
buildPartial()
public ComponentSettings.DetectorSettings buildPartial()
Returns
clear()
public ComponentSettings.DetectorSettings.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ComponentSettings.DetectorSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ComponentSettings.DetectorSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
clone()
public ComponentSettings.DetectorSettings.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ComponentSettings.DetectorSettings getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ComponentSettings.DetectorSettings other)
public ComponentSettings.DetectorSettings.Builder mergeFrom(ComponentSettings.DetectorSettings other)
Parameter
Returns
public ComponentSettings.DetectorSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ComponentSettings.DetectorSettings.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComponentSettings.DetectorSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ComponentSettings.DetectorSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComponentSettings.DetectorSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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;
Parameter
Returns
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.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ComponentSettings.DetectorSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides