Class DimensionExpression.ConcatenateExpression (0.44.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
TypeDescription
int

DIMENSION_NAMES_FIELD_NUMBER

public static final int DIMENSION_NAMES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DimensionExpression.ConcatenateExpression getDefaultInstance()
Returns
TypeDescription
DimensionExpression.ConcatenateExpression

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DimensionExpression.ConcatenateExpression.Builder newBuilder()
Returns
TypeDescription
DimensionExpression.ConcatenateExpression.Builder

newBuilder(DimensionExpression.ConcatenateExpression prototype)

public static DimensionExpression.ConcatenateExpression.Builder newBuilder(DimensionExpression.ConcatenateExpression prototype)
Parameter
NameDescription
prototypeDimensionExpression.ConcatenateExpression
Returns
TypeDescription
DimensionExpression.ConcatenateExpression.Builder

parseDelimitedFrom(InputStream input)

public static DimensionExpression.ConcatenateExpression parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DimensionExpression.ConcatenateExpression
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DimensionExpression.ConcatenateExpression parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DimensionExpression.ConcatenateExpression
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DimensionExpression.ConcatenateExpression parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DimensionExpression.ConcatenateExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DimensionExpression.ConcatenateExpression parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DimensionExpression.ConcatenateExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DimensionExpression.ConcatenateExpression parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DimensionExpression.ConcatenateExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DimensionExpression.ConcatenateExpression parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DimensionExpression.ConcatenateExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DimensionExpression.ConcatenateExpression parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DimensionExpression.ConcatenateExpression
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DimensionExpression.ConcatenateExpression parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DimensionExpression.ConcatenateExpression
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DimensionExpression.ConcatenateExpression parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DimensionExpression.ConcatenateExpression
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DimensionExpression.ConcatenateExpression parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DimensionExpression.ConcatenateExpression
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DimensionExpression.ConcatenateExpression parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DimensionExpression.ConcatenateExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DimensionExpression.ConcatenateExpression parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DimensionExpression.ConcatenateExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DimensionExpression.ConcatenateExpression getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the dimensionNames.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DimensionExpression.ConcatenateExpression.Builder newBuilderForType()
Returns
TypeDescription
DimensionExpression.ConcatenateExpression.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DimensionExpression.ConcatenateExpression.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DimensionExpression.ConcatenateExpression.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DimensionExpression.ConcatenateExpression.Builder toBuilder()
Returns
TypeDescription
DimensionExpression.ConcatenateExpression.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException