Class DimensionExpression

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.data.v1alpha.DimensionExpression
All Implemented Interfaces:
DimensionExpressionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DimensionExpression extends com.google.protobuf.GeneratedMessage implements DimensionExpressionOrBuilder
 Used to express a dimension which is the result of a formula of multiple
 dimensions. Example usages:
 1) lower_case(dimension)
 2) concatenate(dimension1, symbol, dimension2).
 
Protobuf type google.analytics.data.v1alpha.DimensionExpression
See Also:
  • Field Details

    • LOWER_CASE_FIELD_NUMBER

      public static final int LOWER_CASE_FIELD_NUMBER
      See Also:
    • UPPER_CASE_FIELD_NUMBER

      public static final int UPPER_CASE_FIELD_NUMBER
      See Also:
    • CONCATENATE_FIELD_NUMBER

      public static final int CONCATENATE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getOneExpressionCase

      public DimensionExpression.OneExpressionCase getOneExpressionCase()
      Specified by:
      getOneExpressionCase in interface DimensionExpressionOrBuilder
    • hasLowerCase

      public boolean hasLowerCase()
       Used to convert a dimension value to lower case.
       
      .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4;
      Specified by:
      hasLowerCase in interface DimensionExpressionOrBuilder
      Returns:
      Whether the lowerCase field is set.
    • getLowerCase

      public DimensionExpression.CaseExpression getLowerCase()
       Used to convert a dimension value to lower case.
       
      .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4;
      Specified by:
      getLowerCase in interface DimensionExpressionOrBuilder
      Returns:
      The lowerCase.
    • getLowerCaseOrBuilder

      public DimensionExpression.CaseExpressionOrBuilder getLowerCaseOrBuilder()
       Used to convert a dimension value to lower case.
       
      .google.analytics.data.v1alpha.DimensionExpression.CaseExpression lower_case = 4;
      Specified by:
      getLowerCaseOrBuilder in interface DimensionExpressionOrBuilder
    • hasUpperCase

      public boolean hasUpperCase()
       Used to convert a dimension value to upper case.
       
      .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5;
      Specified by:
      hasUpperCase in interface DimensionExpressionOrBuilder
      Returns:
      Whether the upperCase field is set.
    • getUpperCase

      public DimensionExpression.CaseExpression getUpperCase()
       Used to convert a dimension value to upper case.
       
      .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5;
      Specified by:
      getUpperCase in interface DimensionExpressionOrBuilder
      Returns:
      The upperCase.
    • getUpperCaseOrBuilder

      public DimensionExpression.CaseExpressionOrBuilder getUpperCaseOrBuilder()
       Used to convert a dimension value to upper case.
       
      .google.analytics.data.v1alpha.DimensionExpression.CaseExpression upper_case = 5;
      Specified by:
      getUpperCaseOrBuilder in interface DimensionExpressionOrBuilder
    • hasConcatenate

      public boolean hasConcatenate()
       Used to combine dimension values to a single dimension.
       For example, dimension "country, city": concatenate(country, ", ", city).
       
      .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6;
      Specified by:
      hasConcatenate in interface DimensionExpressionOrBuilder
      Returns:
      Whether the concatenate field is set.
    • getConcatenate

       Used to combine dimension values to a single dimension.
       For example, dimension "country, city": concatenate(country, ", ", city).
       
      .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6;
      Specified by:
      getConcatenate in interface DimensionExpressionOrBuilder
      Returns:
      The concatenate.
    • getConcatenateOrBuilder

      public DimensionExpression.ConcatenateExpressionOrBuilder getConcatenateOrBuilder()
       Used to combine dimension values to a single dimension.
       For example, dimension "country, city": concatenate(country, ", ", city).
       
      .google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression concatenate = 6;
      Specified by:
      getConcatenateOrBuilder in interface DimensionExpressionOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DimensionExpression parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DimensionExpression parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DimensionExpression parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DimensionExpression parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DimensionExpression parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DimensionExpression parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DimensionExpression parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DimensionExpression parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DimensionExpression parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DimensionExpression parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DimensionExpression parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DimensionExpression parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DimensionExpression.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DimensionExpression.Builder newBuilder()
    • newBuilder

      public static DimensionExpression.Builder newBuilder(DimensionExpression prototype)
    • toBuilder

      public DimensionExpression.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DimensionExpression.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DimensionExpression getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DimensionExpression> parser()
    • getParserForType

      public com.google.protobuf.Parser<DimensionExpression> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DimensionExpression getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder