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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DimensionExpression.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DimensionExpression build()
Returns
buildPartial()
public DimensionExpression buildPartial()
Returns
clear()
public DimensionExpression.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public DimensionExpression.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneExpression()
public DimensionExpression.Builder clearOneExpression()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DimensionExpression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public DimensionExpression.Builder clone()
Returns
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
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
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
getDefaultInstanceForType()
public DimensionExpression getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
getLowerCaseOrBuilder()
public DimensionExpression.CaseExpressionOrBuilder getLowerCaseOrBuilder()
Used to convert a dimension value to lower case.
.google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4;
Returns
getOneExpressionCase()
public DimensionExpression.OneExpressionCase getOneExpressionCase()
Returns
getUpperCase()
public DimensionExpression.CaseExpression getUpperCase()
Used to convert a dimension value to upper case.
.google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5;
Returns
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
getUpperCaseOrBuilder()
public DimensionExpression.CaseExpressionOrBuilder getUpperCaseOrBuilder()
Used to convert a dimension value to upper case.
.google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(DimensionExpression other)
public DimensionExpression.Builder mergeFrom(DimensionExpression other)
Parameter
Returns
public DimensionExpression.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DimensionExpression.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DimensionExpression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DimensionExpression.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DimensionExpression.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DimensionExpression.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns