Class Asset.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
- com.google.cloud.securitycenter.v1.Asset.Builder
-
- All Implemented Interfaces:
AssetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Asset
public static final class Asset.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder> implements AssetOrBuilder
Security Command Center representation of a Google Cloud resource. The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource.
Protobuf typegoogle.cloud.securitycenter.v1.Asset
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Asset.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Assetbuild()AssetbuildPartial()Asset.Builderclear()Asset.BuilderclearCanonicalName()The canonical name of the resource.Asset.BuilderclearCreateTime()The time at which the asset was created in Security Command Center.Asset.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Asset.BuilderclearIamPolicy()Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.Asset.BuilderclearName()The relative resource name of this asset.Asset.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Asset.BuilderclearResourceProperties()Asset.BuilderclearSecurityCenterProperties()Security Command Center managed properties.Asset.BuilderclearSecurityMarks()User specified security marks.Asset.BuilderclearUpdateTime()The time at which the asset was last updated or added in Cloud SCC.Asset.Builderclone()booleancontainsResourceProperties(String key)Resource managed properties.StringgetCanonicalName()The canonical name of the resource.com.google.protobuf.ByteStringgetCanonicalNameBytes()The canonical name of the resource.com.google.protobuf.TimestampgetCreateTime()The time at which the asset was created in Security Command Center.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()The time at which the asset was created in Security Command Center.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()The time at which the asset was created in Security Command Center.AssetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Asset.IamPolicygetIamPolicy()Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.Asset.IamPolicy.BuildergetIamPolicyBuilder()Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.Asset.IamPolicyOrBuildergetIamPolicyOrBuilder()Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.Map<String,com.google.protobuf.Value>getMutableResourceProperties()Deprecated.StringgetName()The relative resource name of this asset.com.google.protobuf.ByteStringgetNameBytes()The relative resource name of this asset.Map<String,com.google.protobuf.Value>getResourceProperties()Deprecated.intgetResourcePropertiesCount()Resource managed properties.Map<String,com.google.protobuf.Value>getResourcePropertiesMap()Resource managed properties.com.google.protobuf.ValuegetResourcePropertiesOrDefault(String key, com.google.protobuf.Value defaultValue)Resource managed properties.com.google.protobuf.ValuegetResourcePropertiesOrThrow(String key)Resource managed properties.Asset.SecurityCenterPropertiesgetSecurityCenterProperties()Security Command Center managed properties.Asset.SecurityCenterProperties.BuildergetSecurityCenterPropertiesBuilder()Security Command Center managed properties.Asset.SecurityCenterPropertiesOrBuildergetSecurityCenterPropertiesOrBuilder()Security Command Center managed properties.SecurityMarksgetSecurityMarks()User specified security marks.SecurityMarks.BuildergetSecurityMarksBuilder()User specified security marks.SecurityMarksOrBuildergetSecurityMarksOrBuilder()User specified security marks.com.google.protobuf.TimestampgetUpdateTime()The time at which the asset was last updated or added in Cloud SCC.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()The time at which the asset was last updated or added in Cloud SCC.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()The time at which the asset was last updated or added in Cloud SCC.booleanhasCreateTime()The time at which the asset was created in Security Command Center.booleanhasIamPolicy()Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.booleanhasSecurityCenterProperties()Security Command Center managed properties.booleanhasSecurityMarks()User specified security marks.booleanhasUpdateTime()The time at which the asset was last updated or added in Cloud SCC.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Asset.BuildermergeCreateTime(com.google.protobuf.Timestamp value)The time at which the asset was created in Security Command Center.Asset.BuildermergeFrom(Asset other)Asset.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Asset.BuildermergeFrom(com.google.protobuf.Message other)Asset.BuildermergeIamPolicy(Asset.IamPolicy value)Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.Asset.BuildermergeSecurityCenterProperties(Asset.SecurityCenterProperties value)Security Command Center managed properties.Asset.BuildermergeSecurityMarks(SecurityMarks value)User specified security marks.Asset.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Asset.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)The time at which the asset was last updated or added in Cloud SCC.Asset.BuilderputAllResourceProperties(Map<String,com.google.protobuf.Value> values)Resource managed properties.Asset.BuilderputResourceProperties(String key, com.google.protobuf.Value value)Resource managed properties.Asset.BuilderremoveResourceProperties(String key)Resource managed properties.Asset.BuildersetCanonicalName(String value)The canonical name of the resource.Asset.BuildersetCanonicalNameBytes(com.google.protobuf.ByteString value)The canonical name of the resource.Asset.BuildersetCreateTime(com.google.protobuf.Timestamp value)The time at which the asset was created in Security Command Center.Asset.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)The time at which the asset was created in Security Command Center.Asset.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Asset.BuildersetIamPolicy(Asset.IamPolicy value)Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.Asset.BuildersetIamPolicy(Asset.IamPolicy.Builder builderForValue)Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.Asset.BuildersetName(String value)The relative resource name of this asset.Asset.BuildersetNameBytes(com.google.protobuf.ByteString value)The relative resource name of this asset.Asset.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Asset.BuildersetSecurityCenterProperties(Asset.SecurityCenterProperties value)Security Command Center managed properties.Asset.BuildersetSecurityCenterProperties(Asset.SecurityCenterProperties.Builder builderForValue)Security Command Center managed properties.Asset.BuildersetSecurityMarks(SecurityMarks value)User specified security marks.Asset.BuildersetSecurityMarks(SecurityMarks.Builder builderForValue)User specified security marks.Asset.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Asset.BuildersetUpdateTime(com.google.protobuf.Timestamp value)The time at which the asset was last updated or added in Cloud SCC.Asset.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)The time at which the asset was last updated or added in Cloud SCC.-
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<Asset.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
clear
public Asset.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<Asset.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<Asset.Builder>
-
getDefaultInstanceForType
public Asset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Asset build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Asset buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Asset.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<Asset.Builder>
-
setField
public Asset.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<Asset.Builder>
-
clearField
public Asset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
clearOneof
public Asset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
setRepeatedField
public Asset.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<Asset.Builder>
-
addRepeatedField
public Asset.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<Asset.Builder>
-
mergeFrom
public Asset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Asset.Builder>
-
mergeFrom
public Asset.Builder mergeFrom(Asset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
mergeFrom
public Asset.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<Asset.Builder>- Throws:
IOException
-
getName
public String getName()
The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}".string name = 1;- Specified by:
getNamein interfaceAssetOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}".string name = 1;- Specified by:
getNameBytesin interfaceAssetOrBuilder- Returns:
- The bytes for name.
-
setName
public Asset.Builder setName(String value)
The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}".string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Asset.Builder clearName()
The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}".string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public Asset.Builder setNameBytes(com.google.protobuf.ByteString value)
The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}".string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasSecurityCenterProperties
public boolean hasSecurityCenterProperties()
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2;- Specified by:
hasSecurityCenterPropertiesin interfaceAssetOrBuilder- Returns:
- Whether the securityCenterProperties field is set.
-
getSecurityCenterProperties
public Asset.SecurityCenterProperties getSecurityCenterProperties()
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2;- Specified by:
getSecurityCenterPropertiesin interfaceAssetOrBuilder- Returns:
- The securityCenterProperties.
-
setSecurityCenterProperties
public Asset.Builder setSecurityCenterProperties(Asset.SecurityCenterProperties value)
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2;
-
setSecurityCenterProperties
public Asset.Builder setSecurityCenterProperties(Asset.SecurityCenterProperties.Builder builderForValue)
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2;
-
mergeSecurityCenterProperties
public Asset.Builder mergeSecurityCenterProperties(Asset.SecurityCenterProperties value)
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2;
-
clearSecurityCenterProperties
public Asset.Builder clearSecurityCenterProperties()
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2;
-
getSecurityCenterPropertiesBuilder
public Asset.SecurityCenterProperties.Builder getSecurityCenterPropertiesBuilder()
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2;
-
getSecurityCenterPropertiesOrBuilder
public Asset.SecurityCenterPropertiesOrBuilder getSecurityCenterPropertiesOrBuilder()
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties security_center_properties = 2;- Specified by:
getSecurityCenterPropertiesOrBuilderin interfaceAssetOrBuilder
-
getResourcePropertiesCount
public int getResourcePropertiesCount()
Description copied from interface:AssetOrBuilderResource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;- Specified by:
getResourcePropertiesCountin interfaceAssetOrBuilder
-
containsResourceProperties
public boolean containsResourceProperties(String key)
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;- Specified by:
containsResourcePropertiesin interfaceAssetOrBuilder
-
getResourceProperties
@Deprecated public Map<String,com.google.protobuf.Value> getResourceProperties()
Deprecated.UsegetResourcePropertiesMap()instead.- Specified by:
getResourcePropertiesin interfaceAssetOrBuilder
-
getResourcePropertiesMap
public Map<String,com.google.protobuf.Value> getResourcePropertiesMap()
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;- Specified by:
getResourcePropertiesMapin interfaceAssetOrBuilder
-
getResourcePropertiesOrDefault
public com.google.protobuf.Value getResourcePropertiesOrDefault(String key, com.google.protobuf.Value defaultValue)
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;- Specified by:
getResourcePropertiesOrDefaultin interfaceAssetOrBuilder
-
getResourcePropertiesOrThrow
public com.google.protobuf.Value getResourcePropertiesOrThrow(String key)
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;- Specified by:
getResourcePropertiesOrThrowin interfaceAssetOrBuilder
-
clearResourceProperties
public Asset.Builder clearResourceProperties()
-
removeResourceProperties
public Asset.Builder removeResourceProperties(String key)
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;
-
getMutableResourceProperties
@Deprecated public Map<String,com.google.protobuf.Value> getMutableResourceProperties()
Deprecated.Use alternate mutation accessors instead.
-
putResourceProperties
public Asset.Builder putResourceProperties(String key, com.google.protobuf.Value value)
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;
-
putAllResourceProperties
public Asset.Builder putAllResourceProperties(Map<String,com.google.protobuf.Value> values)
Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.
map<string, .google.protobuf.Value> resource_properties = 7;
-
hasSecurityMarks
public boolean hasSecurityMarks()
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
.google.cloud.securitycenter.v1.SecurityMarks security_marks = 8;- Specified by:
hasSecurityMarksin interfaceAssetOrBuilder- Returns:
- Whether the securityMarks field is set.
-
getSecurityMarks
public SecurityMarks getSecurityMarks()
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
.google.cloud.securitycenter.v1.SecurityMarks security_marks = 8;- Specified by:
getSecurityMarksin interfaceAssetOrBuilder- Returns:
- The securityMarks.
-
setSecurityMarks
public Asset.Builder setSecurityMarks(SecurityMarks value)
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
.google.cloud.securitycenter.v1.SecurityMarks security_marks = 8;
-
setSecurityMarks
public Asset.Builder setSecurityMarks(SecurityMarks.Builder builderForValue)
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
.google.cloud.securitycenter.v1.SecurityMarks security_marks = 8;
-
mergeSecurityMarks
public Asset.Builder mergeSecurityMarks(SecurityMarks value)
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
.google.cloud.securitycenter.v1.SecurityMarks security_marks = 8;
-
clearSecurityMarks
public Asset.Builder clearSecurityMarks()
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
.google.cloud.securitycenter.v1.SecurityMarks security_marks = 8;
-
getSecurityMarksBuilder
public SecurityMarks.Builder getSecurityMarksBuilder()
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
.google.cloud.securitycenter.v1.SecurityMarks security_marks = 8;
-
getSecurityMarksOrBuilder
public SecurityMarksOrBuilder getSecurityMarksOrBuilder()
User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.
.google.cloud.securitycenter.v1.SecurityMarks security_marks = 8;- Specified by:
getSecurityMarksOrBuilderin interfaceAssetOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;- Specified by:
hasCreateTimein interfaceAssetOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;- Specified by:
getCreateTimein interfaceAssetOrBuilder- Returns:
- The createTime.
-
setCreateTime
public Asset.Builder setCreateTime(com.google.protobuf.Timestamp value)
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
-
setCreateTime
public Asset.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
-
mergeCreateTime
public Asset.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
-
clearCreateTime
public Asset.Builder clearCreateTime()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9;- Specified by:
getCreateTimeOrBuilderin interfaceAssetOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;- Specified by:
hasUpdateTimein interfaceAssetOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;- Specified by:
getUpdateTimein interfaceAssetOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public Asset.Builder setUpdateTime(com.google.protobuf.Timestamp value)
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
-
setUpdateTime
public Asset.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
-
mergeUpdateTime
public Asset.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
-
clearUpdateTime
public Asset.Builder clearUpdateTime()
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10;- Specified by:
getUpdateTimeOrBuilderin interfaceAssetOrBuilder
-
hasIamPolicy
public boolean hasIamPolicy()
Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11;- Specified by:
hasIamPolicyin interfaceAssetOrBuilder- Returns:
- Whether the iamPolicy field is set.
-
getIamPolicy
public Asset.IamPolicy getIamPolicy()
Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11;- Specified by:
getIamPolicyin interfaceAssetOrBuilder- Returns:
- The iamPolicy.
-
setIamPolicy
public Asset.Builder setIamPolicy(Asset.IamPolicy value)
Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11;
-
setIamPolicy
public Asset.Builder setIamPolicy(Asset.IamPolicy.Builder builderForValue)
Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11;
-
mergeIamPolicy
public Asset.Builder mergeIamPolicy(Asset.IamPolicy value)
Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11;
-
clearIamPolicy
public Asset.Builder clearIamPolicy()
Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11;
-
getIamPolicyBuilder
public Asset.IamPolicy.Builder getIamPolicyBuilder()
Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11;
-
getIamPolicyOrBuilder
public Asset.IamPolicyOrBuilder getIamPolicyOrBuilder()
Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.
.google.cloud.securitycenter.v1.Asset.IamPolicy iam_policy = 11;- Specified by:
getIamPolicyOrBuilderin interfaceAssetOrBuilder
-
getCanonicalName
public String getCanonicalName()
The canonical name of the resource. It's either "organizations/{organization_id}/assets/{asset_id}", "folders/{folder_id}/assets/{asset_id}" or "projects/{project_number}/assets/{asset_id}", depending on the closest CRM ancestor of the resource.string canonical_name = 13;- Specified by:
getCanonicalNamein interfaceAssetOrBuilder- Returns:
- The canonicalName.
-
getCanonicalNameBytes
public com.google.protobuf.ByteString getCanonicalNameBytes()
The canonical name of the resource. It's either "organizations/{organization_id}/assets/{asset_id}", "folders/{folder_id}/assets/{asset_id}" or "projects/{project_number}/assets/{asset_id}", depending on the closest CRM ancestor of the resource.string canonical_name = 13;- Specified by:
getCanonicalNameBytesin interfaceAssetOrBuilder- Returns:
- The bytes for canonicalName.
-
setCanonicalName
public Asset.Builder setCanonicalName(String value)
The canonical name of the resource. It's either "organizations/{organization_id}/assets/{asset_id}", "folders/{folder_id}/assets/{asset_id}" or "projects/{project_number}/assets/{asset_id}", depending on the closest CRM ancestor of the resource.string canonical_name = 13;- Parameters:
value- The canonicalName to set.- Returns:
- This builder for chaining.
-
clearCanonicalName
public Asset.Builder clearCanonicalName()
The canonical name of the resource. It's either "organizations/{organization_id}/assets/{asset_id}", "folders/{folder_id}/assets/{asset_id}" or "projects/{project_number}/assets/{asset_id}", depending on the closest CRM ancestor of the resource.string canonical_name = 13;- Returns:
- This builder for chaining.
-
setCanonicalNameBytes
public Asset.Builder setCanonicalNameBytes(com.google.protobuf.ByteString value)
The canonical name of the resource. It's either "organizations/{organization_id}/assets/{asset_id}", "folders/{folder_id}/assets/{asset_id}" or "projects/{project_number}/assets/{asset_id}", depending on the closest CRM ancestor of the resource.string canonical_name = 13;- Parameters:
value- The bytes for canonicalName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Asset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
mergeUnknownFields
public final Asset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
-