public static final class Finding.Builder extends GeneratedMessageV3.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.v1beta1.Finding
Modifier and Type | Method and Description |
---|---|
Finding.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
Finding |
build() |
Finding |
buildPartial() |
Finding.Builder |
clear() |
Finding.Builder |
clearCategory()
The additional taxonomy group within findings from a given source.
|
Finding.Builder |
clearCreateTime()
The time at which the finding was created in Security Command Center.
|
Finding.Builder |
clearEventTime()
The time at which the event took place, or when an update to the finding
occurred.
|
Finding.Builder |
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.
|
Finding.Builder |
clearField(Descriptors.FieldDescriptor field) |
Finding.Builder |
clearName()
The relative resource name of this finding.
|
Finding.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Finding.Builder |
clearParent()
Immutable.
|
Finding.Builder |
clearResourceName()
For findings on Google Cloud resources, the full resource
name of the Google Cloud resource this finding is for.
|
Finding.Builder |
clearSecurityMarks()
Output only.
|
Finding.Builder |
clearSourceProperties() |
Finding.Builder |
clearState()
The state of the finding.
|
Finding.Builder |
clone() |
boolean |
containsSourceProperties(String key)
Source specific properties.
|
String |
getCategory()
The additional taxonomy group within findings from a given source.
|
ByteString |
getCategoryBytes()
The additional taxonomy group within findings from a given source.
|
Timestamp |
getCreateTime()
The time at which the finding was created in Security Command Center.
|
Timestamp.Builder |
getCreateTimeBuilder()
The time at which the finding was created in Security Command Center.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
The time at which the finding was created in Security Command Center.
|
Finding |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Timestamp |
getEventTime()
The time at which the event took place, or when an update to the finding
occurred.
|
Timestamp.Builder |
getEventTimeBuilder()
The time at which the event took place, or when an update to the finding
occurred.
|
TimestampOrBuilder |
getEventTimeOrBuilder()
The time at which the event took place, or when an update to the finding
occurred.
|
String |
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.
|
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.
|
Map<String,Value> |
getMutableSourceProperties()
Deprecated.
|
String |
getName()
The relative resource name of this finding.
|
ByteString |
getNameBytes()
The relative resource name of this finding.
|
String |
getParent()
Immutable.
|
ByteString |
getParentBytes()
Immutable.
|
String |
getResourceName()
For findings on Google Cloud resources, the full resource
name of the Google Cloud resource this finding is for.
|
ByteString |
getResourceNameBytes()
For findings on Google Cloud resources, the full resource
name of the Google Cloud resource this finding is for.
|
SecurityMarks |
getSecurityMarks()
Output only.
|
SecurityMarks.Builder |
getSecurityMarksBuilder()
Output only.
|
SecurityMarksOrBuilder |
getSecurityMarksOrBuilder()
Output only.
|
Map<String,Value> |
getSourceProperties()
Deprecated.
|
int |
getSourcePropertiesCount()
Source specific properties.
|
Map<String,Value> |
getSourcePropertiesMap()
Source specific properties.
|
Value |
getSourcePropertiesOrDefault(String key,
Value defaultValue)
Source specific properties.
|
Value |
getSourcePropertiesOrThrow(String key)
Source specific properties.
|
Finding.State |
getState()
The state of the finding.
|
int |
getStateValue()
The state of the finding.
|
boolean |
hasCreateTime()
The time at which the finding was created in Security Command Center.
|
boolean |
hasEventTime()
The time at which the event took place, or when an update to the finding
occurred.
|
boolean |
hasSecurityMarks()
Output only.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
protected MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Finding.Builder |
mergeCreateTime(Timestamp value)
The time at which the finding was created in Security Command Center.
|
Finding.Builder |
mergeEventTime(Timestamp value)
The time at which the event took place, or when an update to the finding
occurred.
|
Finding.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Finding.Builder |
mergeFrom(Finding other) |
Finding.Builder |
mergeFrom(Message other) |
Finding.Builder |
mergeSecurityMarks(SecurityMarks value)
Output only.
|
Finding.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Finding.Builder |
putAllSourceProperties(Map<String,Value> values)
Source specific properties.
|
Finding.Builder |
putSourceProperties(String key,
Value value)
Source specific properties.
|
Finding.Builder |
removeSourceProperties(String key)
Source specific properties.
|
Finding.Builder |
setCategory(String value)
The additional taxonomy group within findings from a given source.
|
Finding.Builder |
setCategoryBytes(ByteString value)
The additional taxonomy group within findings from a given source.
|
Finding.Builder |
setCreateTime(Timestamp.Builder builderForValue)
The time at which the finding was created in Security Command Center.
|
Finding.Builder |
setCreateTime(Timestamp value)
The time at which the finding was created in Security Command Center.
|
Finding.Builder |
setEventTime(Timestamp.Builder builderForValue)
The time at which the event took place, or when an update to the finding
occurred.
|
Finding.Builder |
setEventTime(Timestamp value)
The time at which the event took place, or when an update to the finding
occurred.
|
Finding.Builder |
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.
|
Finding.Builder |
setExternalUriBytes(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.
|
Finding.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
Finding.Builder |
setName(String value)
The relative resource name of this finding.
|
Finding.Builder |
setNameBytes(ByteString value)
The relative resource name of this finding.
|
Finding.Builder |
setParent(String value)
Immutable.
|
Finding.Builder |
setParentBytes(ByteString value)
Immutable.
|
Finding.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
Finding.Builder |
setResourceName(String value)
For findings on Google Cloud resources, the full resource
name of the Google Cloud resource this finding is for.
|
Finding.Builder |
setResourceNameBytes(ByteString value)
For findings on Google Cloud resources, the full resource
name of the Google Cloud resource this finding is for.
|
Finding.Builder |
setSecurityMarks(SecurityMarks.Builder builderForValue)
Output only.
|
Finding.Builder |
setSecurityMarks(SecurityMarks value)
Output only.
|
Finding.Builder |
setState(Finding.State value)
The state of the finding.
|
Finding.Builder |
setStateValue(int value)
The state of the finding.
|
Finding.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<Finding.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<Finding.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Finding.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Finding build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Finding buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Finding.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Finding.Builder>
public Finding.Builder mergeFrom(Finding other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Finding.Builder>
public Finding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Finding.Builder>
IOException
public String 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;
getName
in interface FindingOrBuilder
public 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;
getNameBytes
in interface FindingOrBuilder
public Finding.Builder setName(String value)
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;
value
- The name to set.public Finding.Builder 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;
public Finding.Builder setNameBytes(ByteString value)
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;
value
- The bytes for name to set.public String getParent()
Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE];
getParent
in interface FindingOrBuilder
public ByteString getParentBytes()
Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE];
getParentBytes
in interface FindingOrBuilder
public Finding.Builder setParent(String value)
Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE];
value
- The parent to set.public Finding.Builder clearParent()
Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE];
public Finding.Builder setParentBytes(ByteString value)
Immutable. 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 [(.google.api.field_behavior) = IMMUTABLE];
value
- The bytes for parent to set.public String 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;
getResourceName
in interface FindingOrBuilder
public 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;
getResourceNameBytes
in interface FindingOrBuilder
public Finding.Builder setResourceName(String value)
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;
value
- The resourceName to set.public Finding.Builder 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;
public Finding.Builder setResourceNameBytes(ByteString value)
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;
value
- The bytes for resourceName to set.public int getStateValue()
The state of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 4;
getStateValue
in interface FindingOrBuilder
public Finding.Builder setStateValue(int value)
The state of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 4;
value
- The enum numeric value on the wire for state to set.public Finding.State getState()
The state of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 4;
getState
in interface FindingOrBuilder
public Finding.Builder setState(Finding.State value)
The state of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 4;
value
- The state to set.public Finding.Builder clearState()
The state of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 4;
public String 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;
getCategory
in interface FindingOrBuilder
public 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;
getCategoryBytes
in interface FindingOrBuilder
public Finding.Builder setCategory(String value)
The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
string category = 5;
value
- The category to set.public Finding.Builder 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;
public Finding.Builder setCategoryBytes(ByteString value)
The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: "XSS_FLASH_INJECTION"
string category = 5;
value
- The bytes for category to set.public String 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;
getExternalUri
in interface FindingOrBuilder
public 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;
getExternalUriBytes
in interface FindingOrBuilder
public Finding.Builder 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. This field is guaranteed to be either empty or a well formed URL.
string external_uri = 6;
value
- The externalUri to set.public Finding.Builder 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;
public Finding.Builder setExternalUriBytes(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. This field is guaranteed to be either empty or a well formed URL.
string external_uri = 6;
value
- The bytes for externalUri to set.public int getSourcePropertiesCount()
FindingOrBuilder
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;
getSourcePropertiesCount
in interface FindingOrBuilder
public boolean containsSourceProperties(String key)
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;
containsSourceProperties
in interface FindingOrBuilder
@Deprecated public Map<String,Value> getSourceProperties()
getSourcePropertiesMap()
instead.getSourceProperties
in interface FindingOrBuilder
public Map<String,Value> 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;
getSourcePropertiesMap
in interface FindingOrBuilder
public Value getSourcePropertiesOrDefault(String key, 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;
getSourcePropertiesOrDefault
in interface FindingOrBuilder
public Value getSourcePropertiesOrThrow(String key)
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;
getSourcePropertiesOrThrow
in interface FindingOrBuilder
public Finding.Builder clearSourceProperties()
public Finding.Builder removeSourceProperties(String key)
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;
@Deprecated public Map<String,Value> getMutableSourceProperties()
public Finding.Builder putSourceProperties(String key, Value value)
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;
public Finding.Builder putAllSourceProperties(Map<String,Value> values)
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;
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.v1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasSecurityMarks
in interface FindingOrBuilder
public SecurityMarks 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.v1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSecurityMarks
in interface FindingOrBuilder
public Finding.Builder setSecurityMarks(SecurityMarks value)
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.v1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Finding.Builder setSecurityMarks(SecurityMarks.Builder builderForValue)
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.v1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Finding.Builder mergeSecurityMarks(SecurityMarks value)
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.v1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Finding.Builder 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.v1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public SecurityMarks.Builder 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.v1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public SecurityMarksOrBuilder 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.v1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSecurityMarksOrBuilder
in interface FindingOrBuilder
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.
.google.protobuf.Timestamp event_time = 9;
hasEventTime
in interface FindingOrBuilder
public 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.
.google.protobuf.Timestamp event_time = 9;
getEventTime
in interface FindingOrBuilder
public Finding.Builder setEventTime(Timestamp value)
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.
.google.protobuf.Timestamp event_time = 9;
public Finding.Builder setEventTime(Timestamp.Builder builderForValue)
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.
.google.protobuf.Timestamp event_time = 9;
public Finding.Builder mergeEventTime(Timestamp value)
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.
.google.protobuf.Timestamp event_time = 9;
public Finding.Builder 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.
.google.protobuf.Timestamp event_time = 9;
public 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.
.google.protobuf.Timestamp event_time = 9;
public 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.
.google.protobuf.Timestamp event_time = 9;
getEventTimeOrBuilder
in interface FindingOrBuilder
public boolean hasCreateTime()
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;
hasCreateTime
in interface FindingOrBuilder
public Timestamp getCreateTime()
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;
getCreateTime
in interface FindingOrBuilder
public Finding.Builder setCreateTime(Timestamp value)
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;
public Finding.Builder setCreateTime(Timestamp.Builder builderForValue)
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;
public Finding.Builder mergeCreateTime(Timestamp value)
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;
public Finding.Builder clearCreateTime()
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;
public Timestamp.Builder getCreateTimeBuilder()
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;
public TimestampOrBuilder getCreateTimeOrBuilder()
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;
getCreateTimeOrBuilder
in interface FindingOrBuilder
public final Finding.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Finding.Builder>
public final Finding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Finding.Builder>
Copyright © 2022 Google LLC. All rights reserved.