Class ComponentSettings.DetectorSettings (0.57.0)

public static final class ComponentSettings.DetectorSettings extends GeneratedMessageV3 implements ComponentSettings.DetectorSettingsOrBuilder

Settings for each detector.

Protobuf type google.cloud.securitycenter.settings.v1beta1.ComponentSettings.DetectorSettings

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ComponentSettings.DetectorSettings

Static Fields

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ComponentSettings.DetectorSettings getDefaultInstance()
Returns
Type Description
ComponentSettings.DetectorSettings

getDescriptor()

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

newBuilder()

public static ComponentSettings.DetectorSettings.Builder newBuilder()
Returns
Type Description
ComponentSettings.DetectorSettings.Builder

newBuilder(ComponentSettings.DetectorSettings prototype)

public static ComponentSettings.DetectorSettings.Builder newBuilder(ComponentSettings.DetectorSettings prototype)
Parameter
Name Description
prototype ComponentSettings.DetectorSettings
Returns
Type Description
ComponentSettings.DetectorSettings.Builder

parseDelimitedFrom(InputStream input)

public static ComponentSettings.DetectorSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComponentSettings.DetectorSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComponentSettings.DetectorSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComponentSettings.DetectorSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ComponentSettings.DetectorSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ComponentSettings.DetectorSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ComponentSettings.DetectorSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComponentSettings.DetectorSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ComponentSettings.DetectorSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ComponentSettings.DetectorSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ComponentSettings.DetectorSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComponentSettings.DetectorSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ComponentSettings.DetectorSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ComponentSettings.DetectorSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ComponentSettings.DetectorSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComponentSettings.DetectorSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ComponentSettings.DetectorSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComponentSettings.DetectorSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComponentSettings.DetectorSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComponentSettings.DetectorSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ComponentSettings.DetectorSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ComponentSettings.DetectorSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ComponentSettings.DetectorSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComponentSettings.DetectorSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ComponentSettings.DetectorSettings> parser()
Returns
Type Description
Parser<DetectorSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ComponentSettings.DetectorSettings getDefaultInstanceForType()
Returns
Type Description
ComponentSettings.DetectorSettings

getParserForType()

public Parser<ComponentSettings.DetectorSettings> getParserForType()
Returns
Type Description
Parser<DetectorSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Type Description
ComponentEnablementState

The state.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ComponentSettings.DetectorSettings.Builder newBuilderForType()
Returns
Type Description
ComponentSettings.DetectorSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ComponentSettings.DetectorSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ComponentSettings.DetectorSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ComponentSettings.DetectorSettings.Builder toBuilder()
Returns
Type Description
ComponentSettings.DetectorSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException