Class DimensionHeader.Builder (0.45.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.v1beta.DimensionHeader

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DimensionHeader build()
Returns
TypeDescription
DimensionHeader

buildPartial()

public DimensionHeader buildPartial()
Returns
TypeDescription
DimensionHeader

clear()

public DimensionHeader.Builder clear()
Returns
TypeDescription
DimensionHeader.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DimensionHeader.Builder clearName()

The dimension's name.

string name = 1;

Returns
TypeDescription
DimensionHeader.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DimensionHeader.Builder clone()
Returns
TypeDescription
DimensionHeader.Builder
Overrides

getDefaultInstanceForType()

public DimensionHeader getDefaultInstanceForType()
Returns
TypeDescription
DimensionHeader

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The dimension's name.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The dimension's name.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DimensionHeader other)

public DimensionHeader.Builder mergeFrom(DimensionHeader other)
Parameter
NameDescription
otherDimensionHeader
Returns
TypeDescription
DimensionHeader.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DimensionHeader.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DimensionHeader.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DimensionHeader.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DimensionHeader.Builder
Overrides

setName(String value)

public DimensionHeader.Builder setName(String value)

The dimension's name.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DimensionHeader.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DimensionHeader.Builder setNameBytes(ByteString value)

The dimension's name.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DimensionHeader.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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