Class AccessDimensionHeader.Builder (0.52.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.v1beta.AccessDimensionHeader

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessDimensionHeader build()
Returns
Type Description
AccessDimensionHeader

buildPartial()

public AccessDimensionHeader buildPartial()
Returns
Type Description
AccessDimensionHeader

clear()

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

clearDimensionName()

public AccessDimensionHeader.Builder clearDimensionName()

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

string dimension_name = 1;

Returns
Type Description
AccessDimensionHeader.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AccessDimensionHeader getDefaultInstanceForType()
Returns
Type Description
AccessDimensionHeader

getDescriptorForType()

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

getDimensionName()

public String getDimensionName()

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

string dimension_name = 1;

Returns
Type Description
String

The dimensionName.

getDimensionNameBytes()

public ByteString getDimensionNameBytes()

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

string dimension_name = 1;

Returns
Type Description
ByteString

The bytes for dimensionName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AccessDimensionHeader other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDimensionName(String value)

public AccessDimensionHeader.Builder setDimensionName(String value)

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

string dimension_name = 1;

Parameter
Name Description
value String

The dimensionName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for dimensionName to set.

Returns
Type Description
AccessDimensionHeader.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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