Class AccessDimension.Builder (0.50.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessDimension build()
Returns
TypeDescription
AccessDimension

buildPartial()

public AccessDimension buildPartial()
Returns
TypeDescription
AccessDimension

clear()

public AccessDimension.Builder clear()
Returns
TypeDescription
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
TypeDescription
AccessDimension.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AccessDimension getDefaultInstanceForType()
Returns
TypeDescription
AccessDimension

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
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(AccessDimension other)

public AccessDimension.Builder mergeFrom(AccessDimension other)
Parameter
NameDescription
otherAccessDimension
Returns
TypeDescription
AccessDimension.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccessDimension.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The dimensionName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dimensionName to set.

Returns
TypeDescription
AccessDimension.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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