Class DimensionExpression.CaseExpression.Builder (0.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DimensionExpression.CaseExpression.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DimensionExpression.CaseExpression.Builder
Overrides

build()

public DimensionExpression.CaseExpression build()
Returns
TypeDescription
DimensionExpression.CaseExpression

buildPartial()

public DimensionExpression.CaseExpression buildPartial()
Returns
TypeDescription
DimensionExpression.CaseExpression

clear()

public DimensionExpression.CaseExpression.Builder clear()
Returns
TypeDescription
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
TypeDescription
DimensionExpression.CaseExpression.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DimensionExpression.CaseExpression.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DimensionExpression.CaseExpression.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DimensionExpression.CaseExpression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DimensionExpression.CaseExpression.Builder
Overrides

clone()

public DimensionExpression.CaseExpression.Builder clone()
Returns
TypeDescription
DimensionExpression.CaseExpression.Builder
Overrides

getDefaultInstanceForType()

public DimensionExpression.CaseExpression getDefaultInstanceForType()
Returns
TypeDescription
DimensionExpression.CaseExpression

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dimensionName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DimensionExpression.CaseExpression other)

public DimensionExpression.CaseExpression.Builder mergeFrom(DimensionExpression.CaseExpression other)
Parameter
NameDescription
otherDimensionExpression.CaseExpression
Returns
TypeDescription
DimensionExpression.CaseExpression.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DimensionExpression.CaseExpression.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DimensionExpression.CaseExpression.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DimensionExpression.CaseExpression.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DimensionExpression.CaseExpression.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DimensionExpression.CaseExpression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The dimensionName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dimensionName to set.

Returns
TypeDescription
DimensionExpression.CaseExpression.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DimensionExpression.CaseExpression.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DimensionExpression.CaseExpression.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DimensionExpression.CaseExpression.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DimensionExpression.CaseExpression.Builder
Overrides