Class DimensionExpression.CaseExpression.Builder (0.94.0)

public static final class DimensionExpression.CaseExpression.Builder extends GeneratedMessage.Builder<DimensionExpression.CaseExpression.Builder> implements DimensionExpression.CaseExpressionOrBuilder

Used to convert a dimension value to a single case.

Protobuf type google.analytics.data.v1beta.DimensionExpression.CaseExpression

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DimensionExpression.CaseExpression build()
Returns
Type Description
DimensionExpression.CaseExpression

buildPartial()

public DimensionExpression.CaseExpression buildPartial()
Returns
Type Description
DimensionExpression.CaseExpression

clear()

public DimensionExpression.CaseExpression.Builder clear()
Returns
Type Description
DimensionExpression.CaseExpression.Builder
Overrides

clearDimensionName()

public DimensionExpression.CaseExpression.Builder clearDimensionName()

Name of a dimension. The name must refer back to a name in dimensions field of the request.

string dimension_name = 1;

Returns
Type Description
DimensionExpression.CaseExpression.Builder

This builder for chaining.

getDefaultInstanceForType()

public DimensionExpression.CaseExpression getDefaultInstanceForType()
Returns
Type Description
DimensionExpression.CaseExpression

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDimensionName()

public String getDimensionName()

Name of a dimension. The name must refer back to a name in dimensions field of the request.

string dimension_name = 1;

Returns
Type Description
String

The dimensionName.

getDimensionNameBytes()

public ByteString getDimensionNameBytes()

Name of a dimension. The name must refer back to a name in dimensions field of the request.

string dimension_name = 1;

Returns
Type Description
ByteString

The bytes for dimensionName.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DimensionExpression.CaseExpression other)

public DimensionExpression.CaseExpression.Builder mergeFrom(DimensionExpression.CaseExpression other)
Parameter
Name Description
other DimensionExpression.CaseExpression
Returns
Type Description
DimensionExpression.CaseExpression.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DimensionExpression.CaseExpression.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DimensionExpression.CaseExpression.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DimensionExpression.CaseExpression.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DimensionExpression.CaseExpression.Builder
Overrides

setDimensionName(String value)

public DimensionExpression.CaseExpression.Builder setDimensionName(String value)

Name of a dimension. The name must refer back to a name in dimensions field of the request.

string dimension_name = 1;

Parameter
Name Description
value String

The dimensionName to set.

Returns
Type Description
DimensionExpression.CaseExpression.Builder

This builder for chaining.

setDimensionNameBytes(ByteString value)

public DimensionExpression.CaseExpression.Builder setDimensionNameBytes(ByteString value)

Name of a dimension. The name must refer back to a name in dimensions field of the request.

string dimension_name = 1;

Parameter
Name Description
value ByteString

The bytes for dimensionName to set.

Returns
Type Description
DimensionExpression.CaseExpression.Builder

This builder for chaining.