Class DimensionExpression.CaseExpression.Builder (0.19.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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 Overrides

build()

public DimensionExpression.CaseExpression build()
Returns

buildPartial()

public DimensionExpression.CaseExpression buildPartial()
Returns

clear()

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DimensionExpression.CaseExpression.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public DimensionExpression.CaseExpression getDefaultInstanceForType()
Returns

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 Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setUnknownFields(UnknownFieldSet unknownFields)

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