Class DimensionExpression.ConcatenateExpression.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DimensionExpression.ConcatenateExpression.Builder>
com.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression.Builder
All Implemented Interfaces:
DimensionExpression.ConcatenateExpressionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DimensionExpression.ConcatenateExpression

public static final class DimensionExpression.ConcatenateExpression.Builder extends com.google.protobuf.GeneratedMessage.Builder<DimensionExpression.ConcatenateExpression.Builder> implements DimensionExpression.ConcatenateExpressionOrBuilder
 Used to combine dimension values to a single dimension.
 
Protobuf type google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression
  • 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.Builder<DimensionExpression.ConcatenateExpression.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DimensionExpression.ConcatenateExpression.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DimensionExpression.ConcatenateExpression.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DimensionExpression.ConcatenateExpression.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DimensionExpression.ConcatenateExpression.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DimensionExpression.ConcatenateExpression.Builder>
    • mergeFrom

      public DimensionExpression.ConcatenateExpression.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DimensionExpression.ConcatenateExpression.Builder>
      Throws:
      IOException
    • getDimensionNamesList

      public com.google.protobuf.ProtocolStringList getDimensionNamesList()
       Names of dimensions. The names must refer back to names in the dimensions
       field of the request.
       
      repeated string dimension_names = 1;
      Specified by:
      getDimensionNamesList in interface DimensionExpression.ConcatenateExpressionOrBuilder
      Returns:
      A list containing the dimensionNames.
    • getDimensionNamesCount

      public int getDimensionNamesCount()
       Names of dimensions. The names must refer back to names in the dimensions
       field of the request.
       
      repeated string dimension_names = 1;
      Specified by:
      getDimensionNamesCount in interface DimensionExpression.ConcatenateExpressionOrBuilder
      Returns:
      The count of dimensionNames.
    • getDimensionNames

      public String getDimensionNames(int index)
       Names of dimensions. The names must refer back to names in the dimensions
       field of the request.
       
      repeated string dimension_names = 1;
      Specified by:
      getDimensionNames in interface DimensionExpression.ConcatenateExpressionOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The dimensionNames at the given index.
    • getDimensionNamesBytes

      public com.google.protobuf.ByteString getDimensionNamesBytes(int index)
       Names of dimensions. The names must refer back to names in the dimensions
       field of the request.
       
      repeated string dimension_names = 1;
      Specified by:
      getDimensionNamesBytes in interface DimensionExpression.ConcatenateExpressionOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the dimensionNames at the given index.
    • setDimensionNames

      public DimensionExpression.ConcatenateExpression.Builder setDimensionNames(int index, String value)
       Names of dimensions. The names must refer back to names in the dimensions
       field of the request.
       
      repeated string dimension_names = 1;
      Parameters:
      index - The index to set the value at.
      value - The dimensionNames to set.
      Returns:
      This builder for chaining.
    • addDimensionNames

       Names of dimensions. The names must refer back to names in the dimensions
       field of the request.
       
      repeated string dimension_names = 1;
      Parameters:
      value - The dimensionNames to add.
      Returns:
      This builder for chaining.
    • addAllDimensionNames

      public DimensionExpression.ConcatenateExpression.Builder addAllDimensionNames(Iterable<String> values)
       Names of dimensions. The names must refer back to names in the dimensions
       field of the request.
       
      repeated string dimension_names = 1;
      Parameters:
      values - The dimensionNames to add.
      Returns:
      This builder for chaining.
    • clearDimensionNames

       Names of dimensions. The names must refer back to names in the dimensions
       field of the request.
       
      repeated string dimension_names = 1;
      Returns:
      This builder for chaining.
    • addDimensionNamesBytes

      public DimensionExpression.ConcatenateExpression.Builder addDimensionNamesBytes(com.google.protobuf.ByteString value)
       Names of dimensions. The names must refer back to names in the dimensions
       field of the request.
       
      repeated string dimension_names = 1;
      Parameters:
      value - The bytes of the dimensionNames to add.
      Returns:
      This builder for chaining.
    • getDelimiter

      public String getDelimiter()
       The delimiter placed between dimension names.
      
       Delimiters are often single characters such as "|" or "," but can be
       longer strings. If a dimension value contains the delimiter, both will be
       present in response with no distinction. For example if dimension 1 value
       = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the
       response will contain "US,FR,JP".
       
      string delimiter = 2;
      Specified by:
      getDelimiter in interface DimensionExpression.ConcatenateExpressionOrBuilder
      Returns:
      The delimiter.
    • getDelimiterBytes

      public com.google.protobuf.ByteString getDelimiterBytes()
       The delimiter placed between dimension names.
      
       Delimiters are often single characters such as "|" or "," but can be
       longer strings. If a dimension value contains the delimiter, both will be
       present in response with no distinction. For example if dimension 1 value
       = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the
       response will contain "US,FR,JP".
       
      string delimiter = 2;
      Specified by:
      getDelimiterBytes in interface DimensionExpression.ConcatenateExpressionOrBuilder
      Returns:
      The bytes for delimiter.
    • setDelimiter

       The delimiter placed between dimension names.
      
       Delimiters are often single characters such as "|" or "," but can be
       longer strings. If a dimension value contains the delimiter, both will be
       present in response with no distinction. For example if dimension 1 value
       = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the
       response will contain "US,FR,JP".
       
      string delimiter = 2;
      Parameters:
      value - The delimiter to set.
      Returns:
      This builder for chaining.
    • clearDelimiter

       The delimiter placed between dimension names.
      
       Delimiters are often single characters such as "|" or "," but can be
       longer strings. If a dimension value contains the delimiter, both will be
       present in response with no distinction. For example if dimension 1 value
       = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the
       response will contain "US,FR,JP".
       
      string delimiter = 2;
      Returns:
      This builder for chaining.
    • setDelimiterBytes

      public DimensionExpression.ConcatenateExpression.Builder setDelimiterBytes(com.google.protobuf.ByteString value)
       The delimiter placed between dimension names.
      
       Delimiters are often single characters such as "|" or "," but can be
       longer strings. If a dimension value contains the delimiter, both will be
       present in response with no distinction. For example if dimension 1 value
       = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the
       response will contain "US,FR,JP".
       
      string delimiter = 2;
      Parameters:
      value - The bytes for delimiter to set.
      Returns:
      This builder for chaining.