Class DimensionExpression.CaseExpression.Builder (0.57.0)

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

Used to convert a dimension value to a single case.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DimensionExpression.CaseExpression.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DimensionExpression.CaseExpression.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public DimensionExpression.CaseExpression.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DimensionExpression.CaseExpression.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DimensionExpression.CaseExpression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DimensionExpression.CaseExpression.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DimensionExpression.CaseExpression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public DimensionExpression.CaseExpression.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DimensionExpression.CaseExpression.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DimensionExpression.CaseExpression.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DimensionExpression.CaseExpression.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DimensionExpression.CaseExpression.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DimensionExpression.CaseExpression.Builder
Overrides