Class DimensionExpression.Builder (0.64.0)

public static final class DimensionExpression.Builder extends GeneratedMessageV3.Builder<DimensionExpression.Builder> 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.v1beta.DimensionExpression

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DimensionExpression.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DimensionExpression.Builder
Overrides

build()

public DimensionExpression build()
Returns
Type Description
DimensionExpression

buildPartial()

public DimensionExpression buildPartial()
Returns
Type Description
DimensionExpression

clear()

public DimensionExpression.Builder clear()
Returns
Type Description
DimensionExpression.Builder
Overrides

clearConcatenate()

public DimensionExpression.Builder clearConcatenate()

Used to combine dimension values to a single dimension. For example, dimension "country, city": concatenate(country, ", ", city).

.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6;

Returns
Type Description
DimensionExpression.Builder

clearField(Descriptors.FieldDescriptor field)

public DimensionExpression.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DimensionExpression.Builder
Overrides

clearLowerCase()

public DimensionExpression.Builder clearLowerCase()

Used to convert a dimension value to lower case.

.google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4;

Returns
Type Description
DimensionExpression.Builder

clearOneExpression()

public DimensionExpression.Builder clearOneExpression()
Returns
Type Description
DimensionExpression.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DimensionExpression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DimensionExpression.Builder
Overrides

clearUpperCase()

public DimensionExpression.Builder clearUpperCase()

Used to convert a dimension value to upper case.

.google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5;

Returns
Type Description
DimensionExpression.Builder

clone()

public DimensionExpression.Builder clone()
Returns
Type Description
DimensionExpression.Builder
Overrides

getConcatenate()

public DimensionExpression.ConcatenateExpression getConcatenate()

Used to combine dimension values to a single dimension. For example, dimension "country, city": concatenate(country, ", ", city).

.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6;

Returns
Type Description
DimensionExpression.ConcatenateExpression

The concatenate.

getConcatenateBuilder()

public DimensionExpression.ConcatenateExpression.Builder getConcatenateBuilder()

Used to combine dimension values to a single dimension. For example, dimension "country, city": concatenate(country, ", ", city).

.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6;

Returns
Type Description
DimensionExpression.ConcatenateExpression.Builder

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.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6;

Returns
Type Description
DimensionExpression.ConcatenateExpressionOrBuilder

getDefaultInstanceForType()

public DimensionExpression getDefaultInstanceForType()
Returns
Type Description
DimensionExpression

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLowerCase()

public DimensionExpression.CaseExpression getLowerCase()

Used to convert a dimension value to lower case.

.google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4;

Returns
Type Description
DimensionExpression.CaseExpression

The lowerCase.

getLowerCaseBuilder()

public DimensionExpression.CaseExpression.Builder getLowerCaseBuilder()

Used to convert a dimension value to lower case.

.google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4;

Returns
Type Description
DimensionExpression.CaseExpression.Builder

getLowerCaseOrBuilder()

public DimensionExpression.CaseExpressionOrBuilder getLowerCaseOrBuilder()

Used to convert a dimension value to lower case.

.google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4;

Returns
Type Description
DimensionExpression.CaseExpressionOrBuilder

getOneExpressionCase()

public DimensionExpression.OneExpressionCase getOneExpressionCase()
Returns
Type Description
DimensionExpression.OneExpressionCase

getUpperCase()

public DimensionExpression.CaseExpression getUpperCase()

Used to convert a dimension value to upper case.

.google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5;

Returns
Type Description
DimensionExpression.CaseExpression

The upperCase.

getUpperCaseBuilder()

public DimensionExpression.CaseExpression.Builder getUpperCaseBuilder()

Used to convert a dimension value to upper case.

.google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5;

Returns
Type Description
DimensionExpression.CaseExpression.Builder

getUpperCaseOrBuilder()

public DimensionExpression.CaseExpressionOrBuilder getUpperCaseOrBuilder()

Used to convert a dimension value to upper case.

.google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5;

Returns
Type Description
DimensionExpression.CaseExpressionOrBuilder

hasConcatenate()

public boolean hasConcatenate()

Used to combine dimension values to a single dimension. For example, dimension "country, city": concatenate(country, ", ", city).

.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6;

Returns
Type Description
boolean

Whether the concatenate field is set.

hasLowerCase()

public boolean hasLowerCase()

Used to convert a dimension value to lower case.

.google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4;

Returns
Type Description
boolean

Whether the lowerCase field is set.

hasUpperCase()

public boolean hasUpperCase()

Used to convert a dimension value to upper case.

.google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5;

Returns
Type Description
boolean

Whether the upperCase field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConcatenate(DimensionExpression.ConcatenateExpression value)

public DimensionExpression.Builder mergeConcatenate(DimensionExpression.ConcatenateExpression value)

Used to combine dimension values to a single dimension. For example, dimension "country, city": concatenate(country, ", ", city).

.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6;

Parameter
Name Description
value DimensionExpression.ConcatenateExpression
Returns
Type Description
DimensionExpression.Builder

mergeFrom(DimensionExpression other)

public DimensionExpression.Builder mergeFrom(DimensionExpression other)
Parameter
Name Description
other DimensionExpression
Returns
Type Description
DimensionExpression.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DimensionExpression.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DimensionExpression.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DimensionExpression.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DimensionExpression.Builder
Overrides

mergeLowerCase(DimensionExpression.CaseExpression value)

public DimensionExpression.Builder mergeLowerCase(DimensionExpression.CaseExpression value)

Used to convert a dimension value to lower case.

.google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4;

Parameter
Name Description
value DimensionExpression.CaseExpression
Returns
Type Description
DimensionExpression.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DimensionExpression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DimensionExpression.Builder
Overrides

mergeUpperCase(DimensionExpression.CaseExpression value)

public DimensionExpression.Builder mergeUpperCase(DimensionExpression.CaseExpression value)

Used to convert a dimension value to upper case.

.google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5;

Parameter
Name Description
value DimensionExpression.CaseExpression
Returns
Type Description
DimensionExpression.Builder

setConcatenate(DimensionExpression.ConcatenateExpression value)

public DimensionExpression.Builder setConcatenate(DimensionExpression.ConcatenateExpression value)

Used to combine dimension values to a single dimension. For example, dimension "country, city": concatenate(country, ", ", city).

.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6;

Parameter
Name Description
value DimensionExpression.ConcatenateExpression
Returns
Type Description
DimensionExpression.Builder

setConcatenate(DimensionExpression.ConcatenateExpression.Builder builderForValue)

public DimensionExpression.Builder setConcatenate(DimensionExpression.ConcatenateExpression.Builder builderForValue)

Used to combine dimension values to a single dimension. For example, dimension "country, city": concatenate(country, ", ", city).

.google.analytics.data.v1beta.DimensionExpression.ConcatenateExpression concatenate = 6;

Parameter
Name Description
builderForValue DimensionExpression.ConcatenateExpression.Builder
Returns
Type Description
DimensionExpression.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DimensionExpression.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DimensionExpression.Builder
Overrides

setLowerCase(DimensionExpression.CaseExpression value)

public DimensionExpression.Builder setLowerCase(DimensionExpression.CaseExpression value)

Used to convert a dimension value to lower case.

.google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4;

Parameter
Name Description
value DimensionExpression.CaseExpression
Returns
Type Description
DimensionExpression.Builder

setLowerCase(DimensionExpression.CaseExpression.Builder builderForValue)

public DimensionExpression.Builder setLowerCase(DimensionExpression.CaseExpression.Builder builderForValue)

Used to convert a dimension value to lower case.

.google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4;

Parameter
Name Description
builderForValue DimensionExpression.CaseExpression.Builder
Returns
Type Description
DimensionExpression.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DimensionExpression.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DimensionExpression.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DimensionExpression.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DimensionExpression.Builder
Overrides

setUpperCase(DimensionExpression.CaseExpression value)

public DimensionExpression.Builder setUpperCase(DimensionExpression.CaseExpression value)

Used to convert a dimension value to upper case.

.google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5;

Parameter
Name Description
value DimensionExpression.CaseExpression
Returns
Type Description
DimensionExpression.Builder

setUpperCase(DimensionExpression.CaseExpression.Builder builderForValue)

public DimensionExpression.Builder setUpperCase(DimensionExpression.CaseExpression.Builder builderForValue)

Used to convert a dimension value to upper case.

.google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5;

Parameter
Name Description
builderForValue DimensionExpression.CaseExpression.Builder
Returns
Type Description
DimensionExpression.Builder