public interface SimulatedFindingOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsSourceProperties(String key)
public abstract 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 = 6;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getCategory()
public abstract 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 = 4;
Returns | |
---|---|
Type | Description |
String |
The category. |
getCategoryBytes()
public abstract 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 = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for category. |
getEventTime()
public abstract Timestamp getEventTime()
The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.
.google.protobuf.Timestamp event_time = 7;
Returns | |
---|---|
Type | Description |
Timestamp |
The eventTime. |
getEventTimeOrBuilder()
public abstract TimestampOrBuilder getEventTimeOrBuilder()
The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.
.google.protobuf.Timestamp event_time = 7;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getFindingClass()
public abstract SimulatedFinding.FindingClass getFindingClass()
The class of the finding.
.google.cloud.securitycentermanagement.v1.SimulatedFinding.FindingClass finding_class = 9;
Returns | |
---|---|
Type | Description |
SimulatedFinding.FindingClass |
The findingClass. |
getFindingClassValue()
public abstract int getFindingClassValue()
The class of the finding.
.google.cloud.securitycentermanagement.v1.SimulatedFinding.FindingClass finding_class = 9;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for findingClass. |
getName()
public abstract String getName()
Identifier. The relative resource
name
of the finding. Example:
organizations/{organization_id}/sources/{source_id}/findings/{finding_id}
,
folders/{folder_id}/sources/{source_id}/findings/{finding_id}
,
projects/{project_id}/sources/{source_id}/findings/{finding_id}
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Identifier. The relative resource
name
of the finding. Example:
organizations/{organization_id}/sources/{source_id}/findings/{finding_id}
,
folders/{folder_id}/sources/{source_id}/findings/{finding_id}
,
projects/{project_id}/sources/{source_id}/findings/{finding_id}
.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getParent()
public abstract String 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;
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public abstract 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getResourceName()
public abstract 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;
Returns | |
---|---|
Type | Description |
String |
The resourceName. |
getResourceNameBytes()
public abstract 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for resourceName. |
getSeverity()
public abstract SimulatedFinding.Severity getSeverity()
The severity of the finding. This field is managed by the source that writes the finding.
.google.cloud.securitycentermanagement.v1.SimulatedFinding.Severity severity = 8;
Returns | |
---|---|
Type | Description |
SimulatedFinding.Severity |
The severity. |
getSeverityValue()
public abstract int getSeverityValue()
The severity of the finding. This field is managed by the source that writes the finding.
.google.cloud.securitycentermanagement.v1.SimulatedFinding.Severity severity = 8;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for severity. |
getSourceProperties() (deprecated)
public abstract Map<String,Value> getSourceProperties()
Use #getSourcePropertiesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,Value> |
getSourcePropertiesCount()
public abstract int getSourcePropertiesCount()
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 = 6;
Returns | |
---|---|
Type | Description |
int |
getSourcePropertiesMap()
public abstract 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 = 6;
Returns | |
---|---|
Type | Description |
Map<String,Value> |
getSourcePropertiesOrDefault(String key, Value defaultValue)
public abstract 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 = 6;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
Value |
Returns | |
---|---|
Type | Description |
Value |
getSourcePropertiesOrThrow(String key)
public abstract 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 = 6;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
Value |
getState()
public abstract SimulatedFinding.State getState()
Output only. The state of the finding.
.google.cloud.securitycentermanagement.v1.SimulatedFinding.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
SimulatedFinding.State |
The state. |
getStateValue()
public abstract int getStateValue()
Output only. The state of the finding.
.google.cloud.securitycentermanagement.v1.SimulatedFinding.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
hasEventTime()
public abstract boolean hasEventTime()
The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. If the finding is later resolved, then this time reflects when the finding was resolved. This must not be set to a value greater than the current timestamp.
.google.protobuf.Timestamp event_time = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the eventTime field is set. |