Class DimensionExpression.ConcatenateExpression (0.63.0)

public static final class DimensionExpression.ConcatenateExpression extends GeneratedMessageV3 implements DimensionExpression.ConcatenateExpressionOrBuilder

Used to combine dimension values to a single dimension.

Protobuf type google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DimensionExpression.ConcatenateExpression

Static Fields

DELIMITER_FIELD_NUMBER

public static final int DELIMITER_FIELD_NUMBER
Field Value
Type Description
int

DIMENSION_NAMES_FIELD_NUMBER

public static final int DIMENSION_NAMES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DimensionExpression.ConcatenateExpression getDefaultInstance()
Returns
Type Description
DimensionExpression.ConcatenateExpression

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DimensionExpression.ConcatenateExpression.Builder newBuilder()
Returns
Type Description
DimensionExpression.ConcatenateExpression.Builder

newBuilder(DimensionExpression.ConcatenateExpression prototype)

public static DimensionExpression.ConcatenateExpression.Builder newBuilder(DimensionExpression.ConcatenateExpression prototype)
Parameter
Name Description
prototype DimensionExpression.ConcatenateExpression
Returns
Type Description
DimensionExpression.ConcatenateExpression.Builder

parseDelimitedFrom(InputStream input)

public static DimensionExpression.ConcatenateExpression parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DimensionExpression.ConcatenateExpression
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DimensionExpression.ConcatenateExpression parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DimensionExpression.ConcatenateExpression
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DimensionExpression.ConcatenateExpression parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DimensionExpression.ConcatenateExpression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DimensionExpression.ConcatenateExpression parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DimensionExpression.ConcatenateExpression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DimensionExpression.ConcatenateExpression parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DimensionExpression.ConcatenateExpression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DimensionExpression.ConcatenateExpression parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DimensionExpression.ConcatenateExpression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DimensionExpression.ConcatenateExpression parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DimensionExpression.ConcatenateExpression
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DimensionExpression.ConcatenateExpression parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DimensionExpression.ConcatenateExpression
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DimensionExpression.ConcatenateExpression parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DimensionExpression.ConcatenateExpression
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DimensionExpression.ConcatenateExpression parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DimensionExpression.ConcatenateExpression
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DimensionExpression.ConcatenateExpression parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DimensionExpression.ConcatenateExpression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DimensionExpression.ConcatenateExpression parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DimensionExpression.ConcatenateExpression
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DimensionExpression.ConcatenateExpression> parser()
Returns
Type Description
Parser<ConcatenateExpression>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DimensionExpression.ConcatenateExpression getDefaultInstanceForType()
Returns
Type Description
DimensionExpression.ConcatenateExpression

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;

Returns
Type Description
String

The delimiter.

getDelimiterBytes()

public 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;

Returns
Type Description
ByteString

The bytes for delimiter.

getDimensionNames(int index)

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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The dimensionNames at the given index.

getDimensionNamesBytes(int index)

public 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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the dimensionNames at the given index.

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;

Returns
Type Description
int

The count of dimensionNames.

getDimensionNamesList()

public ProtocolStringList getDimensionNamesList()

Names of dimensions. The names must refer back to names in the dimensions field of the request.

repeated string dimension_names = 1;

Returns
Type Description
ProtocolStringList

A list containing the dimensionNames.

getParserForType()

public Parser<DimensionExpression.ConcatenateExpression> getParserForType()
Returns
Type Description
Parser<ConcatenateExpression>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DimensionExpression.ConcatenateExpression.Builder newBuilderForType()
Returns
Type Description
DimensionExpression.ConcatenateExpression.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DimensionExpression.ConcatenateExpression.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DimensionExpression.ConcatenateExpression.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DimensionExpression.ConcatenateExpression.Builder toBuilder()
Returns
Type Description
DimensionExpression.ConcatenateExpression.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException