public static final class Detector.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Detector.Builder> 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| Modifier and Type | Method and Description |
|---|---|
Detector.Builder |
addAllDetectorLabels(Iterable<String> values)
Output only.
|
Detector.Builder |
addDetectorLabels(String value)
Output only.
|
Detector.Builder |
addDetectorLabelsBytes(com.google.protobuf.ByteString value)
Output only.
|
Detector.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Detector |
build() |
Detector |
buildPartial() |
Detector.Builder |
clear() |
Detector.Builder |
clearBillingTier()
Output only.
|
Detector.Builder |
clearComponent()
Output only.
|
Detector.Builder |
clearDetector()
Output only.
|
Detector.Builder |
clearDetectorLabels()
Output only.
|
Detector.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Detector.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Detector.Builder |
clone() |
BillingTier |
getBillingTier()
Output only.
|
int |
getBillingTierValue()
Output only.
|
String |
getComponent()
Output only.
|
com.google.protobuf.ByteString |
getComponentBytes()
Output only.
|
Detector |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDetector()
Output only.
|
com.google.protobuf.ByteString |
getDetectorBytes()
Output only.
|
String |
getDetectorLabels(int index)
Output only.
|
com.google.protobuf.ByteString |
getDetectorLabelsBytes(int index)
Output only.
|
int |
getDetectorLabelsCount()
Output only.
|
com.google.protobuf.ProtocolStringList |
getDetectorLabelsList()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Detector.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Detector.Builder |
mergeFrom(Detector other) |
Detector.Builder |
mergeFrom(com.google.protobuf.Message other) |
Detector.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Detector.Builder |
setBillingTier(BillingTier value)
Output only.
|
Detector.Builder |
setBillingTierValue(int value)
Output only.
|
Detector.Builder |
setComponent(String value)
Output only.
|
Detector.Builder |
setComponentBytes(com.google.protobuf.ByteString value)
Output only.
|
Detector.Builder |
setDetector(String value)
Output only.
|
Detector.Builder |
setDetectorBytes(com.google.protobuf.ByteString value)
Output only.
|
Detector.Builder |
setDetectorLabels(int index,
String value)
Output only.
|
Detector.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Detector.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Detector.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Detector.Builder>public Detector.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Detector.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Detector.Builder>public Detector getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Detector build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Detector buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Detector.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Detector.Builder>public Detector.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Detector.Builder>public Detector.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Detector.Builder>public Detector.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Detector.Builder>public Detector.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Detector.Builder>public Detector.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Detector.Builder>public Detector.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Detector.Builder>public Detector.Builder mergeFrom(Detector other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Detector.Builder>public Detector.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Detector.Builder>IOExceptionpublic String getDetector()
Output only. Detector Identifier
string detector = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getDetector in interface DetectorOrBuilderpublic com.google.protobuf.ByteString getDetectorBytes()
Output only. Detector Identifier
string detector = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getDetectorBytes in interface DetectorOrBuilderpublic Detector.Builder setDetector(String value)
Output only. Detector Identifier
string detector = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The detector to set.public Detector.Builder clearDetector()
Output only. Detector Identifier
string detector = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Detector.Builder setDetectorBytes(com.google.protobuf.ByteString value)
Output only. Detector Identifier
string detector = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for detector to set.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];getComponent in interface DetectorOrBuilderpublic com.google.protobuf.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];getComponentBytes in interface DetectorOrBuilderpublic Detector.Builder setComponent(String value)
Output only. Component that supports detector type. Multiple components may support the same detector.
string component = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The component to set.public Detector.Builder clearComponent()
Output only. Component that supports detector type. Multiple components may support the same detector.
string component = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public Detector.Builder setComponentBytes(com.google.protobuf.ByteString value)
Output only. Component that supports detector type. Multiple components may support the same detector.
string component = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for component to set.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];
getBillingTierValue in interface DetectorOrBuilderpublic Detector.Builder setBillingTierValue(int value)
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];
value - The enum numeric value on the wire for billingTier to set.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];
getBillingTier in interface DetectorOrBuilderpublic Detector.Builder setBillingTier(BillingTier value)
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];
value - The billingTier to set.public Detector.Builder clearBillingTier()
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];
public com.google.protobuf.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];
getDetectorLabelsList in interface DetectorOrBuilderpublic 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];
getDetectorLabelsCount in interface DetectorOrBuilderpublic 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];
getDetectorLabels in interface DetectorOrBuilderindex - The index of the element to return.public com.google.protobuf.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];
getDetectorLabelsBytes in interface DetectorOrBuilderindex - The index of the value to return.public Detector.Builder setDetectorLabels(int index, String value)
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];
index - The index to set the value at.value - The detectorLabels to set.public Detector.Builder addDetectorLabels(String value)
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];
value - The detectorLabels to add.public Detector.Builder addAllDetectorLabels(Iterable<String> values)
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];
values - The detectorLabels to add.public Detector.Builder clearDetectorLabels()
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];
public Detector.Builder addDetectorLabelsBytes(com.google.protobuf.ByteString value)
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];
value - The bytes of the detectorLabels to add.public final Detector.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Detector.Builder>public final Detector.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Detector.Builder>Copyright © 2024 Google LLC. All rights reserved.