Interface CreateCalculatedMetricRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateCalculatedMetricRequest, CreateCalculatedMetricRequest.Builder

@Generated public interface CreateCalculatedMetricRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

      String getParent()
       Required. Format: properties/{property_id}
       Example: properties/1234
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. Format: properties/{property_id}
       Example: properties/1234
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getCalculatedMetricId

      String getCalculatedMetricId()
       Required. The ID to use for the calculated metric which will become the
       final component of the calculated metric's resource name.
      
       This value should be 1-80 characters and valid characters are
       /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique
       between all calculated metrics under a property. The calculated_metric_id
       is used when referencing this calculated metric from external APIs, for
       example, "calcMetric:{calculated_metric_id}".
       
      string calculated_metric_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The calculatedMetricId.
    • getCalculatedMetricIdBytes

      com.google.protobuf.ByteString getCalculatedMetricIdBytes()
       Required. The ID to use for the calculated metric which will become the
       final component of the calculated metric's resource name.
      
       This value should be 1-80 characters and valid characters are
       /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique
       between all calculated metrics under a property. The calculated_metric_id
       is used when referencing this calculated metric from external APIs, for
       example, "calcMetric:{calculated_metric_id}".
       
      string calculated_metric_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for calculatedMetricId.
    • hasCalculatedMetric

      boolean hasCalculatedMetric()
       Required. The CalculatedMetric to create.
       
      .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the calculatedMetric field is set.
    • getCalculatedMetric

      CalculatedMetric getCalculatedMetric()
       Required. The CalculatedMetric to create.
       
      .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The calculatedMetric.
    • getCalculatedMetricOrBuilder

      CalculatedMetricOrBuilder getCalculatedMetricOrBuilder()
       Required. The CalculatedMetric to create.
       
      .google.analytics.admin.v1alpha.CalculatedMetric calculated_metric = 3 [(.google.api.field_behavior) = REQUIRED];