Interface ProtectedResourcesSummaryOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ProtectedResourcesSummary, ProtectedResourcesSummary.Builder

    public interface ProtectedResourcesSummaryOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         The full name of the ProtectedResourcesSummary resource.
         Example:
         projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary
         
        string name = 5;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The full name of the ProtectedResourcesSummary resource.
         Example:
         projects/test-project/locations/us/keyRings/test-keyring/cryptoKeys/test-key/protectedResourcesSummary
         
        string name = 5;
        Returns:
        The bytes for name.
      • getResourceCount

        long getResourceCount()
         The total number of protected resources in the same Cloud organization as
         the key.
         
        int64 resource_count = 1;
        Returns:
        The resourceCount.
      • getProjectCount

        int getProjectCount()
         The number of distinct Cloud projects in the same Cloud organization as the
         key that have resources protected by the key.
         
        int32 project_count = 2;
        Returns:
        The projectCount.
      • getResourceTypesCount

        int getResourceTypesCount()
         The number of resources protected by the key grouped by resource type.
         
        map<string, int64> resource_types = 3;
      • containsResourceTypes

        boolean containsResourceTypes​(String key)
         The number of resources protected by the key grouped by resource type.
         
        map<string, int64> resource_types = 3;
      • getResourceTypesMap

        Map<String,​Long> getResourceTypesMap()
         The number of resources protected by the key grouped by resource type.
         
        map<string, int64> resource_types = 3;
      • getResourceTypesOrDefault

        long getResourceTypesOrDefault​(String key,
                                       long defaultValue)
         The number of resources protected by the key grouped by resource type.
         
        map<string, int64> resource_types = 3;
      • getResourceTypesOrThrow

        long getResourceTypesOrThrow​(String key)
         The number of resources protected by the key grouped by resource type.
         
        map<string, int64> resource_types = 3;
      • getCloudProductsCount

        int getCloudProductsCount()
         The number of resources protected by the key grouped by Cloud product.
         
        map<string, int64> cloud_products = 6;
      • containsCloudProducts

        boolean containsCloudProducts​(String key)
         The number of resources protected by the key grouped by Cloud product.
         
        map<string, int64> cloud_products = 6;
      • getCloudProductsMap

        Map<String,​Long> getCloudProductsMap()
         The number of resources protected by the key grouped by Cloud product.
         
        map<string, int64> cloud_products = 6;
      • getCloudProductsOrDefault

        long getCloudProductsOrDefault​(String key,
                                       long defaultValue)
         The number of resources protected by the key grouped by Cloud product.
         
        map<string, int64> cloud_products = 6;
      • getCloudProductsOrThrow

        long getCloudProductsOrThrow​(String key)
         The number of resources protected by the key grouped by Cloud product.
         
        map<string, int64> cloud_products = 6;
      • getLocationsCount

        int getLocationsCount()
         The number of resources protected by the key grouped by region.
         
        map<string, int64> locations = 4;
      • containsLocations

        boolean containsLocations​(String key)
         The number of resources protected by the key grouped by region.
         
        map<string, int64> locations = 4;
      • getLocationsMap

        Map<String,​Long> getLocationsMap()
         The number of resources protected by the key grouped by region.
         
        map<string, int64> locations = 4;
      • getLocationsOrDefault

        long getLocationsOrDefault​(String key,
                                   long defaultValue)
         The number of resources protected by the key grouped by region.
         
        map<string, int64> locations = 4;
      • getLocationsOrThrow

        long getLocationsOrThrow​(String key)
         The number of resources protected by the key grouped by region.
         
        map<string, int64> locations = 4;