Class AudienceDimension (0.47.0)

public final class AudienceDimension extends GeneratedMessageV3 implements AudienceDimensionOrBuilder

An audience dimension is a user attribute. Specific user attributed are requested and then later returned in the QueryAudienceExportResponse.

Protobuf type google.analytics.data.v1beta.AudienceDimension

Static Fields

DIMENSION_NAME_FIELD_NUMBER

public static final int DIMENSION_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AudienceDimension getDefaultInstance()
Returns
TypeDescription
AudienceDimension

getDescriptor()

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

newBuilder()

public static AudienceDimension.Builder newBuilder()
Returns
TypeDescription
AudienceDimension.Builder

newBuilder(AudienceDimension prototype)

public static AudienceDimension.Builder newBuilder(AudienceDimension prototype)
Parameter
NameDescription
prototypeAudienceDimension
Returns
TypeDescription
AudienceDimension.Builder

parseDelimitedFrom(InputStream input)

public static AudienceDimension parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AudienceDimension
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceDimension parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceDimension
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AudienceDimension parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AudienceDimension
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AudienceDimension parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceDimension
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AudienceDimension parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AudienceDimension
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AudienceDimension parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceDimension
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AudienceDimension parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AudienceDimension
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceDimension parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceDimension
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AudienceDimension parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AudienceDimension
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceDimension parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceDimension
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AudienceDimension parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AudienceDimension
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AudienceDimension parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceDimension
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AudienceDimension> parser()
Returns
TypeDescription
Parser<AudienceDimension>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AudienceDimension getDefaultInstanceForType()
Returns
TypeDescription
AudienceDimension

getDimensionName()

public String getDimensionName()

Optional. The API name of the dimension. See the API Dimensions for the list of dimension names.

string dimension_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The dimensionName.

getDimensionNameBytes()

public ByteString getDimensionNameBytes()

Optional. The API name of the dimension. See the API Dimensions for the list of dimension names.

string dimension_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for dimensionName.

getParserForType()

public Parser<AudienceDimension> getParserForType()
Returns
TypeDescription
Parser<AudienceDimension>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AudienceDimension.Builder newBuilderForType()
Returns
TypeDescription
AudienceDimension.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AudienceDimension.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AudienceDimension.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AudienceDimension.Builder toBuilder()
Returns
TypeDescription
AudienceDimension.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException