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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DimensionExpression.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DimensionExpression build()
buildPartial()
public DimensionExpression buildPartial()
clear()
public DimensionExpression.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public DimensionExpression.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLowerCase()
public DimensionExpression.Builder clearLowerCase()
Used to convert a dimension value to lower case.
.google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4;
clearOneExpression()
public DimensionExpression.Builder clearOneExpression()
clearOneof(Descriptors.OneofDescriptor oneof)
public DimensionExpression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpperCase()
public DimensionExpression.Builder clearUpperCase()
Used to convert a dimension value to upper case.
.google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5;
clone()
public DimensionExpression.Builder clone()
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;
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;
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;
getDefaultInstanceForType()
public DimensionExpression getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLowerCase()
public DimensionExpression.CaseExpression getLowerCase()
Used to convert a dimension value to lower case.
.google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4;
getLowerCaseBuilder()
public DimensionExpression.CaseExpression.Builder getLowerCaseBuilder()
Used to convert a dimension value to lower case.
.google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4;
getLowerCaseOrBuilder()
public DimensionExpression.CaseExpressionOrBuilder getLowerCaseOrBuilder()
Used to convert a dimension value to lower case.
.google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4;
getOneExpressionCase()
public DimensionExpression.OneExpressionCase getOneExpressionCase()
getUpperCase()
public DimensionExpression.CaseExpression getUpperCase()
Used to convert a dimension value to upper case.
.google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5;
getUpperCaseBuilder()
public DimensionExpression.CaseExpression.Builder getUpperCaseBuilder()
Used to convert a dimension value to upper case.
.google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5;
getUpperCaseOrBuilder()
public DimensionExpression.CaseExpressionOrBuilder getUpperCaseOrBuilder()
Used to convert a dimension value to upper case.
.google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(DimensionExpression other)
public DimensionExpression.Builder mergeFrom(DimensionExpression other)
public DimensionExpression.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DimensionExpression.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DimensionExpression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public DimensionExpression.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DimensionExpression.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DimensionExpression.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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;