Interface Compute.GetInstanceMetricsRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Compute.GetInstanceMetricsRequest, Compute.GetInstanceMetricsRequest.Builder
Enclosing class:
Compute

public static interface Compute.GetInstanceMetricsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getInstanceId

      String getInstanceId()
      string instance_id = 1;
      Returns:
      The instanceId.
    • getInstanceIdBytes

      com.google.protobuf.ByteString getInstanceIdBytes()
      string instance_id = 1;
      Returns:
      The bytes for instanceId.
    • hasStartTimestamp

      boolean hasStartTimestamp()
       If set, only metrics data on or after this timestamp will be returned.
      
       Note: In JSON format, the Timestamp type is encoded as a string in the
       [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
       
      .google.protobuf.Timestamp start_timestamp = 2;
      Returns:
      Whether the startTimestamp field is set.
    • getStartTimestamp

      com.google.protobuf.Timestamp getStartTimestamp()
       If set, only metrics data on or after this timestamp will be returned.
      
       Note: In JSON format, the Timestamp type is encoded as a string in the
       [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
       
      .google.protobuf.Timestamp start_timestamp = 2;
      Returns:
      The startTimestamp.
    • getStartTimestampOrBuilder

      com.google.protobuf.TimestampOrBuilder getStartTimestampOrBuilder()
       If set, only metrics data on or after this timestamp will be returned.
      
       Note: In JSON format, the Timestamp type is encoded as a string in the
       [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
       
      .google.protobuf.Timestamp start_timestamp = 2;
    • hasEndTimestamp

      boolean hasEndTimestamp()
       If set, only metrics data up to this timestamp will be returned.
      
       Note: In JSON format, the Timestamp type is encoded as a string in the
       [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
       
      .google.protobuf.Timestamp end_timestamp = 3;
      Returns:
      Whether the endTimestamp field is set.
    • getEndTimestamp

      com.google.protobuf.Timestamp getEndTimestamp()
       If set, only metrics data up to this timestamp will be returned.
      
       Note: In JSON format, the Timestamp type is encoded as a string in the
       [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
       
      .google.protobuf.Timestamp end_timestamp = 3;
      Returns:
      The endTimestamp.
    • getEndTimestampOrBuilder

      com.google.protobuf.TimestampOrBuilder getEndTimestampOrBuilder()
       If set, only metrics data up to this timestamp will be returned.
      
       Note: In JSON format, the Timestamp type is encoded as a string in the
       [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
       
      .google.protobuf.Timestamp end_timestamp = 3;
    • getMetricResourceList

       Specifies which metrics should be returned.
       
      repeated .namespace.cloud.compute.v1beta.GetInstanceMetricsRequest.MetricResource metric_resource = 4;
      Returns:
      A list containing the metricResource.
    • getMetricResourceCount

      int getMetricResourceCount()
       Specifies which metrics should be returned.
       
      repeated .namespace.cloud.compute.v1beta.GetInstanceMetricsRequest.MetricResource metric_resource = 4;
      Returns:
      The count of metricResource.
    • getMetricResource

       Specifies which metrics should be returned.
       
      repeated .namespace.cloud.compute.v1beta.GetInstanceMetricsRequest.MetricResource metric_resource = 4;
      Parameters:
      index - The index of the element to return.
      Returns:
      The metricResource at the given index.
    • getMetricResourceValueList

      List<Integer> getMetricResourceValueList()
       Specifies which metrics should be returned.
       
      repeated .namespace.cloud.compute.v1beta.GetInstanceMetricsRequest.MetricResource metric_resource = 4;
      Returns:
      A list containing the enum numeric values on the wire for metricResource.
    • getMetricResourceValue

      int getMetricResourceValue(int index)
       Specifies which metrics should be returned.
       
      repeated .namespace.cloud.compute.v1beta.GetInstanceMetricsRequest.MetricResource metric_resource = 4;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of metricResource at the given index.