Class DimensionExpression.Builder (0.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DimensionExpression.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DimensionExpression.Builder
Overrides

build()

public DimensionExpression build()
Returns
TypeDescription
DimensionExpression

buildPartial()

public DimensionExpression buildPartial()
Returns
TypeDescription
DimensionExpression

clear()

public DimensionExpression.Builder clear()
Returns
TypeDescription
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
TypeDescription
DimensionExpression.Builder

clearField(Descriptors.FieldDescriptor field)

public DimensionExpression.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
DimensionExpression.Builder

clearOneExpression()

public DimensionExpression.Builder clearOneExpression()
Returns
TypeDescription
DimensionExpression.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DimensionExpression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DimensionExpression.Builder

clone()

public DimensionExpression.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DimensionExpression.ConcatenateExpressionOrBuilder

getDefaultInstanceForType()

public DimensionExpression getDefaultInstanceForType()
Returns
TypeDescription
DimensionExpression

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DimensionExpression.CaseExpressionOrBuilder

getOneExpressionCase()

public DimensionExpression.OneExpressionCase getOneExpressionCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the upperCase field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDimensionExpression.ConcatenateExpression
Returns
TypeDescription
DimensionExpression.Builder

mergeFrom(DimensionExpression other)

public DimensionExpression.Builder mergeFrom(DimensionExpression other)
Parameter
NameDescription
otherDimensionExpression
Returns
TypeDescription
DimensionExpression.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DimensionExpression.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DimensionExpression.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DimensionExpression.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDimensionExpression.CaseExpression
Returns
TypeDescription
DimensionExpression.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DimensionExpression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDimensionExpression.CaseExpression
Returns
TypeDescription
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
NameDescription
valueDimensionExpression.ConcatenateExpression
Returns
TypeDescription
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
NameDescription
builderForValueDimensionExpression.ConcatenateExpression.Builder
Returns
TypeDescription
DimensionExpression.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DimensionExpression.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueDimensionExpression.CaseExpression
Returns
TypeDescription
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
NameDescription
builderForValueDimensionExpression.CaseExpression.Builder
Returns
TypeDescription
DimensionExpression.Builder

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

public DimensionExpression.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DimensionExpression.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DimensionExpression.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDimensionExpression.CaseExpression
Returns
TypeDescription
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
NameDescription
builderForValueDimensionExpression.CaseExpression.Builder
Returns
TypeDescription
DimensionExpression.Builder