Class DimensionHeader.Builder (0.60.0)

public static final class DimensionHeader.Builder extends GeneratedMessageV3.Builder<DimensionHeader.Builder> implements DimensionHeaderOrBuilder

Describes a dimension column in the report. Dimensions requested in a report produce column entries within rows and DimensionHeaders. However, dimensions used exclusively within filters or expressions do not produce columns in a report; correspondingly, those dimensions do not produce headers.

Protobuf type google.analytics.data.v1alpha.DimensionHeader

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DimensionHeader build()
Returns
Type Description
DimensionHeader

buildPartial()

public DimensionHeader buildPartial()
Returns
Type Description
DimensionHeader

clear()

public DimensionHeader.Builder clear()
Returns
Type Description
DimensionHeader.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DimensionHeader.Builder clearName()

The dimension's name.

string name = 1;

Returns
Type Description
DimensionHeader.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DimensionHeader.Builder clone()
Returns
Type Description
DimensionHeader.Builder
Overrides

getDefaultInstanceForType()

public DimensionHeader getDefaultInstanceForType()
Returns
Type Description
DimensionHeader

getDescriptorForType()

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

getName()

public String getName()

The dimension's name.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The dimension's name.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DimensionHeader other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DimensionHeader.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DimensionHeader.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DimensionHeader.Builder setName(String value)

The dimension's name.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DimensionHeader.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DimensionHeader.Builder setNameBytes(ByteString value)

The dimension's name.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DimensionHeader.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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