Interface MetricHeaderOrBuilder (0.59.0)

public interface MetricHeaderOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

The metric's name.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The metric's name.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getType()

public abstract MetricType getType()

The metric's data type.

.google.analytics.data.v1beta.MetricType type = 2;

Returns
Type Description
MetricType

The type.

getTypeValue()

public abstract int getTypeValue()

The metric's data type.

.google.analytics.data.v1beta.MetricType type = 2;

Returns
Type Description
int

The enum numeric value on the wire for type.