Class AccessDimensionHeader.Builder (0.23.0)

public static final class AccessDimensionHeader.Builder extends GeneratedMessageV3.Builder<AccessDimensionHeader.Builder> implements AccessDimensionHeaderOrBuilder

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.admin.v1alpha.AccessDimensionHeader

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessDimensionHeader build()
Returns
TypeDescription
AccessDimensionHeader

buildPartial()

public AccessDimensionHeader buildPartial()
Returns
TypeDescription
AccessDimensionHeader

clear()

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

clearDimensionName()

public AccessDimensionHeader.Builder clearDimensionName()

The dimension's name; for example 'userEmail'.

string dimension_name = 1;

Returns
TypeDescription
AccessDimensionHeader.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AccessDimensionHeader getDefaultInstanceForType()
Returns
TypeDescription
AccessDimensionHeader

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDimensionName()

public String getDimensionName()

The dimension's name; for example 'userEmail'.

string dimension_name = 1;

Returns
TypeDescription
String

The dimensionName.

getDimensionNameBytes()

public ByteString getDimensionNameBytes()

The dimension's name; for example 'userEmail'.

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(AccessDimensionHeader other)

public AccessDimensionHeader.Builder mergeFrom(AccessDimensionHeader other)
Parameter
NameDescription
otherAccessDimensionHeader
Returns
TypeDescription
AccessDimensionHeader.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDimensionName(String value)

public AccessDimensionHeader.Builder setDimensionName(String value)

The dimension's name; for example 'userEmail'.

string dimension_name = 1;

Parameter
NameDescription
valueString

The dimensionName to set.

Returns
TypeDescription
AccessDimensionHeader.Builder

This builder for chaining.

setDimensionNameBytes(ByteString value)

public AccessDimensionHeader.Builder setDimensionNameBytes(ByteString value)

The dimension's name; for example 'userEmail'.

string dimension_name = 1;

Parameter
NameDescription
valueByteString

The bytes for dimensionName to set.

Returns
TypeDescription
AccessDimensionHeader.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AccessDimensionHeader.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AccessDimensionHeader.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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