Package com.google.cloud.asset.v1
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.asset.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.GeneratedMessage.Builder<Asset.Builder>
implements AssetOrBuilder
An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy), or a relationship (e.g. an INSTANCE_TO_INSTANCEGROUP relationship). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.Protobuf type
google.cloud.asset.v1.Asset-
Method Summary
Modifier and TypeMethodDescriptionaddAllAncestors(Iterable<String> values) The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names.addAllOrgPolicy(Iterable<? extends Policy> values) A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).addAncestors(String value) The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names.addAncestorsBytes(com.google.protobuf.ByteString value) The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names.addOrgPolicy(int index, Policy value) A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).addOrgPolicy(int index, Policy.Builder builderForValue) A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).addOrgPolicy(Policy value) A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).addOrgPolicy(Policy.Builder builderForValue) A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).addOrgPolicyBuilder(int index) A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).build()clear()Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names.The type of the asset.A representation of the IAM policy set on a Google Cloud resource.The full name of the asset.A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).A representation of runtime OS Inventory information.One related asset of the current asset.Deprecated.A representation of the resource.Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).getAncestors(int index) The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names.com.google.protobuf.ByteStringgetAncestorsBytes(int index) The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names.intThe ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names.com.google.protobuf.ProtocolStringListThe ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names.The type of the asset.com.google.protobuf.ByteStringThe type of the asset.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA representation of the IAM policy set on a Google Cloud resource.A representation of the IAM policy set on a Google Cloud resource.A representation of the IAM policy set on a Google Cloud resource.getName()The full name of the asset.com.google.protobuf.ByteStringThe full name of the asset.getOrgPolicy(int index) A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).getOrgPolicyBuilder(int index) A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).intA representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).getOrgPolicyOrBuilder(int index) A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).List<? extends PolicyOrBuilder>A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).A representation of runtime OS Inventory information.A representation of runtime OS Inventory information.A representation of runtime OS Inventory information.One related asset of the current asset.One related asset of the current asset.One related asset of the current asset.Deprecated.google.cloud.asset.v1.Asset.related_assets is deprecated.Deprecated.Deprecated.A representation of the resource.A representation of the resource.A representation of the resource.Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).com.google.protobuf.TimestampThe last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.com.google.protobuf.Timestamp.BuilderThe last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.com.google.protobuf.TimestampOrBuilderThe last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.booleanAlso refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).booleanAlso refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).booleanA representation of the IAM policy set on a Google Cloud resource.booleanA representation of runtime OS Inventory information.booleanOne related asset of the current asset.booleanDeprecated.google.cloud.asset.v1.Asset.related_assets is deprecated.booleanA representation of the resource.booleanAlso refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).booleanThe last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAccessLevel(AccessLevel value) Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).mergeAccessPolicy(AccessPolicy value) Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeIamPolicy(Policy value) A representation of the IAM policy set on a Google Cloud resource.mergeOsInventory(Inventory value) A representation of runtime OS Inventory information.mergeRelatedAsset(RelatedAsset value) One related asset of the current asset.mergeRelatedAssets(RelatedAssets value) Deprecated.mergeResource(Resource value) A representation of the resource.Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).mergeUpdateTime(com.google.protobuf.Timestamp value) The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.removeOrgPolicy(int index) A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).setAccessLevel(AccessLevel value) Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).setAccessLevel(AccessLevel.Builder builderForValue) Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).setAccessPolicy(AccessPolicy value) Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).setAccessPolicy(AccessPolicy.Builder builderForValue) Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).setAncestors(int index, String value) The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names.setAssetType(String value) The type of the asset.setAssetTypeBytes(com.google.protobuf.ByteString value) The type of the asset.setIamPolicy(Policy value) A representation of the IAM policy set on a Google Cloud resource.setIamPolicy(Policy.Builder builderForValue) A representation of the IAM policy set on a Google Cloud resource.The full name of the asset.setNameBytes(com.google.protobuf.ByteString value) The full name of the asset.setOrgPolicy(int index, Policy value) A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).setOrgPolicy(int index, Policy.Builder builderForValue) A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).setOsInventory(Inventory value) A representation of runtime OS Inventory information.setOsInventory(Inventory.Builder builderForValue) A representation of runtime OS Inventory information.setRelatedAsset(RelatedAsset value) One related asset of the current asset.setRelatedAsset(RelatedAsset.Builder builderForValue) One related asset of the current asset.setRelatedAssets(RelatedAssets value) Deprecated.setRelatedAssets(RelatedAssets.Builder builderForValue) Deprecated.setResource(Resource value) A representation of the resource.setResource(Resource.Builder builderForValue) A representation of the resource.Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).setServicePerimeter(ServicePerimeter.Builder builderForValue) Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).setUpdateTime(com.google.protobuf.Timestamp value) The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
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
-
getAccessContextPolicyCase
- Specified by:
getAccessContextPolicyCasein interfaceAssetOrBuilder
-
clearAccessContextPolicy
-
hasUpdateTime
public boolean hasUpdateTime()The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.
.google.protobuf.Timestamp update_time = 11;- Specified by:
hasUpdateTimein interfaceAssetOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.
.google.protobuf.Timestamp update_time = 11;- Specified by:
getUpdateTimein interfaceAssetOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.
.google.protobuf.Timestamp update_time = 11; -
setUpdateTime
The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.
.google.protobuf.Timestamp update_time = 11; -
mergeUpdateTime
The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.
.google.protobuf.Timestamp update_time = 11; -
clearUpdateTime
The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.
.google.protobuf.Timestamp update_time = 11; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.
.google.protobuf.Timestamp update_time = 11; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.
.google.protobuf.Timestamp update_time = 11;- Specified by:
getUpdateTimeOrBuilderin interfaceAssetOrBuilder
-
getName
The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
string name = 1;- Specified by:
getNamein interfaceAssetOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
string name = 1;- Specified by:
getNameBytesin interfaceAssetOrBuilder- Returns:
- The bytes for name.
-
setName
The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getAssetType
The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.
string asset_type = 2;- Specified by:
getAssetTypein interfaceAssetOrBuilder- Returns:
- The assetType.
-
getAssetTypeBytes
public com.google.protobuf.ByteString getAssetTypeBytes()The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.
string asset_type = 2;- Specified by:
getAssetTypeBytesin interfaceAssetOrBuilder- Returns:
- The bytes for assetType.
-
setAssetType
The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.
string asset_type = 2;- Parameters:
value- The assetType to set.- Returns:
- This builder for chaining.
-
clearAssetType
The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.
string asset_type = 2;- Returns:
- This builder for chaining.
-
setAssetTypeBytes
The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.
string asset_type = 2;- Parameters:
value- The bytes for assetType to set.- Returns:
- This builder for chaining.
-
hasResource
public boolean hasResource()A representation of the resource.
.google.cloud.asset.v1.Resource resource = 3;- Specified by:
hasResourcein interfaceAssetOrBuilder- Returns:
- Whether the resource field is set.
-
getResource
A representation of the resource.
.google.cloud.asset.v1.Resource resource = 3;- Specified by:
getResourcein interfaceAssetOrBuilder- Returns:
- The resource.
-
setResource
A representation of the resource.
.google.cloud.asset.v1.Resource resource = 3; -
setResource
A representation of the resource.
.google.cloud.asset.v1.Resource resource = 3; -
mergeResource
A representation of the resource.
.google.cloud.asset.v1.Resource resource = 3; -
clearResource
A representation of the resource.
.google.cloud.asset.v1.Resource resource = 3; -
getResourceBuilder
A representation of the resource.
.google.cloud.asset.v1.Resource resource = 3; -
getResourceOrBuilder
A representation of the resource.
.google.cloud.asset.v1.Resource resource = 3;- Specified by:
getResourceOrBuilderin interfaceAssetOrBuilder
-
hasIamPolicy
public boolean hasIamPolicy()A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information.
.google.iam.v1.Policy iam_policy = 4;- Specified by:
hasIamPolicyin interfaceAssetOrBuilder- Returns:
- Whether the iamPolicy field is set.
-
getIamPolicy
A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information.
.google.iam.v1.Policy iam_policy = 4;- Specified by:
getIamPolicyin interfaceAssetOrBuilder- Returns:
- The iamPolicy.
-
setIamPolicy
A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information.
.google.iam.v1.Policy iam_policy = 4; -
setIamPolicy
A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information.
.google.iam.v1.Policy iam_policy = 4; -
mergeIamPolicy
A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information.
.google.iam.v1.Policy iam_policy = 4; -
clearIamPolicy
A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information.
.google.iam.v1.Policy iam_policy = 4; -
getIamPolicyBuilder
A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information.
.google.iam.v1.Policy iam_policy = 4; -
getIamPolicyOrBuilder
A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more information.
.google.iam.v1.Policy iam_policy = 4;- Specified by:
getIamPolicyOrBuilderin interfaceAssetOrBuilder
-
getOrgPolicyList
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;- Specified by:
getOrgPolicyListin interfaceAssetOrBuilder
-
getOrgPolicyCount
public int getOrgPolicyCount()A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;- Specified by:
getOrgPolicyCountin interfaceAssetOrBuilder
-
getOrgPolicy
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;- Specified by:
getOrgPolicyin interfaceAssetOrBuilder
-
setOrgPolicy
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6; -
setOrgPolicy
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6; -
addOrgPolicy
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6; -
addOrgPolicy
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6; -
addOrgPolicy
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6; -
addOrgPolicy
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6; -
addAllOrgPolicy
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6; -
clearOrgPolicy
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6; -
removeOrgPolicy
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6; -
getOrgPolicyBuilder
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6; -
getOrgPolicyOrBuilder
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;- Specified by:
getOrgPolicyOrBuilderin interfaceAssetOrBuilder
-
getOrgPolicyOrBuilderList
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;- Specified by:
getOrgPolicyOrBuilderListin interfaceAssetOrBuilder
-
addOrgPolicyBuilder
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6; -
addOrgPolicyBuilder
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6; -
getOrgPolicyBuilderList
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6; -
hasAccessPolicy
public boolean hasAccessPolicy()Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;- Specified by:
hasAccessPolicyin interfaceAssetOrBuilder- Returns:
- Whether the accessPolicy field is set.
-
getAccessPolicy
Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;- Specified by:
getAccessPolicyin interfaceAssetOrBuilder- Returns:
- The accessPolicy.
-
setAccessPolicy
Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; -
setAccessPolicy
Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; -
mergeAccessPolicy
Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; -
clearAccessPolicy
Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; -
getAccessPolicyBuilder
Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; -
getAccessPolicyOrBuilder
Also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;- Specified by:
getAccessPolicyOrBuilderin interfaceAssetOrBuilder
-
hasAccessLevel
public boolean hasAccessLevel()Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;- Specified by:
hasAccessLevelin interfaceAssetOrBuilder- Returns:
- Whether the accessLevel field is set.
-
getAccessLevel
Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;- Specified by:
getAccessLevelin interfaceAssetOrBuilder- Returns:
- The accessLevel.
-
setAccessLevel
Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; -
setAccessLevel
Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; -
mergeAccessLevel
Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; -
clearAccessLevel
Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; -
getAccessLevelBuilder
Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; -
getAccessLevelOrBuilder
Also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;- Specified by:
getAccessLevelOrBuilderin interfaceAssetOrBuilder
-
hasServicePerimeter
public boolean hasServicePerimeter()Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;- Specified by:
hasServicePerimeterin interfaceAssetOrBuilder- Returns:
- Whether the servicePerimeter field is set.
-
getServicePerimeter
Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;- Specified by:
getServicePerimeterin interfaceAssetOrBuilder- Returns:
- The servicePerimeter.
-
setServicePerimeter
Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; -
setServicePerimeter
Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; -
mergeServicePerimeter
Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; -
clearServicePerimeter
Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; -
getServicePerimeterBuilder
Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; -
getServicePerimeterOrBuilder
Also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;- Specified by:
getServicePerimeterOrBuilderin interfaceAssetOrBuilder
-
hasOsInventory
public boolean hasOsInventory()A representation of runtime OS Inventory information. See [this topic](https://cloud.google.com/compute/docs/instances/os-inventory-management) for more information.
.google.cloud.osconfig.v1.Inventory os_inventory = 12;- Specified by:
hasOsInventoryin interfaceAssetOrBuilder- Returns:
- Whether the osInventory field is set.
-
getOsInventory
A representation of runtime OS Inventory information. See [this topic](https://cloud.google.com/compute/docs/instances/os-inventory-management) for more information.
.google.cloud.osconfig.v1.Inventory os_inventory = 12;- Specified by:
getOsInventoryin interfaceAssetOrBuilder- Returns:
- The osInventory.
-
setOsInventory
A representation of runtime OS Inventory information. See [this topic](https://cloud.google.com/compute/docs/instances/os-inventory-management) for more information.
.google.cloud.osconfig.v1.Inventory os_inventory = 12; -
setOsInventory
A representation of runtime OS Inventory information. See [this topic](https://cloud.google.com/compute/docs/instances/os-inventory-management) for more information.
.google.cloud.osconfig.v1.Inventory os_inventory = 12; -
mergeOsInventory
A representation of runtime OS Inventory information. See [this topic](https://cloud.google.com/compute/docs/instances/os-inventory-management) for more information.
.google.cloud.osconfig.v1.Inventory os_inventory = 12; -
clearOsInventory
A representation of runtime OS Inventory information. See [this topic](https://cloud.google.com/compute/docs/instances/os-inventory-management) for more information.
.google.cloud.osconfig.v1.Inventory os_inventory = 12; -
getOsInventoryBuilder
A representation of runtime OS Inventory information. See [this topic](https://cloud.google.com/compute/docs/instances/os-inventory-management) for more information.
.google.cloud.osconfig.v1.Inventory os_inventory = 12; -
getOsInventoryOrBuilder
A representation of runtime OS Inventory information. See [this topic](https://cloud.google.com/compute/docs/instances/os-inventory-management) for more information.
.google.cloud.osconfig.v1.Inventory os_inventory = 12;- Specified by:
getOsInventoryOrBuilderin interfaceAssetOrBuilder
-
hasRelatedAssets
Deprecated.google.cloud.asset.v1.Asset.related_assets is deprecated. See google/cloud/asset/v1/assets.proto;l=177DEPRECATED. This field only presents for the purpose of backward-compatibility. The server will never generate responses with this field. The related assets of the asset of one relationship type. One asset only represents one type of relationship.
.google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];- Specified by:
hasRelatedAssetsin interfaceAssetOrBuilder- Returns:
- Whether the relatedAssets field is set.
-
getRelatedAssets
Deprecated.google.cloud.asset.v1.Asset.related_assets is deprecated. See google/cloud/asset/v1/assets.proto;l=177DEPRECATED. This field only presents for the purpose of backward-compatibility. The server will never generate responses with this field. The related assets of the asset of one relationship type. One asset only represents one type of relationship.
.google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];- Specified by:
getRelatedAssetsin interfaceAssetOrBuilder- Returns:
- The relatedAssets.
-
setRelatedAssets
Deprecated.DEPRECATED. This field only presents for the purpose of backward-compatibility. The server will never generate responses with this field. The related assets of the asset of one relationship type. One asset only represents one type of relationship.
.google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; -
setRelatedAssets
Deprecated.DEPRECATED. This field only presents for the purpose of backward-compatibility. The server will never generate responses with this field. The related assets of the asset of one relationship type. One asset only represents one type of relationship.
.google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; -
mergeRelatedAssets
Deprecated.DEPRECATED. This field only presents for the purpose of backward-compatibility. The server will never generate responses with this field. The related assets of the asset of one relationship type. One asset only represents one type of relationship.
.google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; -
clearRelatedAssets
Deprecated.DEPRECATED. This field only presents for the purpose of backward-compatibility. The server will never generate responses with this field. The related assets of the asset of one relationship type. One asset only represents one type of relationship.
.google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; -
getRelatedAssetsBuilder
Deprecated.DEPRECATED. This field only presents for the purpose of backward-compatibility. The server will never generate responses with this field. The related assets of the asset of one relationship type. One asset only represents one type of relationship.
.google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true]; -
getRelatedAssetsOrBuilder
Deprecated.DEPRECATED. This field only presents for the purpose of backward-compatibility. The server will never generate responses with this field. The related assets of the asset of one relationship type. One asset only represents one type of relationship.
.google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];- Specified by:
getRelatedAssetsOrBuilderin interfaceAssetOrBuilder
-
hasRelatedAsset
public boolean hasRelatedAsset()One related asset of the current asset.
.google.cloud.asset.v1.RelatedAsset related_asset = 15;- Specified by:
hasRelatedAssetin interfaceAssetOrBuilder- Returns:
- Whether the relatedAsset field is set.
-
getRelatedAsset
One related asset of the current asset.
.google.cloud.asset.v1.RelatedAsset related_asset = 15;- Specified by:
getRelatedAssetin interfaceAssetOrBuilder- Returns:
- The relatedAsset.
-
setRelatedAsset
One related asset of the current asset.
.google.cloud.asset.v1.RelatedAsset related_asset = 15; -
setRelatedAsset
One related asset of the current asset.
.google.cloud.asset.v1.RelatedAsset related_asset = 15; -
mergeRelatedAsset
One related asset of the current asset.
.google.cloud.asset.v1.RelatedAsset related_asset = 15; -
clearRelatedAsset
One related asset of the current asset.
.google.cloud.asset.v1.RelatedAsset related_asset = 15; -
getRelatedAssetBuilder
One related asset of the current asset.
.google.cloud.asset.v1.RelatedAsset related_asset = 15; -
getRelatedAssetOrBuilder
One related asset of the current asset.
.google.cloud.asset.v1.RelatedAsset related_asset = 15;- Specified by:
getRelatedAssetOrBuilderin interfaceAssetOrBuilder
-
getAncestorsList
public com.google.protobuf.ProtocolStringList getAncestorsList()The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
repeated string ancestors = 10;- Specified by:
getAncestorsListin interfaceAssetOrBuilder- Returns:
- A list containing the ancestors.
-
getAncestorsCount
public int getAncestorsCount()The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
repeated string ancestors = 10;- Specified by:
getAncestorsCountin interfaceAssetOrBuilder- Returns:
- The count of ancestors.
-
getAncestors
The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
repeated string ancestors = 10;- Specified by:
getAncestorsin interfaceAssetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ancestors at the given index.
-
getAncestorsBytes
public com.google.protobuf.ByteString getAncestorsBytes(int index) The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
repeated string ancestors = 10;- Specified by:
getAncestorsBytesin interfaceAssetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ancestors at the given index.
-
setAncestors
The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
repeated string ancestors = 10;- Parameters:
index- The index to set the value at.value- The ancestors to set.- Returns:
- This builder for chaining.
-
addAncestors
The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
repeated string ancestors = 10;- Parameters:
value- The ancestors to add.- Returns:
- This builder for chaining.
-
addAllAncestors
The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
repeated string ancestors = 10;- Parameters:
values- The ancestors to add.- Returns:
- This builder for chaining.
-
clearAncestors
The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
repeated string ancestors = 10;- Returns:
- This builder for chaining.
-
addAncestorsBytes
The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
repeated string ancestors = 10;- Parameters:
value- The bytes of the ancestors to add.- Returns:
- This builder for chaining.
-