Class Settings.DetectorGroupSettings (0.21.0)

public static final class Settings.DetectorGroupSettings extends GeneratedMessageV3 implements Settings.DetectorGroupSettingsOrBuilder

The DetectorGroupSettings define the configuration for a detector group.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Settings.DetectorGroupSettings

Static Fields

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Settings.DetectorGroupSettings getDefaultInstance()
Returns
TypeDescription
Settings.DetectorGroupSettings

getDescriptor()

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

newBuilder()

public static Settings.DetectorGroupSettings.Builder newBuilder()
Returns
TypeDescription
Settings.DetectorGroupSettings.Builder

newBuilder(Settings.DetectorGroupSettings prototype)

public static Settings.DetectorGroupSettings.Builder newBuilder(Settings.DetectorGroupSettings prototype)
Parameter
NameDescription
prototypeSettings.DetectorGroupSettings
Returns
TypeDescription
Settings.DetectorGroupSettings.Builder

parseDelimitedFrom(InputStream input)

public static Settings.DetectorGroupSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Settings.DetectorGroupSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Settings.DetectorGroupSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Settings.DetectorGroupSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Settings.DetectorGroupSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Settings.DetectorGroupSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Settings.DetectorGroupSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Settings.DetectorGroupSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Settings.DetectorGroupSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Settings.DetectorGroupSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Settings.DetectorGroupSettings> parser()
Returns
TypeDescription
Parser<DetectorGroupSettings>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

public Parser<Settings.DetectorGroupSettings> getParserForType()
Returns
TypeDescription
Parser<DetectorGroupSettings>
Overrides

getSerializedSize()

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

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 Settings.DetectorGroupSettings.Builder newBuilderForType()
Returns
TypeDescription
Settings.DetectorGroupSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Settings.DetectorGroupSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Settings.DetectorGroupSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Settings.DetectorGroupSettings.Builder toBuilder()
Returns
TypeDescription
Settings.DetectorGroupSettings.Builder

writeTo(CodedOutputStream output)

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