Class Settings.DetectorGroupSettings.Builder (0.58.0)

public static final class Settings.DetectorGroupSettings.Builder extends GeneratedMessageV3.Builder<Settings.DetectorGroupSettings.Builder> implements Settings.DetectorGroupSettingsOrBuilder

The DetectorGroupSettings define the configuration for a detector group.

Protobuf type google.cloud.securitycenter.settings.v1beta1.Settings.DetectorGroupSettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Settings.DetectorGroupSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Settings.DetectorGroupSettings.Builder
Overrides

build()

public Settings.DetectorGroupSettings build()
Returns
Type Description
Settings.DetectorGroupSettings

buildPartial()

public Settings.DetectorGroupSettings buildPartial()
Returns
Type Description
Settings.DetectorGroupSettings

clear()

public Settings.DetectorGroupSettings.Builder clear()
Returns
Type Description
Settings.DetectorGroupSettings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Settings.DetectorGroupSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Settings.DetectorGroupSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Settings.DetectorGroupSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Settings.DetectorGroupSettings.Builder
Overrides

clearState()

public Settings.DetectorGroupSettings.Builder clearState()

The state determines if the group is enabled or not.

.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 1;

Returns
Type Description
Settings.DetectorGroupSettings.Builder

This builder for chaining.

clone()

public Settings.DetectorGroupSettings.Builder clone()
Returns
Type Description
Settings.DetectorGroupSettings.Builder
Overrides

getDefaultInstanceForType()

public Settings.DetectorGroupSettings getDefaultInstanceForType()
Returns
Type Description
Settings.DetectorGroupSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getState()

public ComponentEnablementState getState()

The state determines if the group is enabled or not.

.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 1;

Returns
Type Description
ComponentEnablementState

The state.

getStateValue()

public int getStateValue()

The state determines if the group is enabled or not.

.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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Settings.DetectorGroupSettings other)

public Settings.DetectorGroupSettings.Builder mergeFrom(Settings.DetectorGroupSettings other)
Parameter
Name Description
other Settings.DetectorGroupSettings
Returns
Type Description
Settings.DetectorGroupSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Settings.DetectorGroupSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Settings.DetectorGroupSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Settings.DetectorGroupSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Settings.DetectorGroupSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Settings.DetectorGroupSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Settings.DetectorGroupSettings.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Settings.DetectorGroupSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Settings.DetectorGroupSettings.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Settings.DetectorGroupSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Settings.DetectorGroupSettings.Builder
Overrides

setState(ComponentEnablementState value)

public Settings.DetectorGroupSettings.Builder setState(ComponentEnablementState value)

The state determines if the group is enabled or not.

.google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState state = 1;

Parameter
Name Description
value ComponentEnablementState

The state to set.

Returns
Type Description
Settings.DetectorGroupSettings.Builder

This builder for chaining.

setStateValue(int value)

public Settings.DetectorGroupSettings.Builder setStateValue(int value)

The state determines if the group is enabled or not.

.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
Type Description
Settings.DetectorGroupSettings.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Settings.DetectorGroupSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Settings.DetectorGroupSettings.Builder
Overrides