Class Finding.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
- com.google.cloud.securitycenter.v1beta1.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.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 typegoogle.cloud.securitycenter.v1beta1.Finding
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Finding.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Findingbuild()FindingbuildPartial()Finding.Builderclear()Finding.BuilderclearCategory()The additional taxonomy group within findings from a given source.Finding.BuilderclearCreateTime()The time at which the finding was created in Security Command Center.Finding.BuilderclearEventTime()The time at which the event took place, or when an update to the finding occurred.Finding.BuilderclearExternalUri()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.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Finding.BuilderclearName()The relative resource name of this finding.Finding.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Finding.BuilderclearParent()Immutable.Finding.BuilderclearResourceName()For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for.Finding.BuilderclearSecurityMarks()Output only.Finding.BuilderclearSourceProperties()Finding.BuilderclearState()The state of the finding.Finding.Builderclone()booleancontainsSourceProperties(String key)Source specific properties.StringgetCategory()The additional taxonomy group within findings from a given source.com.google.protobuf.ByteStringgetCategoryBytes()The additional taxonomy group within findings from a given source.com.google.protobuf.TimestampgetCreateTime()The time at which the finding was created in Security Command Center.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()The time at which the finding was created in Security Command Center.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The time at which the finding was created in Security Command Center.FindinggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetEventTime()The time at which the event took place, or when an update to the finding occurred.com.google.protobuf.Timestamp.BuildergetEventTimeBuilder()The time at which the event took place, or when an update to the finding occurred.com.google.protobuf.TimestampOrBuildergetEventTimeOrBuilder()The time at which the event took place, or when an update to the finding occurred.StringgetExternalUri()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.ByteStringgetExternalUriBytes()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,com.google.protobuf.Value>getMutableSourceProperties()Deprecated.StringgetName()The relative resource name of this finding.com.google.protobuf.ByteStringgetNameBytes()The relative resource name of this finding.StringgetParent()Immutable.com.google.protobuf.ByteStringgetParentBytes()Immutable.StringgetResourceName()For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for.com.google.protobuf.ByteStringgetResourceNameBytes()For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for.SecurityMarksgetSecurityMarks()Output only.SecurityMarks.BuildergetSecurityMarksBuilder()Output only.SecurityMarksOrBuildergetSecurityMarksOrBuilder()Output only.Map<String,com.google.protobuf.Value>getSourceProperties()Deprecated.intgetSourcePropertiesCount()Source specific properties.Map<String,com.google.protobuf.Value>getSourcePropertiesMap()Source specific properties.com.google.protobuf.ValuegetSourcePropertiesOrDefault(String key, com.google.protobuf.Value defaultValue)Source specific properties.com.google.protobuf.ValuegetSourcePropertiesOrThrow(String key)Source specific properties.Finding.StategetState()The state of the finding.intgetStateValue()The state of the finding.booleanhasCreateTime()The time at which the finding was created in Security Command Center.booleanhasEventTime()The time at which the event took place, or when an update to the finding occurred.booleanhasSecurityMarks()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Finding.BuildermergeCreateTime(com.google.protobuf.Timestamp value)The time at which the finding was created in Security Command Center.Finding.BuildermergeEventTime(com.google.protobuf.Timestamp value)The time at which the event took place, or when an update to the finding occurred.Finding.BuildermergeFrom(Finding other)Finding.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Finding.BuildermergeFrom(com.google.protobuf.Message other)Finding.BuildermergeSecurityMarks(SecurityMarks value)Output only.Finding.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Finding.BuilderputAllSourceProperties(Map<String,com.google.protobuf.Value> values)Source specific properties.Finding.BuilderputSourceProperties(String key, com.google.protobuf.Value value)Source specific properties.Finding.BuilderremoveSourceProperties(String key)Source specific properties.Finding.BuildersetCategory(String value)The additional taxonomy group within findings from a given source.Finding.BuildersetCategoryBytes(com.google.protobuf.ByteString value)The additional taxonomy group within findings from a given source.Finding.BuildersetCreateTime(com.google.protobuf.Timestamp value)The time at which the finding was created in Security Command Center.Finding.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)The time at which the finding was created in Security Command Center.Finding.BuildersetEventTime(com.google.protobuf.Timestamp value)The time at which the event took place, or when an update to the finding occurred.Finding.BuildersetEventTime(com.google.protobuf.Timestamp.Builder builderForValue)The time at which the event took place, or when an update to the finding occurred.Finding.BuildersetExternalUri(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.BuildersetExternalUriBytes(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.Finding.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Finding.BuildersetName(String value)The relative resource name of this finding.Finding.BuildersetNameBytes(com.google.protobuf.ByteString value)The relative resource name of this finding.Finding.BuildersetParent(String value)Immutable.Finding.BuildersetParentBytes(com.google.protobuf.ByteString value)Immutable.Finding.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Finding.BuildersetResourceName(String value)For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for.Finding.BuildersetResourceNameBytes(com.google.protobuf.ByteString value)For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for.Finding.BuildersetSecurityMarks(SecurityMarks value)Output only.Finding.BuildersetSecurityMarks(SecurityMarks.Builder builderForValue)Output only.Finding.BuildersetState(Finding.State value)The state of the finding.Finding.BuildersetStateValue(int value)The state of the finding.Finding.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
clear
public Finding.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Finding.Builder>
-
getDefaultInstanceForType
public Finding getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Finding build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Finding buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Finding.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
setField
public Finding.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
clearField
public Finding.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
clearOneof
public Finding.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
setRepeatedField
public Finding.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
addRepeatedField
public Finding.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
mergeFrom
public Finding.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Finding.Builder>
-
mergeFrom
public Finding.Builder mergeFrom(Finding other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
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;- 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
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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;- Returns:
- This builder for chaining.
-
setNameBytes
public Finding.Builder setNameBytes(com.google.protobuf.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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getParent
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];- Specified by:
getParentin interfaceFindingOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.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];- Specified by:
getParentBytesin interfaceFindingOrBuilder- Returns:
- The bytes for parent.
-
setParent
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];- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
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];- Returns:
- This builder for chaining.
-
setParentBytes
public Finding.Builder setParentBytes(com.google.protobuf.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];- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getResourceName
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;- 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
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;- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
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;- Returns:
- This builder for chaining.
-
setResourceNameBytes
public Finding.Builder 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. 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.v1beta1.Finding.State state = 4;- Specified by:
getStateValuein interfaceFindingOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Finding.Builder setStateValue(int value)
The state of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 4;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public Finding.State getState()
The state of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 4;- Specified by:
getStatein interfaceFindingOrBuilder- Returns:
- The state.
-
setState
public Finding.Builder setState(Finding.State value)
The state of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 4;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Finding.Builder clearState()
The state of the finding.
.google.cloud.securitycenter.v1beta1.Finding.State state = 4;- Returns:
- This builder for chaining.
-
getCategory
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;- 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
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;- Parameters:
value- The category to set.- Returns:
- This builder for chaining.
-
clearCategory
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;- Returns:
- This builder for chaining.
-
setCategoryBytes
public Finding.Builder setCategoryBytes(com.google.protobuf.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;- Parameters:
value- The bytes for category to set.- Returns:
- This builder for chaining.
-
getExternalUri
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;- 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
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;- Parameters:
value- The externalUri to set.- Returns:
- This builder for chaining.
-
clearExternalUri
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;- Returns:
- This builder for chaining.
-
setExternalUriBytes
public Finding.Builder 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. 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
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;- Specified by:
containsSourcePropertiesin interfaceFindingOrBuilder
-
getSourceProperties
@Deprecated public Map<String,com.google.protobuf.Value> getSourceProperties()
Deprecated.UsegetSourcePropertiesMap()instead.- Specified by:
getSourcePropertiesin interfaceFindingOrBuilder
-
getSourcePropertiesMap
public Map<String,com.google.protobuf.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;- 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
public com.google.protobuf.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;- Specified by:
getSourcePropertiesOrThrowin interfaceFindingOrBuilder
-
clearSourceProperties
public Finding.Builder clearSourceProperties()
-
removeSourceProperties
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;
-
getMutableSourceProperties
@Deprecated public Map<String,com.google.protobuf.Value> getMutableSourceProperties()
Deprecated.Use alternate mutation accessors instead.
-
putSourceProperties
public Finding.Builder putSourceProperties(String key, com.google.protobuf.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;
-
putAllSourceProperties
public Finding.Builder putAllSourceProperties(Map<String,com.google.protobuf.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;
-
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.v1beta1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSecurityMarksin interfaceFindingOrBuilder- Returns:
- Whether the securityMarks field is set.
-
getSecurityMarks
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];- Specified by:
getSecurityMarksin interfaceFindingOrBuilder- Returns:
- The securityMarks.
-
setSecurityMarks
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];
-
setSecurityMarks
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];
-
mergeSecurityMarks
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];
-
clearSecurityMarks
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];
-
getSecurityMarksBuilder
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];
-
getSecurityMarksOrBuilder
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];- 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.
.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.
.google.protobuf.Timestamp event_time = 9;- Specified by:
getEventTimein interfaceFindingOrBuilder- Returns:
- The eventTime.
-
setEventTime
public Finding.Builder setEventTime(com.google.protobuf.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;
-
setEventTime
public Finding.Builder setEventTime(com.google.protobuf.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;
-
mergeEventTime
public Finding.Builder mergeEventTime(com.google.protobuf.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;
-
clearEventTime
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;
-
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.
.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.
.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
public Finding.Builder setCreateTime(com.google.protobuf.Timestamp value)
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;
-
setCreateTime
public Finding.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;
-
mergeCreateTime
public Finding.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The time at which the finding was created in Security Command Center.
.google.protobuf.Timestamp create_time = 10;
-
clearCreateTime
public Finding.Builder 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
-
setUnknownFields
public final Finding.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
mergeUnknownFields
public final Finding.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
-