Send feedback
Class Detector (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.16.0 keyboard_arrow_down
public final class Detector extends GeneratedMessageV3 implements DetectorOrBuilder
Detector is a set of detectors or scanners act as individual checks done
within a component e.g. bad IP, bad domains, IAM anomaly, cryptomining, open
firewall, etc. Detector is independent of Organization, meaning each detector
must be defined for a given Security Center component under a specified
billing tier. Organizations can configure the list of detectors based on
their subscribed billing tier.
Defines a detector, its billing tier and any applicable labels.
Protobuf type google.cloud.securitycenter.settings.v1beta1.Detector
Static Fields
BILLING_TIER_FIELD_NUMBER
public static final int BILLING_TIER_FIELD_NUMBER
Field Value Type Description int
COMPONENT_FIELD_NUMBER
public static final int COMPONENT_FIELD_NUMBER
Field Value Type Description int
DETECTOR_FIELD_NUMBER
public static final int DETECTOR_FIELD_NUMBER
Field Value Type Description int
DETECTOR_LABELS_FIELD_NUMBER
public static final int DETECTOR_LABELS_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static Detector getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Detector . Builder newBuilder ()
newBuilder(Detector prototype)
public static Detector . Builder newBuilder ( Detector prototype )
Parameter Name Description prototype
Detector
public static Detector parseDelimitedFrom ( InputStream input )
public static Detector parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Detector parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Detector parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Detector parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Detector parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Detector parseFrom ( CodedInputStream input )
public static Detector parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Detector parseFrom ( InputStream input )
public static Detector parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Detector parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Detector parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Detector> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getBillingTier()
public BillingTier getBillingTier ()
Output only. The billing tier may be different for a detector of the same name in
another component.
.google.cloud.securitycenter.settings.v1beta1.BillingTier billing_tier = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getBillingTierValue()
public int getBillingTierValue ()
Output only. The billing tier may be different for a detector of the same name in
another component.
.google.cloud.securitycenter.settings.v1beta1.BillingTier billing_tier = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description int
The enum numeric value on the wire for billingTier.
getComponent()
public String getComponent ()
Output only. Component that supports detector type. Multiple components may support the
same detector.
string component = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description String
The component.
getComponentBytes()
public ByteString getComponentBytes ()
Output only. Component that supports detector type. Multiple components may support the
same detector.
string component = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description ByteString
The bytes for component.
getDefaultInstanceForType()
public Detector getDefaultInstanceForType ()
getDetector()
public String getDetector ()
Output only. Detector Identifier
string detector = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description String
The detector.
getDetectorBytes()
public ByteString getDetectorBytes ()
Output only. Detector Identifier
string detector = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description ByteString
The bytes for detector.
getDetectorLabels(int index)
public String getDetectorLabels ( int index )
Output only. Google curated detector labels. These are alphanumeric tags that are not
necessarily human readable. Labels can be used to group detectors together
in the future. An example might be tagging all detectors “PCI” that help
with PCI compliance.
repeated string detector_labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter Name Description index
int
The index of the element to return.
Returns Type Description String
The detectorLabels at the given index.
getDetectorLabelsBytes(int index)
public ByteString getDetectorLabelsBytes ( int index )
Output only. Google curated detector labels. These are alphanumeric tags that are not
necessarily human readable. Labels can be used to group detectors together
in the future. An example might be tagging all detectors “PCI” that help
with PCI compliance.
repeated string detector_labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter Name Description index
int
The index of the value to return.
Returns Type Description ByteString
The bytes of the detectorLabels at the given index.
getDetectorLabelsCount()
public int getDetectorLabelsCount ()
Output only. Google curated detector labels. These are alphanumeric tags that are not
necessarily human readable. Labels can be used to group detectors together
in the future. An example might be tagging all detectors “PCI” that help
with PCI compliance.
repeated string detector_labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description int
The count of detectorLabels.
getDetectorLabelsList()
public ProtocolStringList getDetectorLabelsList ()
Output only. Google curated detector labels. These are alphanumeric tags that are not
necessarily human readable. Labels can be used to group detectors together
in the future. An example might be tagging all detectors “PCI” that help
with PCI compliance.
repeated string detector_labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getParserForType()
public Parser<Detector> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Detector . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Detector . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public Detector . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-01 UTC."]]