Class 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
     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).
     See [Supported asset
     types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
     for more information.
     
    Protobuf type google.cloud.asset.v1p7beta1.Asset
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Asset.Builder addAllAncestors​(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.
      Asset.Builder addAllOrgPolicy​(Iterable<? extends com.google.cloud.orgpolicy.v1.Policy> values)
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      Asset.Builder 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.
      Asset.Builder 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.
      Asset.Builder addOrgPolicy​(int index, com.google.cloud.orgpolicy.v1.Policy value)
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      Asset.Builder addOrgPolicy​(int index, com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue)
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      Asset.Builder addOrgPolicy​(com.google.cloud.orgpolicy.v1.Policy value)
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      Asset.Builder addOrgPolicy​(com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue)
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder()
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder​(int index)
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      Asset.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)  
      Asset build()  
      Asset buildPartial()  
      Asset.Builder clear()  
      Asset.Builder clearAccessContextPolicy()  
      Asset.Builder clearAccessLevel()
      Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
      Asset.Builder clearAccessPolicy()
      Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
      Asset.Builder 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.
      Asset.Builder clearAssetType()
      The type of the asset.
      Asset.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)  
      Asset.Builder clearIamPolicy()
      A representation of the IAM policy set on a Google Cloud resource.
      Asset.Builder clearName()
      The full name of the asset.
      Asset.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)  
      Asset.Builder clearOrgPolicy()
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      Asset.Builder clearRelatedAssets()
      The related assets of the asset of one relationship type.
      Asset.Builder clearResource()
      A representation of the resource.
      Asset.Builder clearServicePerimeter()
      Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
      Asset.Builder clearUpdateTime()
      The last update timestamp of an asset.
      Asset.Builder clone()  
      Asset.AccessContextPolicyCase getAccessContextPolicyCase()  
      com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel()
      Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
      com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccessLevelBuilder()
      Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
      com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder()
      Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
      com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy()
      Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
      com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder getAccessPolicyBuilder()
      Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
      com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder()
      Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
      String 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.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.
      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.
      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.
      String getAssetType()
      The type of the asset.
      com.google.protobuf.ByteString getAssetTypeBytes()
      The type of the asset.
      Asset getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      com.google.iam.v1.Policy getIamPolicy()
      A representation of the IAM policy set on a Google Cloud resource.
      com.google.iam.v1.Policy.Builder getIamPolicyBuilder()
      A representation of the IAM policy set on a Google Cloud resource.
      com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder()
      A representation of the IAM policy set on a Google Cloud resource.
      String getName()
      The full name of the asset.
      com.google.protobuf.ByteString getNameBytes()
      The full name of the asset.
      com.google.cloud.orgpolicy.v1.Policy getOrgPolicy​(int index)
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder​(int index)
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      List<com.google.cloud.orgpolicy.v1.Policy.Builder> getOrgPolicyBuilderList()
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      int getOrgPolicyCount()
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      List<com.google.cloud.orgpolicy.v1.Policy> getOrgPolicyList()
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder​(int index)
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      List<? extends com.google.cloud.orgpolicy.v1.PolicyOrBuilder> getOrgPolicyOrBuilderList()
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      RelatedAssets getRelatedAssets()
      The related assets of the asset of one relationship type.
      RelatedAssets.Builder getRelatedAssetsBuilder()
      The related assets of the asset of one relationship type.
      RelatedAssetsOrBuilder getRelatedAssetsOrBuilder()
      The related assets of the asset of one relationship type.
      Resource getResource()
      A representation of the resource.
      Resource.Builder getResourceBuilder()
      A representation of the resource.
      ResourceOrBuilder getResourceOrBuilder()
      A representation of the resource.
      com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter()
      Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
      com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder getServicePerimeterBuilder()
      Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
      com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder()
      Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
      com.google.protobuf.Timestamp getUpdateTime()
      The last update timestamp of an asset.
      com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
      The last update timestamp of an asset.
      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
      The last update timestamp of an asset.
      boolean hasAccessLevel()
      Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
      boolean hasAccessPolicy()
      Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
      boolean hasIamPolicy()
      A representation of the IAM policy set on a Google Cloud resource.
      boolean hasRelatedAssets()
      The related assets of the asset of one relationship type.
      boolean hasResource()
      A representation of the resource.
      boolean hasServicePerimeter()
      Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
      boolean hasUpdateTime()
      The last update timestamp of an asset.
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      Asset.Builder mergeAccessLevel​(com.google.identity.accesscontextmanager.v1.AccessLevel value)
      Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
      Asset.Builder mergeAccessPolicy​(com.google.identity.accesscontextmanager.v1.AccessPolicy value)
      Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
      Asset.Builder mergeFrom​(Asset other)  
      Asset.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      Asset.Builder mergeFrom​(com.google.protobuf.Message other)  
      Asset.Builder mergeIamPolicy​(com.google.iam.v1.Policy value)
      A representation of the IAM policy set on a Google Cloud resource.
      Asset.Builder mergeRelatedAssets​(RelatedAssets value)
      The related assets of the asset of one relationship type.
      Asset.Builder mergeResource​(Resource value)
      A representation of the resource.
      Asset.Builder mergeServicePerimeter​(com.google.identity.accesscontextmanager.v1.ServicePerimeter value)
      Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
      Asset.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      Asset.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
      The last update timestamp of an asset.
      Asset.Builder removeOrgPolicy​(int index)
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      Asset.Builder setAccessLevel​(com.google.identity.accesscontextmanager.v1.AccessLevel value)
      Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
      Asset.Builder setAccessLevel​(com.google.identity.accesscontextmanager.v1.AccessLevel.Builder builderForValue)
      Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
      Asset.Builder setAccessPolicy​(com.google.identity.accesscontextmanager.v1.AccessPolicy value)
      Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
      Asset.Builder setAccessPolicy​(com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder builderForValue)
      Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
      Asset.Builder 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.
      Asset.Builder setAssetType​(String value)
      The type of the asset.
      Asset.Builder setAssetTypeBytes​(com.google.protobuf.ByteString value)
      The type of the asset.
      Asset.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)  
      Asset.Builder setIamPolicy​(com.google.iam.v1.Policy value)
      A representation of the IAM policy set on a Google Cloud resource.
      Asset.Builder setIamPolicy​(com.google.iam.v1.Policy.Builder builderForValue)
      A representation of the IAM policy set on a Google Cloud resource.
      Asset.Builder setName​(String value)
      The full name of the asset.
      Asset.Builder setNameBytes​(com.google.protobuf.ByteString value)
      The full name of the asset.
      Asset.Builder setOrgPolicy​(int index, com.google.cloud.orgpolicy.v1.Policy value)
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      Asset.Builder setOrgPolicy​(int index, com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue)
      A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
      Asset.Builder setRelatedAssets​(RelatedAssets value)
      The related assets of the asset of one relationship type.
      Asset.Builder setRelatedAssets​(RelatedAssets.Builder builderForValue)
      The related assets of the asset of one relationship type.
      Asset.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)  
      Asset.Builder setResource​(Resource value)
      A representation of the resource.
      Asset.Builder setResource​(Resource.Builder builderForValue)
      A representation of the resource.
      Asset.Builder setServicePerimeter​(com.google.identity.accesscontextmanager.v1.ServicePerimeter value)
      Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
      Asset.Builder setServicePerimeter​(com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder builderForValue)
      Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
      Asset.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      Asset.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
      The last update timestamp of an asset.
      Asset.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
      The last update timestamp of an asset.
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

        getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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 interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • clear

        public Asset.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • getDefaultInstanceForType

        public Asset getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Asset build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Asset buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Asset.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • setField

        public Asset.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                      Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • clearField

        public Asset.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • clearOneof

        public Asset.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • setRepeatedField

        public Asset.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              int index,
                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • addRepeatedField

        public Asset.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • mergeFrom

        public Asset.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Asset.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Asset.Builder>
        Throws:
        IOException
      • clearAccessContextPolicy

        public Asset.Builder 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:
        hasUpdateTime in interface AssetOrBuilder
        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:
        getUpdateTime in interface AssetOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public Asset.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         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

        public Asset.Builder 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.
         
        .google.protobuf.Timestamp update_time = 11;
      • mergeUpdateTime

        public Asset.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         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

        public Asset.Builder 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:
        getUpdateTimeOrBuilder in interface AssetOrBuilder
      • getName

        public String 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:
        getName in interface AssetOrBuilder
        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:
        getNameBytes in interface AssetOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Asset.Builder setName​(String value)
         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

        public Asset.Builder 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

        public Asset.Builder setNameBytes​(com.google.protobuf.ByteString value)
         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

        public String 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:
        getAssetType in interface AssetOrBuilder
        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:
        getAssetTypeBytes in interface AssetOrBuilder
        Returns:
        The bytes for assetType.
      • setAssetType

        public Asset.Builder setAssetType​(String value)
         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

        public Asset.Builder 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

        public Asset.Builder setAssetTypeBytes​(com.google.protobuf.ByteString value)
         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.v1p7beta1.Resource resource = 3;
        Specified by:
        hasResource in interface AssetOrBuilder
        Returns:
        Whether the resource field is set.
      • getResource

        public Resource getResource()
         A representation of the resource.
         
        .google.cloud.asset.v1p7beta1.Resource resource = 3;
        Specified by:
        getResource in interface AssetOrBuilder
        Returns:
        The resource.
      • setResource

        public Asset.Builder setResource​(Resource value)
         A representation of the resource.
         
        .google.cloud.asset.v1p7beta1.Resource resource = 3;
      • setResource

        public Asset.Builder setResource​(Resource.Builder builderForValue)
         A representation of the resource.
         
        .google.cloud.asset.v1p7beta1.Resource resource = 3;
      • mergeResource

        public Asset.Builder mergeResource​(Resource value)
         A representation of the resource.
         
        .google.cloud.asset.v1p7beta1.Resource resource = 3;
      • clearResource

        public Asset.Builder clearResource()
         A representation of the resource.
         
        .google.cloud.asset.v1p7beta1.Resource resource = 3;
      • getResourceBuilder

        public Resource.Builder getResourceBuilder()
         A representation of the resource.
         
        .google.cloud.asset.v1p7beta1.Resource resource = 3;
      • 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:
        hasIamPolicy in interface AssetOrBuilder
        Returns:
        Whether the iamPolicy field is set.
      • getIamPolicy

        public com.google.iam.v1.Policy 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:
        getIamPolicy in interface AssetOrBuilder
        Returns:
        The iamPolicy.
      • setIamPolicy

        public Asset.Builder setIamPolicy​(com.google.iam.v1.Policy value)
         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

        public Asset.Builder setIamPolicy​(com.google.iam.v1.Policy.Builder builderForValue)
         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

        public Asset.Builder mergeIamPolicy​(com.google.iam.v1.Policy value)
         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

        public Asset.Builder 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

        public com.google.iam.v1.Policy.Builder 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

        public com.google.iam.v1.PolicyOrBuilder 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:
        getIamPolicyOrBuilder in interface AssetOrBuilder
      • getOrgPolicyList

        public List<com.google.cloud.orgpolicy.v1.Policy> 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:
        getOrgPolicyList in interface AssetOrBuilder
      • 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:
        getOrgPolicyCount in interface AssetOrBuilder
      • getOrgPolicy

        public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy​(int index)
         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:
        getOrgPolicy in interface AssetOrBuilder
      • setOrgPolicy

        public Asset.Builder setOrgPolicy​(int index,
                                          com.google.cloud.orgpolicy.v1.Policy value)
         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

        public Asset.Builder setOrgPolicy​(int index,
                                          com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue)
         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

        public Asset.Builder addOrgPolicy​(com.google.cloud.orgpolicy.v1.Policy value)
         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

        public Asset.Builder addOrgPolicy​(int index,
                                          com.google.cloud.orgpolicy.v1.Policy value)
         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

        public Asset.Builder addOrgPolicy​(com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue)
         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

        public Asset.Builder addOrgPolicy​(int index,
                                          com.google.cloud.orgpolicy.v1.Policy.Builder builderForValue)
         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

        public Asset.Builder addAllOrgPolicy​(Iterable<? extends com.google.cloud.orgpolicy.v1.Policy> values)
         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

        public Asset.Builder 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

        public Asset.Builder removeOrgPolicy​(int index)
         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

        public com.google.cloud.orgpolicy.v1.Policy.Builder getOrgPolicyBuilder​(int index)
         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

        public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder​(int index)
         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:
        getOrgPolicyOrBuilder in interface AssetOrBuilder
      • getOrgPolicyOrBuilderList

        public List<? extends com.google.cloud.orgpolicy.v1.PolicyOrBuilder> 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:
        getOrgPolicyOrBuilderList in interface AssetOrBuilder
      • addOrgPolicyBuilder

        public com.google.cloud.orgpolicy.v1.Policy.Builder 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

        public com.google.cloud.orgpolicy.v1.Policy.Builder addOrgPolicyBuilder​(int index)
         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

        public List<com.google.cloud.orgpolicy.v1.Policy.Builder> 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()
         Please 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:
        hasAccessPolicy in interface AssetOrBuilder
        Returns:
        Whether the accessPolicy field is set.
      • getAccessPolicy

        public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy()
         Please 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:
        getAccessPolicy in interface AssetOrBuilder
        Returns:
        The accessPolicy.
      • setAccessPolicy

        public Asset.Builder setAccessPolicy​(com.google.identity.accesscontextmanager.v1.AccessPolicy value)
         Please 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

        public Asset.Builder setAccessPolicy​(com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder builderForValue)
         Please 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

        public Asset.Builder mergeAccessPolicy​(com.google.identity.accesscontextmanager.v1.AccessPolicy value)
         Please 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

        public Asset.Builder clearAccessPolicy()
         Please 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

        public com.google.identity.accesscontextmanager.v1.AccessPolicy.Builder getAccessPolicyBuilder()
         Please 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

        public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder()
         Please 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:
        getAccessPolicyOrBuilder in interface AssetOrBuilder
      • hasAccessLevel

        public boolean hasAccessLevel()
         Please 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:
        hasAccessLevel in interface AssetOrBuilder
        Returns:
        Whether the accessLevel field is set.
      • getAccessLevel

        public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel()
         Please 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:
        getAccessLevel in interface AssetOrBuilder
        Returns:
        The accessLevel.
      • setAccessLevel

        public Asset.Builder setAccessLevel​(com.google.identity.accesscontextmanager.v1.AccessLevel value)
         Please 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

        public Asset.Builder setAccessLevel​(com.google.identity.accesscontextmanager.v1.AccessLevel.Builder builderForValue)
         Please 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

        public Asset.Builder mergeAccessLevel​(com.google.identity.accesscontextmanager.v1.AccessLevel value)
         Please 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

        public Asset.Builder clearAccessLevel()
         Please 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

        public com.google.identity.accesscontextmanager.v1.AccessLevel.Builder getAccessLevelBuilder()
         Please 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

        public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder()
         Please 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:
        getAccessLevelOrBuilder in interface AssetOrBuilder
      • hasServicePerimeter

        public boolean hasServicePerimeter()
         Please 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:
        hasServicePerimeter in interface AssetOrBuilder
        Returns:
        Whether the servicePerimeter field is set.
      • getServicePerimeter

        public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter()
         Please 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:
        getServicePerimeter in interface AssetOrBuilder
        Returns:
        The servicePerimeter.
      • setServicePerimeter

        public Asset.Builder setServicePerimeter​(com.google.identity.accesscontextmanager.v1.ServicePerimeter value)
         Please 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

        public Asset.Builder setServicePerimeter​(com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder builderForValue)
         Please 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

        public Asset.Builder mergeServicePerimeter​(com.google.identity.accesscontextmanager.v1.ServicePerimeter value)
         Please 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

        public Asset.Builder clearServicePerimeter()
         Please 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

        public com.google.identity.accesscontextmanager.v1.ServicePerimeter.Builder getServicePerimeterBuilder()
         Please 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

        public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder()
         Please 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:
        getServicePerimeterOrBuilder in interface AssetOrBuilder
      • hasRelatedAssets

        public boolean hasRelatedAssets()
         The related assets of the asset of one relationship type.
         One asset only represents one type of relationship.
         
        .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13;
        Specified by:
        hasRelatedAssets in interface AssetOrBuilder
        Returns:
        Whether the relatedAssets field is set.
      • getRelatedAssets

        public RelatedAssets getRelatedAssets()
         The related assets of the asset of one relationship type.
         One asset only represents one type of relationship.
         
        .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13;
        Specified by:
        getRelatedAssets in interface AssetOrBuilder
        Returns:
        The relatedAssets.
      • setRelatedAssets

        public Asset.Builder setRelatedAssets​(RelatedAssets value)
         The related assets of the asset of one relationship type.
         One asset only represents one type of relationship.
         
        .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13;
      • setRelatedAssets

        public Asset.Builder setRelatedAssets​(RelatedAssets.Builder builderForValue)
         The related assets of the asset of one relationship type.
         One asset only represents one type of relationship.
         
        .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13;
      • mergeRelatedAssets

        public Asset.Builder mergeRelatedAssets​(RelatedAssets value)
         The related assets of the asset of one relationship type.
         One asset only represents one type of relationship.
         
        .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13;
      • clearRelatedAssets

        public Asset.Builder clearRelatedAssets()
         The related assets of the asset of one relationship type.
         One asset only represents one type of relationship.
         
        .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13;
      • getRelatedAssetsBuilder

        public RelatedAssets.Builder getRelatedAssetsBuilder()
         The related assets of the asset of one relationship type.
         One asset only represents one type of relationship.
         
        .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13;
      • getRelatedAssetsOrBuilder

        public RelatedAssetsOrBuilder getRelatedAssetsOrBuilder()
         The related assets of the asset of one relationship type.
         One asset only represents one type of relationship.
         
        .google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13;
        Specified by:
        getRelatedAssetsOrBuilder in interface AssetOrBuilder
      • 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:
        getAncestorsList in interface AssetOrBuilder
        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:
        getAncestorsCount in interface AssetOrBuilder
        Returns:
        The count of ancestors.
      • getAncestors

        public String 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. 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:
        getAncestors in interface AssetOrBuilder
        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:
        getAncestorsBytes in interface AssetOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the ancestors at the given index.
      • setAncestors

        public Asset.Builder 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. 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

        public Asset.Builder 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. 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

        public Asset.Builder addAllAncestors​(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. 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

        public Asset.Builder 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

        public Asset.Builder 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. 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.
      • setUnknownFields

        public final Asset.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
      • mergeUnknownFields

        public final Asset.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>