Interface ProtectedResourcesSummaryOrBuilder

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

@Generated public interface ProtectedResourcesSummaryOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    The number of resources protected by the key grouped by Cloud product.
    boolean
    The number of resources protected by the key grouped by region.
    boolean
    The number of resources protected by the key grouped by resource type.
    Deprecated.
    int
    The number of resources protected by the key grouped by Cloud product.
    The number of resources protected by the key grouped by Cloud product.
    long
    getCloudProductsOrDefault(String key, long defaultValue)
    The number of resources protected by the key grouped by Cloud product.
    long
    The number of resources protected by the key grouped by Cloud product.
    Deprecated.
    int
    The number of resources protected by the key grouped by region.
    The number of resources protected by the key grouped by region.
    long
    getLocationsOrDefault(String key, long defaultValue)
    The number of resources protected by the key grouped by region.
    long
    The number of resources protected by the key grouped by region.
    The full name of the ProtectedResourcesSummary resource.
    com.google.protobuf.ByteString
    The full name of the ProtectedResourcesSummary resource.
    int
    The number of distinct Cloud projects in the same Cloud organization as the key that have resources protected by the key.
    long
    The total number of protected resources in the same Cloud organization as the key.
    Deprecated.
    int
    The number of resources protected by the key grouped by resource type.
    The number of resources protected by the key grouped by resource type.
    long
    getResourceTypesOrDefault(String key, long defaultValue)
    The number of resources protected by the key grouped by resource type.
    long
    The number of resources protected by the key grouped by resource type.
    getWarnings(int index)
    Warning messages for the state of response [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary] For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
    int
    Warning messages for the state of response [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary] For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
    Warning messages for the state of response [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary] For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
    Warning messages for the state of response [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary] For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
    Warning messages for the state of response [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary] For example, if the organization service account is not configured, INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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;
    • getResourceTypes

      @Deprecated Map<String,Long> getResourceTypes()
      Deprecated.
    • 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;
    • getCloudProducts

      @Deprecated Map<String,Long> getCloudProducts()
      Deprecated.
    • 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;
    • getLocations

      @Deprecated Map<String,Long> getLocations()
      Deprecated.
      Use getLocationsMap() instead.
    • 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;
    • getWarningsList

      List<Warning> getWarningsList()
       Warning messages for the state of response
       [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary]
       For example, if the organization service account is not configured,
       INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
       
      repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
    • getWarnings

      Warning getWarnings(int index)
       Warning messages for the state of response
       [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary]
       For example, if the organization service account is not configured,
       INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
       
      repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
    • getWarningsCount

      int getWarningsCount()
       Warning messages for the state of response
       [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary]
       For example, if the organization service account is not configured,
       INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
       
      repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
    • getWarningsOrBuilderList

      List<? extends WarningOrBuilder> getWarningsOrBuilderList()
       Warning messages for the state of response
       [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary]
       For example, if the organization service account is not configured,
       INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
       
      repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;
    • getWarningsOrBuilder

      WarningOrBuilder getWarningsOrBuilder(int index)
       Warning messages for the state of response
       [ProtectedResourcesSummary][google.cloud.kms.inventory.v1.ProtectedResourcesSummary]
       For example, if the organization service account is not configured,
       INSUFFICIENT_PERMISSIONS_PARTIAL_DATA warning will be returned.
       
      repeated .google.cloud.kms.inventory.v1.Warning warnings = 7;