Class Finding.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
com.google.cloud.securitycenter.v1p1beta1.Finding.Builder
- All Implemented Interfaces:
FindingOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Finding
public static final class Finding.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
implements FindingOrBuilder
Security Command Center finding. A finding is a record of assessment data (security, risk, health or privacy) ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, an XSS vulnerability in an App Engine application is a finding.Protobuf type
google.cloud.securitycenter.v1p1beta1.Finding-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The canonical name of the finding.The additional taxonomy group within findings from a given source.The time at which the finding was created in Security Command Center.The time at which the event took place, or when an update to the finding occurred.The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found.The relative resource name of this finding.The relative resource name of the source the finding belongs to.For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for.Output only.The severity of the finding.The state of the finding.booleanSource specific properties.The canonical name of the finding.com.google.protobuf.ByteStringThe canonical name of the finding.The additional taxonomy group within findings from a given source.com.google.protobuf.ByteStringThe additional taxonomy group within findings from a given source.com.google.protobuf.TimestampThe time at which the finding was created in Security Command Center.com.google.protobuf.Timestamp.BuilderThe time at which the finding was created in Security Command Center.com.google.protobuf.TimestampOrBuilderThe time at which the finding was created in Security Command Center.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampThe time at which the event took place, or when an update to the finding occurred.com.google.protobuf.Timestamp.BuilderThe time at which the event took place, or when an update to the finding occurred.com.google.protobuf.TimestampOrBuilderThe time at which the event took place, or when an update to the finding occurred.The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found.com.google.protobuf.ByteStringThe URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found.Deprecated.getName()The relative resource name of this finding.com.google.protobuf.ByteStringThe relative resource name of this finding.The relative resource name of the source the finding belongs to.com.google.protobuf.ByteStringThe relative resource name of the source the finding belongs to.For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for.com.google.protobuf.ByteStringFor findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for.Output only.Output only.Output only.The severity of the finding.intThe severity of the finding.Deprecated.intSource specific properties.Source specific properties.com.google.protobuf.ValuegetSourcePropertiesOrDefault(String key, com.google.protobuf.Value defaultValue) Source specific properties.com.google.protobuf.ValueSource specific properties.getState()The state of the finding.intThe state of the finding.booleanThe time at which the finding was created in Security Command Center.booleanThe time at which the event took place, or when an update to the finding occurred.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) The time at which the finding was created in Security Command Center.mergeEventTime(com.google.protobuf.Timestamp value) The time at which the event took place, or when an update to the finding occurred.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSecurityMarks(SecurityMarks value) Output only.putAllSourceProperties(Map<String, com.google.protobuf.Value> values) Source specific properties.putSourceProperties(String key, com.google.protobuf.Value value) Source specific properties.com.google.protobuf.Value.BuilderSource specific properties.Source specific properties.setCanonicalName(String value) The canonical name of the finding.setCanonicalNameBytes(com.google.protobuf.ByteString value) The canonical name of the finding.setCategory(String value) The additional taxonomy group within findings from a given source.setCategoryBytes(com.google.protobuf.ByteString value) The additional taxonomy group within findings from a given source.setCreateTime(com.google.protobuf.Timestamp value) The time at which the finding was created in Security Command Center.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which the finding was created in Security Command Center.setEventTime(com.google.protobuf.Timestamp value) The time at which the event took place, or when an update to the finding occurred.setEventTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which the event took place, or when an update to the finding occurred.setExternalUri(String value) The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found.setExternalUriBytes(com.google.protobuf.ByteString value) The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found.The relative resource name of this finding.setNameBytes(com.google.protobuf.ByteString value) The relative resource name of this finding.The relative resource name of the source the finding belongs to.setParentBytes(com.google.protobuf.ByteString value) The relative resource name of the source the finding belongs to.setResourceName(String value) For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for.setResourceNameBytes(com.google.protobuf.ByteString value) For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for.setSecurityMarks(SecurityMarks value) Output only.setSecurityMarks(SecurityMarks.Builder builderForValue) Output only.setSeverity(Finding.Severity value) The severity of the finding.setSeverityValue(int value) The severity of the finding.setState(Finding.State value) The state of the finding.setStateValue(int value) The state of the finding.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Finding.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
-
mergeFrom
public Finding.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Finding.Builder>- Throws:
IOException
-
getName
The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"string name = 1;- Specified by:
getNamein interfaceFindingOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"string name = 1;- Specified by:
getNameBytesin interfaceFindingOrBuilder- Returns:
- The bytes for name.
-
setName
The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The relative resource name of this finding. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getParent
The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/{organization_id}/sources/{source_id}"string parent = 2;- Specified by:
getParentin interfaceFindingOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/{organization_id}/sources/{source_id}"string parent = 2;- Specified by:
getParentBytesin interfaceFindingOrBuilder- Returns:
- The bytes for parent.
-
setParent
The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/{organization_id}/sources/{source_id}"string parent = 2;- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/{organization_id}/sources/{source_id}"string parent = 2;- Returns:
- This builder for chaining.
-
setParentBytes
The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: "organizations/{organization_id}/sources/{source_id}"string parent = 2;- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getResourceName
For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
string resource_name = 3;- Specified by:
getResourceNamein interfaceFindingOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
string resource_name = 3;- Specified by:
getResourceNameBytesin interfaceFindingOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
string resource_name = 3;- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
string resource_name = 3;- Returns:
- This builder for chaining.
-
setResourceNameBytes
For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. See: https://cloud.google.com/apis/design/resource_names#full_resource_name When the finding is for a non-Google Cloud resource, the resourceName can be a customer or partner defined string. This field is immutable after creation time.
string resource_name = 3;- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()The state of the finding.
.google.cloud.securitycenter.v1p1beta1.Finding.State state = 4;- Specified by:
getStateValuein interfaceFindingOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
The state of the finding.
.google.cloud.securitycenter.v1p1beta1.Finding.State state = 4;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
The state of the finding.
.google.cloud.securitycenter.v1p1beta1.Finding.State state = 4;- Specified by:
getStatein interfaceFindingOrBuilder- Returns:
- The state.
-
setState
The state of the finding.
.google.cloud.securitycenter.v1p1beta1.Finding.State state = 4;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
The state of the finding.
.google.cloud.securitycenter.v1p1beta1.Finding.State state = 4;- Returns:
- This builder for chaining.
-
getCategory
The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
string category = 5;- Specified by:
getCategoryin interfaceFindingOrBuilder- Returns:
- The category.
-
getCategoryBytes
public com.google.protobuf.ByteString getCategoryBytes()The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
string category = 5;- Specified by:
getCategoryBytesin interfaceFindingOrBuilder- Returns:
- The bytes for category.
-
setCategory
The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
string category = 5;- Parameters:
value- The category to set.- Returns:
- This builder for chaining.
-
clearCategory
The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
string category = 5;- Returns:
- This builder for chaining.
-
setCategoryBytes
The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
string category = 5;- Parameters:
value- The bytes for category to set.- Returns:
- This builder for chaining.
-
getExternalUri
The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.
string external_uri = 6;- Specified by:
getExternalUriin interfaceFindingOrBuilder- Returns:
- The externalUri.
-
getExternalUriBytes
public com.google.protobuf.ByteString getExternalUriBytes()The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.
string external_uri = 6;- Specified by:
getExternalUriBytesin interfaceFindingOrBuilder- Returns:
- The bytes for externalUri.
-
setExternalUri
The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.
string external_uri = 6;- Parameters:
value- The externalUri to set.- Returns:
- This builder for chaining.
-
clearExternalUri
The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.
string external_uri = 6;- Returns:
- This builder for chaining.
-
setExternalUriBytes
The URI that, if available, points to a web page outside of Security Command Center where additional information about the finding can be found. This field is guaranteed to be either empty or a well formed URL.
string external_uri = 6;- Parameters:
value- The bytes for externalUri to set.- Returns:
- This builder for chaining.
-
getSourcePropertiesCount
public int getSourcePropertiesCount()Description copied from interface:FindingOrBuilderSource specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
map<string, .google.protobuf.Value> source_properties = 7;- Specified by:
getSourcePropertiesCountin interfaceFindingOrBuilder
-
containsSourceProperties
Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
map<string, .google.protobuf.Value> source_properties = 7;- Specified by:
containsSourcePropertiesin interfaceFindingOrBuilder
-
getSourceProperties
Deprecated.UsegetSourcePropertiesMap()instead.- Specified by:
getSourcePropertiesin interfaceFindingOrBuilder
-
getSourcePropertiesMap
Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
map<string, .google.protobuf.Value> source_properties = 7;- Specified by:
getSourcePropertiesMapin interfaceFindingOrBuilder
-
getSourcePropertiesOrDefault
public com.google.protobuf.Value getSourcePropertiesOrDefault(String key, com.google.protobuf.Value defaultValue) Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
map<string, .google.protobuf.Value> source_properties = 7;- Specified by:
getSourcePropertiesOrDefaultin interfaceFindingOrBuilder
-
getSourcePropertiesOrThrow
Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
map<string, .google.protobuf.Value> source_properties = 7;- Specified by:
getSourcePropertiesOrThrowin interfaceFindingOrBuilder
-
clearSourceProperties
-
removeSourceProperties
Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
map<string, .google.protobuf.Value> source_properties = 7; -
getMutableSourceProperties
Deprecated.Use alternate mutation accessors instead. -
putSourceProperties
Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
map<string, .google.protobuf.Value> source_properties = 7; -
putAllSourceProperties
Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
map<string, .google.protobuf.Value> source_properties = 7; -
putSourcePropertiesBuilderIfAbsent
Source specific properties. These properties are managed by the source that writes the finding. The key names in the source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only.
map<string, .google.protobuf.Value> source_properties = 7; -
hasSecurityMarks
public boolean hasSecurityMarks()Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSecurityMarksin interfaceFindingOrBuilder- Returns:
- Whether the securityMarks field is set.
-
getSecurityMarks
Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSecurityMarksin interfaceFindingOrBuilder- Returns:
- The securityMarks.
-
setSecurityMarks
Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setSecurityMarks
Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeSecurityMarks
Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearSecurityMarks
Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSecurityMarksBuilder
Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSecurityMarksOrBuilder
Output only. User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the finding.
.google.cloud.securitycenter.v1p1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSecurityMarksOrBuilderin interfaceFindingOrBuilder
-
hasEventTime
public boolean hasEventTime()The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved. Must not be set to a value greater than the current timestamp.
.google.protobuf.Timestamp event_time = 9;- Specified by:
hasEventTimein interfaceFindingOrBuilder- Returns:
- Whether the eventTime field is set.
-
getEventTime
public com.google.protobuf.Timestamp getEventTime()The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved. Must not be set to a value greater than the current timestamp.
.google.protobuf.Timestamp event_time = 9;- Specified by:
getEventTimein interfaceFindingOrBuilder- Returns:
- The eventTime.
-
setEventTime
The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved. Must not be set to a value greater than the current timestamp.
.google.protobuf.Timestamp event_time = 9; -
setEventTime
The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved. Must not be set to a value greater than the current timestamp.
.google.protobuf.Timestamp event_time = 9; -
mergeEventTime
The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved. Must not be set to a value greater than the current timestamp.
.google.protobuf.Timestamp event_time = 9; -
clearEventTime
The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved. Must not be set to a value greater than the current timestamp.
.google.protobuf.Timestamp event_time = 9; -
getEventTimeBuilder
public com.google.protobuf.Timestamp.Builder getEventTimeBuilder()The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved. Must not be set to a value greater than the current timestamp.
.google.protobuf.Timestamp event_time = 9; -
getEventTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder()The time at which the event took place, or when an update to the finding occurred. For example, if the finding represents an open firewall it would capture the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding were to be resolved afterward, this time would reflect when the finding was resolved. Must not be set to a value greater than the current timestamp.
.google.protobuf.Timestamp event_time = 9;- Specified by:
getEventTimeOrBuilderin interfaceFindingOrBuilder
-
hasCreateTime
public boolean hasCreateTime()The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;- Specified by:
hasCreateTimein interfaceFindingOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;- Specified by:
getCreateTimein interfaceFindingOrBuilder- Returns:
- The createTime.
-
setCreateTime
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10; -
setCreateTime
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10; -
mergeCreateTime
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10; -
clearCreateTime
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;- Specified by:
getCreateTimeOrBuilderin interfaceFindingOrBuilder
-
getSeverityValue
public int getSeverityValue()The severity of the finding. This field is managed by the source that writes the finding.
.google.cloud.securitycenter.v1p1beta1.Finding.Severity severity = 13;- Specified by:
getSeverityValuein interfaceFindingOrBuilder- Returns:
- The enum numeric value on the wire for severity.
-
setSeverityValue
The severity of the finding. This field is managed by the source that writes the finding.
.google.cloud.securitycenter.v1p1beta1.Finding.Severity severity = 13;- Parameters:
value- The enum numeric value on the wire for severity to set.- Returns:
- This builder for chaining.
-
getSeverity
The severity of the finding. This field is managed by the source that writes the finding.
.google.cloud.securitycenter.v1p1beta1.Finding.Severity severity = 13;- Specified by:
getSeverityin interfaceFindingOrBuilder- Returns:
- The severity.
-
setSeverity
The severity of the finding. This field is managed by the source that writes the finding.
.google.cloud.securitycenter.v1p1beta1.Finding.Severity severity = 13;- Parameters:
value- The severity to set.- Returns:
- This builder for chaining.
-
clearSeverity
The severity of the finding. This field is managed by the source that writes the finding.
.google.cloud.securitycenter.v1p1beta1.Finding.Severity severity = 13;- Returns:
- This builder for chaining.
-
getCanonicalName
The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or "projects/{project_number}/sources/{source_id}/findings/{finding_id}", depending on the closest CRM ancestor of the resource associated with the finding.string canonical_name = 14;- Specified by:
getCanonicalNamein interfaceFindingOrBuilder- Returns:
- The canonicalName.
-
getCanonicalNameBytes
public com.google.protobuf.ByteString getCanonicalNameBytes()The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or "projects/{project_number}/sources/{source_id}/findings/{finding_id}", depending on the closest CRM ancestor of the resource associated with the finding.string canonical_name = 14;- Specified by:
getCanonicalNameBytesin interfaceFindingOrBuilder- Returns:
- The bytes for canonicalName.
-
setCanonicalName
The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or "projects/{project_number}/sources/{source_id}/findings/{finding_id}", depending on the closest CRM ancestor of the resource associated with the finding.string canonical_name = 14;- Parameters:
value- The canonicalName to set.- Returns:
- This builder for chaining.
-
clearCanonicalName
The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or "projects/{project_number}/sources/{source_id}/findings/{finding_id}", depending on the closest CRM ancestor of the resource associated with the finding.string canonical_name = 14;- Returns:
- This builder for chaining.
-
setCanonicalNameBytes
The canonical name of the finding. It's either "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or "projects/{project_number}/sources/{source_id}/findings/{finding_id}", depending on the closest CRM ancestor of the resource associated with the finding.string canonical_name = 14;- Parameters:
value- The bytes for canonicalName to set.- Returns:
- This builder for chaining.
-