/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/analytics/data/v1alpha/data.proto

package com.google.analytics.data.v1alpha;

public interface SegmentOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.Segment)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The name for this segment. If unspecified, segments are named "Segment".
   * This name defines string value returned by the `segment` dimension. The
   * `segment` dimension prefixes segment names by the 1-based index number of
   * the segment in the request (i.e. "1. Segment", "2. Segment", etc.).
   * </pre>
   *
   * <code>string name = 1;</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * The name for this segment. If unspecified, segments are named "Segment".
   * This name defines string value returned by the `segment` dimension. The
   * `segment` dimension prefixes segment names by the 1-based index number of
   * the segment in the request (i.e. "1. Segment", "2. Segment", etc.).
   * </pre>
   *
   * <code>string name = 1;</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * User segments are subsets of users who engaged with your site or app.
   * </pre>
   *
   * <code>.google.analytics.data.v1alpha.UserSegment user_segment = 2;</code>
   *
   * @return Whether the userSegment field is set.
   */
  boolean hasUserSegment();
  /**
   *
   *
   * <pre>
   * User segments are subsets of users who engaged with your site or app.
   * </pre>
   *
   * <code>.google.analytics.data.v1alpha.UserSegment user_segment = 2;</code>
   *
   * @return The userSegment.
   */
  com.google.analytics.data.v1alpha.UserSegment getUserSegment();
  /**
   *
   *
   * <pre>
   * User segments are subsets of users who engaged with your site or app.
   * </pre>
   *
   * <code>.google.analytics.data.v1alpha.UserSegment user_segment = 2;</code>
   */
  com.google.analytics.data.v1alpha.UserSegmentOrBuilder getUserSegmentOrBuilder();

  /**
   *
   *
   * <pre>
   * Session segments are subsets of the sessions that occurred on your site
   * or app.
   * </pre>
   *
   * <code>.google.analytics.data.v1alpha.SessionSegment session_segment = 3;</code>
   *
   * @return Whether the sessionSegment field is set.
   */
  boolean hasSessionSegment();
  /**
   *
   *
   * <pre>
   * Session segments are subsets of the sessions that occurred on your site
   * or app.
   * </pre>
   *
   * <code>.google.analytics.data.v1alpha.SessionSegment session_segment = 3;</code>
   *
   * @return The sessionSegment.
   */
  com.google.analytics.data.v1alpha.SessionSegment getSessionSegment();
  /**
   *
   *
   * <pre>
   * Session segments are subsets of the sessions that occurred on your site
   * or app.
   * </pre>
   *
   * <code>.google.analytics.data.v1alpha.SessionSegment session_segment = 3;</code>
   */
  com.google.analytics.data.v1alpha.SessionSegmentOrBuilder getSessionSegmentOrBuilder();

  /**
   *
   *
   * <pre>
   * Event segments are subsets of events that were triggered on your site or
   * app.
   * </pre>
   *
   * <code>.google.analytics.data.v1alpha.EventSegment event_segment = 4;</code>
   *
   * @return Whether the eventSegment field is set.
   */
  boolean hasEventSegment();
  /**
   *
   *
   * <pre>
   * Event segments are subsets of events that were triggered on your site or
   * app.
   * </pre>
   *
   * <code>.google.analytics.data.v1alpha.EventSegment event_segment = 4;</code>
   *
   * @return The eventSegment.
   */
  com.google.analytics.data.v1alpha.EventSegment getEventSegment();
  /**
   *
   *
   * <pre>
   * Event segments are subsets of events that were triggered on your site or
   * app.
   * </pre>
   *
   * <code>.google.analytics.data.v1alpha.EventSegment event_segment = 4;</code>
   */
  com.google.analytics.data.v1alpha.EventSegmentOrBuilder getEventSegmentOrBuilder();

  public com.google.analytics.data.v1alpha.Segment.OneSegmentScopeCase getOneSegmentScopeCase();
}
