- 0.66.0 (latest)
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
public static final class DimensionExpression.ConcatenateExpression.Builder extends GeneratedMessageV3.Builder<DimensionExpression.ConcatenateExpression.Builder> implements DimensionExpression.ConcatenateExpressionOrBuilder
Used to combine dimension values to a single dimension.
Protobuf type google.analytics.data.v1alpha.DimensionExpression.ConcatenateExpression
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DimensionExpression.ConcatenateExpression.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDimensionNames(Iterable<String> values)
public DimensionExpression.ConcatenateExpression.Builder addAllDimensionNames(Iterable<String> values)
Names of dimensions. The names must refer back to names in the dimensions field of the request.
repeated string dimension_names = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The dimensionNames to add. |
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
This builder for chaining. |
addDimensionNames(String value)
public DimensionExpression.ConcatenateExpression.Builder addDimensionNames(String value)
Names of dimensions. The names must refer back to names in the dimensions field of the request.
repeated string dimension_names = 1;
Parameter | |
---|---|
Name | Description |
value |
String The dimensionNames to add. |
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
This builder for chaining. |
addDimensionNamesBytes(ByteString value)
public DimensionExpression.ConcatenateExpression.Builder addDimensionNamesBytes(ByteString value)
Names of dimensions. The names must refer back to names in the dimensions field of the request.
repeated string dimension_names = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the dimensionNames to add. |
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DimensionExpression.ConcatenateExpression.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
build()
public DimensionExpression.ConcatenateExpression build()
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression |
buildPartial()
public DimensionExpression.ConcatenateExpression buildPartial()
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression |
clear()
public DimensionExpression.ConcatenateExpression.Builder clear()
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
clearDelimiter()
public DimensionExpression.ConcatenateExpression.Builder clearDelimiter()
The delimiter placed between dimension names.
Delimiters are often single characters such as "|" or "," but can be longer strings. If a dimension value contains the delimiter, both will be present in response with no distinction. For example if dimension 1 value = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the response will contain "US,FR,JP".
string delimiter = 2;
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
This builder for chaining. |
clearDimensionNames()
public DimensionExpression.ConcatenateExpression.Builder clearDimensionNames()
Names of dimensions. The names must refer back to names in the dimensions field of the request.
repeated string dimension_names = 1;
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DimensionExpression.ConcatenateExpression.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DimensionExpression.ConcatenateExpression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
clone()
public DimensionExpression.ConcatenateExpression.Builder clone()
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
getDefaultInstanceForType()
public DimensionExpression.ConcatenateExpression getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression |
getDelimiter()
public String getDelimiter()
The delimiter placed between dimension names.
Delimiters are often single characters such as "|" or "," but can be longer strings. If a dimension value contains the delimiter, both will be present in response with no distinction. For example if dimension 1 value = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the response will contain "US,FR,JP".
string delimiter = 2;
Returns | |
---|---|
Type | Description |
String |
The delimiter. |
getDelimiterBytes()
public ByteString getDelimiterBytes()
The delimiter placed between dimension names.
Delimiters are often single characters such as "|" or "," but can be longer strings. If a dimension value contains the delimiter, both will be present in response with no distinction. For example if dimension 1 value = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the response will contain "US,FR,JP".
string delimiter = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for delimiter. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDimensionNames(int index)
public String getDimensionNames(int index)
Names of dimensions. The names must refer back to names in the dimensions field of the request.
repeated string dimension_names = 1;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The dimensionNames at the given index. |
getDimensionNamesBytes(int index)
public ByteString getDimensionNamesBytes(int index)
Names of dimensions. The names must refer back to names in the dimensions field of the request.
repeated string dimension_names = 1;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the dimensionNames at the given index. |
getDimensionNamesCount()
public int getDimensionNamesCount()
Names of dimensions. The names must refer back to names in the dimensions field of the request.
repeated string dimension_names = 1;
Returns | |
---|---|
Type | Description |
int |
The count of dimensionNames. |
getDimensionNamesList()
public ProtocolStringList getDimensionNamesList()
Names of dimensions. The names must refer back to names in the dimensions field of the request.
repeated string dimension_names = 1;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the dimensionNames. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DimensionExpression.ConcatenateExpression other)
public DimensionExpression.ConcatenateExpression.Builder mergeFrom(DimensionExpression.ConcatenateExpression other)
Parameter | |
---|---|
Name | Description |
other |
DimensionExpression.ConcatenateExpression |
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DimensionExpression.ConcatenateExpression.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DimensionExpression.ConcatenateExpression.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DimensionExpression.ConcatenateExpression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
setDelimiter(String value)
public DimensionExpression.ConcatenateExpression.Builder setDelimiter(String value)
The delimiter placed between dimension names.
Delimiters are often single characters such as "|" or "," but can be longer strings. If a dimension value contains the delimiter, both will be present in response with no distinction. For example if dimension 1 value = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the response will contain "US,FR,JP".
string delimiter = 2;
Parameter | |
---|---|
Name | Description |
value |
String The delimiter to set. |
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
This builder for chaining. |
setDelimiterBytes(ByteString value)
public DimensionExpression.ConcatenateExpression.Builder setDelimiterBytes(ByteString value)
The delimiter placed between dimension names.
Delimiters are often single characters such as "|" or "," but can be longer strings. If a dimension value contains the delimiter, both will be present in response with no distinction. For example if dimension 1 value = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the response will contain "US,FR,JP".
string delimiter = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for delimiter to set. |
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
This builder for chaining. |
setDimensionNames(int index, String value)
public DimensionExpression.ConcatenateExpression.Builder setDimensionNames(int index, String value)
Names of dimensions. The names must refer back to names in the dimensions field of the request.
repeated string dimension_names = 1;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The dimensionNames to set. |
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DimensionExpression.ConcatenateExpression.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DimensionExpression.ConcatenateExpression.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DimensionExpression.ConcatenateExpression.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DimensionExpression.ConcatenateExpression.Builder |