Class Asset.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Asset.Builder>
com.google.cloud.securitycenter.v1p1beta1.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.GeneratedMessage.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 type
google.cloud.securitycenter.v1p1beta1.Asset-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The canonical name of the resource.The time at which the asset was created in Security Command Center.Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.The relative resource name of this asset.Security Command Center managed properties.User specified security marks.The time at which the asset was last updated or added in Cloud SCC.booleanResource managed properties.The canonical name of the resource.com.google.protobuf.ByteStringThe canonical name of the resource.com.google.protobuf.TimestampThe time at which the asset was created in Security Command Center.com.google.protobuf.Timestamp.BuilderThe time at which the asset was created in Security Command Center.com.google.protobuf.TimestampOrBuilderThe time at which the asset was created in Security Command Center.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorCloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.Deprecated.getName()The relative resource name of this asset.com.google.protobuf.ByteStringThe relative resource name of this asset.Deprecated.intResource managed properties.Resource managed properties.com.google.protobuf.ValuegetResourcePropertiesOrDefault(String key, com.google.protobuf.Value defaultValue) Resource managed properties.com.google.protobuf.ValueResource managed properties.Security Command Center managed properties.Security Command Center managed properties.Security Command Center managed properties.User specified security marks.User specified security marks.User specified security marks.com.google.protobuf.TimestampThe time at which the asset was last updated or added in Cloud SCC.com.google.protobuf.Timestamp.BuilderThe time at which the asset was last updated or added in Cloud SCC.com.google.protobuf.TimestampOrBuilderThe time at which the asset was last updated or added in Cloud SCC.booleanThe time at which the asset was created in Security Command Center.booleanCloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.booleanSecurity Command Center managed properties.booleanUser specified security marks.booleanThe time at which the asset was last updated or added in Cloud SCC.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) The time at which the asset was created in Security Command Center.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeIamPolicy(Asset.IamPolicy value) Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.Security Command Center managed properties.mergeSecurityMarks(SecurityMarks value) User specified security marks.mergeUpdateTime(com.google.protobuf.Timestamp value) The time at which the asset was last updated or added in Cloud SCC.putAllResourceProperties(Map<String, com.google.protobuf.Value> values) Resource managed properties.putResourceProperties(String key, com.google.protobuf.Value value) Resource managed properties.com.google.protobuf.Value.BuilderResource managed properties.Resource managed properties.setCanonicalName(String value) The canonical name of the resource.setCanonicalNameBytes(com.google.protobuf.ByteString value) The canonical name of the resource.setCreateTime(com.google.protobuf.Timestamp value) The time at which the asset was created in Security Command Center.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which the asset was created in Security Command Center.setIamPolicy(Asset.IamPolicy value) Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.setIamPolicy(Asset.IamPolicy.Builder builderForValue) Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset.The relative resource name of this asset.setNameBytes(com.google.protobuf.ByteString value) The relative resource name of this asset.Security Command Center managed properties.setSecurityCenterProperties(Asset.SecurityCenterProperties.Builder builderForValue) Security Command Center managed properties.setSecurityMarks(SecurityMarks value) User specified security marks.setSecurityMarks(SecurityMarks.Builder builderForValue) User specified security marks.setUpdateTime(com.google.protobuf.Timestamp value) The time at which the asset was last updated or added in Cloud SCC.setUpdateTime(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.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Asset.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Asset.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Asset.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<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.GeneratedMessage.Builder<Asset.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Asset.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
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
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
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
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.v1p1beta1.Asset.SecurityCenterProperties security_center_properties = 2;- Specified by:
hasSecurityCenterPropertiesin interfaceAssetOrBuilder- Returns:
- Whether the securityCenterProperties field is set.
-
getSecurityCenterProperties
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1p1beta1.Asset.SecurityCenterProperties security_center_properties = 2;- Specified by:
getSecurityCenterPropertiesin interfaceAssetOrBuilder- Returns:
- The securityCenterProperties.
-
setSecurityCenterProperties
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1p1beta1.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.v1p1beta1.Asset.SecurityCenterProperties security_center_properties = 2; -
mergeSecurityCenterProperties
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1p1beta1.Asset.SecurityCenterProperties security_center_properties = 2; -
clearSecurityCenterProperties
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1p1beta1.Asset.SecurityCenterProperties security_center_properties = 2; -
getSecurityCenterPropertiesBuilder
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1p1beta1.Asset.SecurityCenterProperties security_center_properties = 2; -
getSecurityCenterPropertiesOrBuilder
Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.
.google.cloud.securitycenter.v1p1beta1.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
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.UsegetResourcePropertiesMap()instead.- Specified by:
getResourcePropertiesin interfaceAssetOrBuilder
-
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
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
-
removeResourceProperties
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.Use alternate mutation accessors instead. -
putResourceProperties
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
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; -
putResourcePropertiesBuilderIfAbsent
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.v1p1beta1.SecurityMarks security_marks = 8;- Specified by:
hasSecurityMarksin interfaceAssetOrBuilder- Returns:
- Whether the securityMarks field is set.
-
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.v1p1beta1.SecurityMarks security_marks = 8;- Specified by:
getSecurityMarksin interfaceAssetOrBuilder- Returns:
- The securityMarks.
-
setSecurityMarks
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.v1p1beta1.SecurityMarks security_marks = 8; -
setSecurityMarks
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.v1p1beta1.SecurityMarks security_marks = 8; -
mergeSecurityMarks
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.v1p1beta1.SecurityMarks security_marks = 8; -
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.v1p1beta1.SecurityMarks security_marks = 8; -
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.v1p1beta1.SecurityMarks security_marks = 8; -
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.v1p1beta1.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
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9; -
setCreateTime
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9; -
mergeCreateTime
The time at which the asset was created in Security Command Center.
.google.protobuf.Timestamp create_time = 9; -
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
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10; -
setUpdateTime
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10; -
mergeUpdateTime
The time at which the asset was last updated or added in Cloud SCC.
.google.protobuf.Timestamp update_time = 10; -
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.v1p1beta1.Asset.IamPolicy iam_policy = 11;- Specified by:
hasIamPolicyin interfaceAssetOrBuilder- Returns:
- Whether the iamPolicy field is set.
-
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.v1p1beta1.Asset.IamPolicy iam_policy = 11;- Specified by:
getIamPolicyin interfaceAssetOrBuilder- Returns:
- The iamPolicy.
-
setIamPolicy
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.v1p1beta1.Asset.IamPolicy iam_policy = 11; -
setIamPolicy
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.v1p1beta1.Asset.IamPolicy iam_policy = 11; -
mergeIamPolicy
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.v1p1beta1.Asset.IamPolicy iam_policy = 11; -
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.v1p1beta1.Asset.IamPolicy iam_policy = 11; -
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.v1p1beta1.Asset.IamPolicy iam_policy = 11; -
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.v1p1beta1.Asset.IamPolicy iam_policy = 11;- Specified by:
getIamPolicyOrBuilderin interfaceAssetOrBuilder
-
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
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
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
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.
-