public static final class Dimension.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Dimension.Builder> implements DimensionOrBuilder
Dimensions are attributes of your data. For example, the dimension city indicates the city from which an event originates. Dimension values in report responses are strings; for example, the city could be "Paris" or "New York".Protobuf type
google.analytics.data.v1alpha.Dimension| Modifier and Type | Method and Description |
|---|---|
Dimension.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Dimension |
build() |
Dimension |
buildPartial() |
Dimension.Builder |
clear() |
Dimension.Builder |
clearDimensionExpression()
One dimension can be the result of an expression of multiple dimensions.
|
Dimension.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Dimension.Builder |
clearName()
The name of the dimension.
|
Dimension.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Dimension.Builder |
clone() |
Dimension |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DimensionExpression |
getDimensionExpression()
One dimension can be the result of an expression of multiple dimensions.
|
DimensionExpression.Builder |
getDimensionExpressionBuilder()
One dimension can be the result of an expression of multiple dimensions.
|
DimensionExpressionOrBuilder |
getDimensionExpressionOrBuilder()
One dimension can be the result of an expression of multiple dimensions.
|
String |
getName()
The name of the dimension.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the dimension.
|
boolean |
hasDimensionExpression()
One dimension can be the result of an expression of multiple dimensions.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Dimension.Builder |
mergeDimensionExpression(DimensionExpression value)
One dimension can be the result of an expression of multiple dimensions.
|
Dimension.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Dimension.Builder |
mergeFrom(Dimension other) |
Dimension.Builder |
mergeFrom(com.google.protobuf.Message other) |
Dimension.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Dimension.Builder |
setDimensionExpression(DimensionExpression.Builder builderForValue)
One dimension can be the result of an expression of multiple dimensions.
|
Dimension.Builder |
setDimensionExpression(DimensionExpression value)
One dimension can be the result of an expression of multiple dimensions.
|
Dimension.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Dimension.Builder |
setName(String value)
The name of the dimension.
|
Dimension.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the dimension.
|
Dimension.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Dimension.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Dimension.Builder>public Dimension.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Dimension.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Dimension.Builder>public Dimension getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Dimension build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Dimension buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Dimension.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Dimension.Builder>public Dimension.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Dimension.Builder>public Dimension.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Dimension.Builder>public Dimension.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Dimension.Builder>public Dimension.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Dimension.Builder>public Dimension.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Dimension.Builder>public Dimension.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Dimension.Builder>public Dimension.Builder mergeFrom(Dimension other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Dimension.Builder>public Dimension.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Dimension.Builder>IOExceptionpublic String getName()
The name of the dimension. See the [API Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) for the list of dimension names. If `dimensionExpression` is specified, `name` can be any string that you would like within the allowed character set. For example if a `dimensionExpression` concatenates `country` and `city`, you could call that dimension `countryAndCity`. Dimension names that you choose must match the regular expression `^[a-zA-Z0-9_]$`. Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`, `dimensionExpression`, and `pivots`.
string name = 1;getName in interface DimensionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the dimension. See the [API Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) for the list of dimension names. If `dimensionExpression` is specified, `name` can be any string that you would like within the allowed character set. For example if a `dimensionExpression` concatenates `country` and `city`, you could call that dimension `countryAndCity`. Dimension names that you choose must match the regular expression `^[a-zA-Z0-9_]$`. Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`, `dimensionExpression`, and `pivots`.
string name = 1;getNameBytes in interface DimensionOrBuilderpublic Dimension.Builder setName(String value)
The name of the dimension. See the [API Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) for the list of dimension names. If `dimensionExpression` is specified, `name` can be any string that you would like within the allowed character set. For example if a `dimensionExpression` concatenates `country` and `city`, you could call that dimension `countryAndCity`. Dimension names that you choose must match the regular expression `^[a-zA-Z0-9_]$`. Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`, `dimensionExpression`, and `pivots`.
string name = 1;value - The name to set.public Dimension.Builder clearName()
The name of the dimension. See the [API Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) for the list of dimension names. If `dimensionExpression` is specified, `name` can be any string that you would like within the allowed character set. For example if a `dimensionExpression` concatenates `country` and `city`, you could call that dimension `countryAndCity`. Dimension names that you choose must match the regular expression `^[a-zA-Z0-9_]$`. Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`, `dimensionExpression`, and `pivots`.
string name = 1;public Dimension.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the dimension. See the [API Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) for the list of dimension names. If `dimensionExpression` is specified, `name` can be any string that you would like within the allowed character set. For example if a `dimensionExpression` concatenates `country` and `city`, you could call that dimension `countryAndCity`. Dimension names that you choose must match the regular expression `^[a-zA-Z0-9_]$`. Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`, `dimensionExpression`, and `pivots`.
string name = 1;value - The bytes for name to set.public boolean hasDimensionExpression()
One dimension can be the result of an expression of multiple dimensions. For example, dimension "country, city": concatenate(country, ", ", city).
.google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2;hasDimensionExpression in interface DimensionOrBuilderpublic DimensionExpression getDimensionExpression()
One dimension can be the result of an expression of multiple dimensions. For example, dimension "country, city": concatenate(country, ", ", city).
.google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2;getDimensionExpression in interface DimensionOrBuilderpublic Dimension.Builder setDimensionExpression(DimensionExpression value)
One dimension can be the result of an expression of multiple dimensions. For example, dimension "country, city": concatenate(country, ", ", city).
.google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2;public Dimension.Builder setDimensionExpression(DimensionExpression.Builder builderForValue)
One dimension can be the result of an expression of multiple dimensions. For example, dimension "country, city": concatenate(country, ", ", city).
.google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2;public Dimension.Builder mergeDimensionExpression(DimensionExpression value)
One dimension can be the result of an expression of multiple dimensions. For example, dimension "country, city": concatenate(country, ", ", city).
.google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2;public Dimension.Builder clearDimensionExpression()
One dimension can be the result of an expression of multiple dimensions. For example, dimension "country, city": concatenate(country, ", ", city).
.google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2;public DimensionExpression.Builder getDimensionExpressionBuilder()
One dimension can be the result of an expression of multiple dimensions. For example, dimension "country, city": concatenate(country, ", ", city).
.google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2;public DimensionExpressionOrBuilder getDimensionExpressionOrBuilder()
One dimension can be the result of an expression of multiple dimensions. For example, dimension "country, city": concatenate(country, ", ", city).
.google.analytics.data.v1alpha.DimensionExpression dimension_expression = 2;getDimensionExpressionOrBuilder in interface DimensionOrBuilderpublic final Dimension.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Dimension.Builder>public final Dimension.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Dimension.Builder>Copyright © 2023 Google LLC. All rights reserved.