Class Settings.DetectorGroupSettings.Builder (0.6.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Settings.DetectorGroupSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Settings.DetectorGroupSettings.Builder
Overrides

build()

public Settings.DetectorGroupSettings build()
Returns
TypeDescription
Settings.DetectorGroupSettings

buildPartial()

public Settings.DetectorGroupSettings buildPartial()
Returns
TypeDescription
Settings.DetectorGroupSettings

clear()

public Settings.DetectorGroupSettings.Builder clear()
Returns
TypeDescription
Settings.DetectorGroupSettings.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Settings.DetectorGroupSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Settings.DetectorGroupSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Settings.DetectorGroupSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Settings.DetectorGroupSettings.Builder

This builder for chaining.

clone()

public Settings.DetectorGroupSettings.Builder clone()
Returns
TypeDescription
Settings.DetectorGroupSettings.Builder
Overrides

getDefaultInstanceForType()

public Settings.DetectorGroupSettings getDefaultInstanceForType()
Returns
TypeDescription
Settings.DetectorGroupSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for state.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Settings.DetectorGroupSettings other)

public Settings.DetectorGroupSettings.Builder mergeFrom(Settings.DetectorGroupSettings other)
Parameter
NameDescription
otherSettings.DetectorGroupSettings
Returns
TypeDescription
Settings.DetectorGroupSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Settings.DetectorGroupSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Settings.DetectorGroupSettings.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Settings.DetectorGroupSettings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Settings.DetectorGroupSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Settings.DetectorGroupSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Settings.DetectorGroupSettings.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Settings.DetectorGroupSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueComponentEnablementState

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Settings.DetectorGroupSettings.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Settings.DetectorGroupSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Settings.DetectorGroupSettings.Builder
Overrides