Class ComponentSettings.DetectorSettings (0.5.13)

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

Static Methods

getDefaultInstance()

public static ComponentSettings.DetectorSettings getDefaultInstance()
Returns
TypeDescription
ComponentSettings.DetectorSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ComponentSettings.DetectorSettings.Builder newBuilder()
Returns
TypeDescription
ComponentSettings.DetectorSettings.Builder

newBuilder(ComponentSettings.DetectorSettings prototype)

public static ComponentSettings.DetectorSettings.Builder newBuilder(ComponentSettings.DetectorSettings prototype)
Parameter
NameDescription
prototypeComponentSettings.DetectorSettings
Returns
TypeDescription
ComponentSettings.DetectorSettings.Builder

parseDelimitedFrom(InputStream input)

public static ComponentSettings.DetectorSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ComponentSettings.DetectorSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComponentSettings.DetectorSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComponentSettings.DetectorSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ComponentSettings.DetectorSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ComponentSettings.DetectorSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ComponentSettings.DetectorSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComponentSettings.DetectorSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ComponentSettings.DetectorSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ComponentSettings.DetectorSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ComponentSettings.DetectorSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComponentSettings.DetectorSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ComponentSettings.DetectorSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ComponentSettings.DetectorSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ComponentSettings.DetectorSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComponentSettings.DetectorSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ComponentSettings.DetectorSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ComponentSettings.DetectorSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComponentSettings.DetectorSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComponentSettings.DetectorSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ComponentSettings.DetectorSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ComponentSettings.DetectorSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ComponentSettings.DetectorSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComponentSettings.DetectorSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ComponentSettings.DetectorSettings getDefaultInstanceForType()
Returns
TypeDescription
ComponentSettings.DetectorSettings

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for state.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ComponentSettings.DetectorSettings.Builder newBuilderForType()
Returns
TypeDescription
ComponentSettings.DetectorSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ComponentSettings.DetectorSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ComponentSettings.DetectorSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ComponentSettings.DetectorSettings.Builder toBuilder()
Returns
TypeDescription
ComponentSettings.DetectorSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException