Class AccessDimension (0.59.0)

public final class AccessDimension extends GeneratedMessageV3 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 Fields

DIMENSION_NAME_FIELD_NUMBER

public static final int DIMENSION_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AccessDimension getDefaultInstance()
Returns
Type Description
AccessDimension

getDescriptor()

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

newBuilder()

public static AccessDimension.Builder newBuilder()
Returns
Type Description
AccessDimension.Builder

newBuilder(AccessDimension prototype)

public static AccessDimension.Builder newBuilder(AccessDimension prototype)
Parameter
Name Description
prototype AccessDimension
Returns
Type Description
AccessDimension.Builder

parseDelimitedFrom(InputStream input)

public static AccessDimension parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AccessDimension
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessDimension parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessDimension
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AccessDimension parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AccessDimension
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AccessDimension parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessDimension
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AccessDimension parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AccessDimension
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AccessDimension parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessDimension
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AccessDimension parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AccessDimension
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessDimension parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessDimension
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AccessDimension parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AccessDimension
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AccessDimension parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessDimension
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AccessDimension parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AccessDimension
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AccessDimension parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AccessDimension
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AccessDimension> parser()
Returns
Type Description
Parser<AccessDimension>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AccessDimension getDefaultInstanceForType()
Returns
Type Description
AccessDimension

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.

getParserForType()

public Parser<AccessDimension> getParserForType()
Returns
Type Description
Parser<AccessDimension>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AccessDimension.Builder newBuilderForType()
Returns
Type Description
AccessDimension.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AccessDimension.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AccessDimension.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AccessDimension.Builder toBuilder()
Returns
Type Description
AccessDimension.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException