Interface ListMetricDescriptorsRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getFilter()
      If this field is empty, all custom and system-defined metric descriptors are returned.
      com.google.protobuf.ByteString getFilterBytes()
      If this field is empty, all custom and system-defined metric descriptors are returned.
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      int getPageSize()
      A positive number that is the maximum number of results to return.
      String getPageToken()
      If this field is not empty then it must contain the `nextPageToken` value returned by a previous call to this method.
      com.google.protobuf.ByteString getPageTokenBytes()
      If this field is not empty then it must contain the `nextPageToken` value returned by a previous call to this method.
      • 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 Detail

      • getName

        String getName()
         Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
         which to execute the request. The format is:
        
             projects/[PROJECT_ID_OR_NUMBER]
         
        string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
         which to execute the request. The format is:
        
             projects/[PROJECT_ID_OR_NUMBER]
         
        string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for name.
      • getFilter

        String getFilter()
         If this field is empty, all custom and
         system-defined metric descriptors are returned.
         Otherwise, the [filter](https://cloud.google.com/monitoring/api/v3/filters)
         specifies which metric descriptors are to be
         returned. For example, the following filter matches all
         [custom metrics](https://cloud.google.com/monitoring/custom-metrics):
        
             metric.type = starts_with("custom.googleapis.com/")
         
        string filter = 2;
        Returns:
        The filter.
      • getFilterBytes

        com.google.protobuf.ByteString getFilterBytes()
         If this field is empty, all custom and
         system-defined metric descriptors are returned.
         Otherwise, the [filter](https://cloud.google.com/monitoring/api/v3/filters)
         specifies which metric descriptors are to be
         returned. For example, the following filter matches all
         [custom metrics](https://cloud.google.com/monitoring/custom-metrics):
        
             metric.type = starts_with("custom.googleapis.com/")
         
        string filter = 2;
        Returns:
        The bytes for filter.
      • getPageSize

        int getPageSize()
         A positive number that is the maximum number of results to return.
         
        int32 page_size = 3;
        Returns:
        The pageSize.
      • getPageToken

        String getPageToken()
         If this field is not empty then it must contain the `nextPageToken` value
         returned by a previous call to this method.  Using this field causes the
         method to return additional results from the previous method call.
         
        string page_token = 4;
        Returns:
        The pageToken.
      • getPageTokenBytes

        com.google.protobuf.ByteString getPageTokenBytes()
         If this field is not empty then it must contain the `nextPageToken` value
         returned by a previous call to this method.  Using this field causes the
         method to return additional results from the previous method call.
         
        string page_token = 4;
        Returns:
        The bytes for pageToken.