Class AccessDimension.Builder (0.56.0)

public static final class AccessDimension.Builder extends GeneratedMessageV3.Builder<AccessDimension.Builder> implements AccessDimensionOrBuilder

Dimensions are attributes of your data. For example, the dimension userEmail indicates the email of the user that accessed reporting data. Dimension values in report responses are strings.

Protobuf type google.analytics.admin.v1alpha.AccessDimension

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessDimension build()
Returns
Type Description
AccessDimension

buildPartial()

public AccessDimension buildPartial()
Returns
Type Description
AccessDimension

clear()

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

clearDimensionName()

public AccessDimension.Builder clearDimensionName()

The API name of the dimension. See Data Access Schema for the list of dimensions supported in this API.

Dimensions are referenced by name in dimensionFilter and orderBys.

string dimension_name = 1;

Returns
Type Description
AccessDimension.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AccessDimension getDefaultInstanceForType()
Returns
Type Description
AccessDimension

getDescriptorForType()

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

getDimensionName()

public String getDimensionName()

The API name of the dimension. See Data Access Schema for the list of dimensions supported in this API.

Dimensions are referenced by name in dimensionFilter and orderBys.

string dimension_name = 1;

Returns
Type Description
String

The dimensionName.

getDimensionNameBytes()

public ByteString getDimensionNameBytes()

The API name of the dimension. See Data Access Schema for the list of dimensions supported in this API.

Dimensions are referenced by name in dimensionFilter and orderBys.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDimensionName(String value)

public AccessDimension.Builder setDimensionName(String value)

The API name of the dimension. See Data Access Schema for the list of dimensions supported in this API.

Dimensions are referenced by name in dimensionFilter and orderBys.

string dimension_name = 1;

Parameter
Name Description
value String

The dimensionName to set.

Returns
Type Description
AccessDimension.Builder

This builder for chaining.

setDimensionNameBytes(ByteString value)

public AccessDimension.Builder setDimensionNameBytes(ByteString value)

The API name of the dimension. See Data Access Schema for the list of dimensions supported in this API.

Dimensions are referenced by name in dimensionFilter and orderBys.

string dimension_name = 1;

Parameter
Name Description
value ByteString

The bytes for dimensionName to set.

Returns
Type Description
AccessDimension.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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