- 0.57.0 (latest)
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.6
- 0.5.13
public static final class Detector.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Detector.BuilderImplements
DetectorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllDetectorLabels(Iterable<String> values)
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];
Name | Description |
values | Iterable<String> The detectorLabels to add. |
Type | Description |
Detector.Builder | This builder for chaining. |
addDetectorLabels(String value)
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];
Name | Description |
value | String The detectorLabels to add. |
Type | Description |
Detector.Builder | This builder for chaining. |
addDetectorLabelsBytes(ByteString value)
public Detector.Builder addDetectorLabelsBytes(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];
Name | Description |
value | ByteString The bytes of the detectorLabels to add. |
Type | Description |
Detector.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Detector.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Detector.Builder |
build()
public Detector build()
Type | Description |
Detector |
buildPartial()
public Detector buildPartial()
Type | Description |
Detector |
clear()
public Detector.Builder clear()
Type | Description |
Detector.Builder |
clearBillingTier()
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];
Type | Description |
Detector.Builder | This builder for chaining. |
clearComponent()
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];
Type | Description |
Detector.Builder | This builder for chaining. |
clearDetector()
public Detector.Builder clearDetector()
Output only. Detector Identifier
string detector = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Detector.Builder | This builder for chaining. |
clearDetectorLabels()
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];
Type | Description |
Detector.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Detector.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Detector.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Detector.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Detector.Builder |
clone()
public Detector.Builder clone()
Type | Description |
Detector.Builder |
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];
Type | Description |
BillingTier | The billingTier. |
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];
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];
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];
Type | Description |
ByteString | The bytes for component. |
getDefaultInstanceForType()
public Detector getDefaultInstanceForType()
Type | Description |
Detector |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDetector()
public String getDetector()
Output only. Detector Identifier
string detector = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The detector. |
getDetectorBytes()
public ByteString getDetectorBytes()
Output only. Detector Identifier
string detector = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
Name | Description |
index | int The index of the element to return. |
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];
Name | Description |
index | int The index of the value to return. |
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];
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];
Type | Description |
ProtocolStringList | A list containing the detectorLabels. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Detector other)
public Detector.Builder mergeFrom(Detector other)
Name | Description |
other | Detector |
Type | Description |
Detector.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Detector.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Detector.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Detector.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Detector.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Detector.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Detector.Builder |
setBillingTier(BillingTier value)
public 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];
Name | Description |
value | BillingTier The billingTier to set. |
Type | Description |
Detector.Builder | This builder for chaining. |
setBillingTierValue(int value)
public 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];
Name | Description |
value | int The enum numeric value on the wire for billingTier to set. |
Type | Description |
Detector.Builder | This builder for chaining. |
setComponent(String value)
public 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];
Name | Description |
value | String The component to set. |
Type | Description |
Detector.Builder | This builder for chaining. |
setComponentBytes(ByteString value)
public Detector.Builder setComponentBytes(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];
Name | Description |
value | ByteString The bytes for component to set. |
Type | Description |
Detector.Builder | This builder for chaining. |
setDetector(String value)
public Detector.Builder setDetector(String value)
Output only. Detector Identifier
string detector = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The detector to set. |
Type | Description |
Detector.Builder | This builder for chaining. |
setDetectorBytes(ByteString value)
public Detector.Builder setDetectorBytes(ByteString value)
Output only. Detector Identifier
string detector = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for detector to set. |
Type | Description |
Detector.Builder | This builder for chaining. |
setDetectorLabels(int index, String value)
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];
Name | Description |
index | int The index to set the value at. |
value | String The detectorLabels to set. |
Type | Description |
Detector.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Detector.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Detector.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Detector.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Detector.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Detector.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Detector.Builder |