Interface GetLogMetricRequestOrBuilder (3.12.1)

public interface GetLogMetricRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetricName()

public abstract String getMetricName()

Required. The resource name of the desired metric: "projects/[PROJECT_ID]/metrics/[METRIC_ID]"

string metric_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The metricName.

getMetricNameBytes()

public abstract ByteString getMetricNameBytes()

Required. The resource name of the desired metric: "projects/[PROJECT_ID]/metrics/[METRIC_ID]"

string metric_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for metricName.