Interface CreateCustomMetricRequestOrBuilder (0.47.0)

public interface CreateCustomMetricRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomMetric()

public abstract CustomMetric getCustomMetric()

Required. The CustomMetric to create.

.google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CustomMetric

The customMetric.

getCustomMetricOrBuilder()

public abstract CustomMetricOrBuilder getCustomMetricOrBuilder()

Required. The CustomMetric to create.

.google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CustomMetricOrBuilder

getParent()

public abstract String getParent()

Required. Example format: properties/1234

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Example format: properties/1234

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

Returns
TypeDescription
ByteString

The bytes for parent.

hasCustomMetric()

public abstract boolean hasCustomMetric()

Required. The CustomMetric to create.

.google.analytics.admin.v1alpha.CustomMetric custom_metric = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the customMetric field is set.