public final class DimensionExpression extends GeneratedMessageV3 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DimensionExpressionImplements
DimensionExpressionOrBuilderStatic Fields
CONCATENATE_FIELD_NUMBER
public static final int CONCATENATE_FIELD_NUMBER
Type | Description |
int |
LOWER_CASE_FIELD_NUMBER
public static final int LOWER_CASE_FIELD_NUMBER
Type | Description |
int |
UPPER_CASE_FIELD_NUMBER
public static final int UPPER_CASE_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static DimensionExpression getDefaultInstance()
Type | Description |
DimensionExpression |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static DimensionExpression.Builder newBuilder()
Type | Description |
DimensionExpression.Builder |
newBuilder(DimensionExpression prototype)
public static DimensionExpression.Builder newBuilder(DimensionExpression prototype)
Name | Description |
prototype | DimensionExpression |
Type | Description |
DimensionExpression.Builder |
parseDelimitedFrom(InputStream input)
public static DimensionExpression parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
DimensionExpression |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DimensionExpression parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DimensionExpression |
Type | Description |
IOException |
parseFrom(byte[] data)
public static DimensionExpression parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
DimensionExpression |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DimensionExpression parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DimensionExpression |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static DimensionExpression parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
DimensionExpression |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DimensionExpression parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DimensionExpression |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static DimensionExpression parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
DimensionExpression |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DimensionExpression parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DimensionExpression |
Type | Description |
IOException |
parseFrom(InputStream input)
public static DimensionExpression parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
DimensionExpression |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DimensionExpression parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DimensionExpression |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static DimensionExpression parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
DimensionExpression |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DimensionExpression parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DimensionExpression |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<DimensionExpression> parser()
Type | Description |
Parser<DimensionExpression> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
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;
Type | Description |
DimensionExpression.ConcatenateExpression | The concatenate. |
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;
Type | Description |
DimensionExpression.ConcatenateExpressionOrBuilder |
getDefaultInstanceForType()
public DimensionExpression getDefaultInstanceForType()
Type | Description |
DimensionExpression |
getLowerCase()
public DimensionExpression.CaseExpression getLowerCase()
Used to convert a dimension value to lower case.
.google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4;
Type | Description |
DimensionExpression.CaseExpression | The lowerCase. |
getLowerCaseOrBuilder()
public DimensionExpression.CaseExpressionOrBuilder getLowerCaseOrBuilder()
Used to convert a dimension value to lower case.
.google.analytics.data.v1beta.DimensionExpression.CaseExpression lower_case = 4;
Type | Description |
DimensionExpression.CaseExpressionOrBuilder |
getOneExpressionCase()
public DimensionExpression.OneExpressionCase getOneExpressionCase()
Type | Description |
DimensionExpression.OneExpressionCase |
getParserForType()
public Parser<DimensionExpression> getParserForType()
Type | Description |
Parser<DimensionExpression> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUpperCase()
public DimensionExpression.CaseExpression getUpperCase()
Used to convert a dimension value to upper case.
.google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5;
Type | Description |
DimensionExpression.CaseExpression | The upperCase. |
getUpperCaseOrBuilder()
public DimensionExpression.CaseExpressionOrBuilder getUpperCaseOrBuilder()
Used to convert a dimension value to upper case.
.google.analytics.data.v1beta.DimensionExpression.CaseExpression upper_case = 5;
Type | Description |
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;
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;
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;
Type | Description |
boolean | Whether the upperCase field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public DimensionExpression.Builder newBuilderForType()
Type | Description |
DimensionExpression.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DimensionExpression.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
DimensionExpression.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public DimensionExpression.Builder toBuilder()
Type | Description |
DimensionExpression.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |