public final class DimensionMetadata extends com.google.protobuf.GeneratedMessageV3 implements DimensionMetadataOrBuilder
Explains a dimension.Protobuf type
google.analytics.data.v1beta.DimensionMetadata| Modifier and Type | Class and Description |
|---|---|
static class |
DimensionMetadata.Builder
Explains a dimension.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
API_NAME_FIELD_NUMBER |
static int |
CATEGORY_FIELD_NUMBER |
static int |
CUSTOM_DEFINITION_FIELD_NUMBER |
static int |
DEPRECATED_API_NAMES_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
UI_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getApiName()
This dimension's name.
|
com.google.protobuf.ByteString |
getApiNameBytes()
This dimension's name.
|
String |
getCategory()
The display name of the category that this dimension belongs to.
|
com.google.protobuf.ByteString |
getCategoryBytes()
The display name of the category that this dimension belongs to.
|
boolean |
getCustomDefinition()
True if the dimension is a custom dimension for this property.
|
static DimensionMetadata |
getDefaultInstance() |
DimensionMetadata |
getDefaultInstanceForType() |
String |
getDeprecatedApiNames(int index)
Still usable but deprecated names for this dimension.
|
com.google.protobuf.ByteString |
getDeprecatedApiNamesBytes(int index)
Still usable but deprecated names for this dimension.
|
int |
getDeprecatedApiNamesCount()
Still usable but deprecated names for this dimension.
|
com.google.protobuf.ProtocolStringList |
getDeprecatedApiNamesList()
Still usable but deprecated names for this dimension.
|
String |
getDescription()
Description of how this dimension is used and calculated.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Description of how this dimension is used and calculated.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<DimensionMetadata> |
getParserForType() |
int |
getSerializedSize() |
String |
getUiName()
This dimension's name within the Google Analytics user interface.
|
com.google.protobuf.ByteString |
getUiNameBytes()
This dimension's name within the Google Analytics user interface.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DimensionMetadata.Builder |
newBuilder() |
static DimensionMetadata.Builder |
newBuilder(DimensionMetadata prototype) |
DimensionMetadata.Builder |
newBuilderForType() |
protected DimensionMetadata.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DimensionMetadata |
parseDelimitedFrom(InputStream input) |
static DimensionMetadata |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DimensionMetadata |
parseFrom(byte[] data) |
static DimensionMetadata |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DimensionMetadata |
parseFrom(ByteBuffer data) |
static DimensionMetadata |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DimensionMetadata |
parseFrom(com.google.protobuf.ByteString data) |
static DimensionMetadata |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DimensionMetadata |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DimensionMetadata |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DimensionMetadata |
parseFrom(InputStream input) |
static DimensionMetadata |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DimensionMetadata> |
parser() |
DimensionMetadata.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int API_NAME_FIELD_NUMBER
public static final int UI_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int DEPRECATED_API_NAMES_FIELD_NUMBER
public static final int CUSTOM_DEFINITION_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getApiName()
This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For example, `eventName`.
string api_name = 1;getApiName in interface DimensionMetadataOrBuilderpublic com.google.protobuf.ByteString getApiNameBytes()
This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For example, `eventName`.
string api_name = 1;getApiNameBytes in interface DimensionMetadataOrBuilderpublic String getUiName()
This dimension's name within the Google Analytics user interface. For example, `Event name`.
string ui_name = 2;getUiName in interface DimensionMetadataOrBuilderpublic com.google.protobuf.ByteString getUiNameBytes()
This dimension's name within the Google Analytics user interface. For example, `Event name`.
string ui_name = 2;getUiNameBytes in interface DimensionMetadataOrBuilderpublic String getDescription()
Description of how this dimension is used and calculated.
string description = 3;getDescription in interface DimensionMetadataOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Description of how this dimension is used and calculated.
string description = 3;getDescriptionBytes in interface DimensionMetadataOrBuilderpublic com.google.protobuf.ProtocolStringList getDeprecatedApiNamesList()
Still usable but deprecated names for this dimension. If populated, this dimension is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the dimension will be available only by `apiName`.
repeated string deprecated_api_names = 4;getDeprecatedApiNamesList in interface DimensionMetadataOrBuilderpublic int getDeprecatedApiNamesCount()
Still usable but deprecated names for this dimension. If populated, this dimension is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the dimension will be available only by `apiName`.
repeated string deprecated_api_names = 4;getDeprecatedApiNamesCount in interface DimensionMetadataOrBuilderpublic String getDeprecatedApiNames(int index)
Still usable but deprecated names for this dimension. If populated, this dimension is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the dimension will be available only by `apiName`.
repeated string deprecated_api_names = 4;getDeprecatedApiNames in interface DimensionMetadataOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getDeprecatedApiNamesBytes(int index)
Still usable but deprecated names for this dimension. If populated, this dimension is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the dimension will be available only by `apiName`.
repeated string deprecated_api_names = 4;getDeprecatedApiNamesBytes in interface DimensionMetadataOrBuilderindex - The index of the value to return.public boolean getCustomDefinition()
True if the dimension is a custom dimension for this property.
bool custom_definition = 5;getCustomDefinition in interface DimensionMetadataOrBuilderpublic String getCategory()
The display name of the category that this dimension belongs to. Similar dimensions and metrics are categorized together.
string category = 7;getCategory in interface DimensionMetadataOrBuilderpublic com.google.protobuf.ByteString getCategoryBytes()
The display name of the category that this dimension belongs to. Similar dimensions and metrics are categorized together.
string category = 7;getCategoryBytes in interface DimensionMetadataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DimensionMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DimensionMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DimensionMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DimensionMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DimensionMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DimensionMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DimensionMetadata parseFrom(InputStream input) throws IOException
IOExceptionpublic static DimensionMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DimensionMetadata parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DimensionMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DimensionMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DimensionMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DimensionMetadata.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DimensionMetadata.Builder newBuilder()
public static DimensionMetadata.Builder newBuilder(DimensionMetadata prototype)
public DimensionMetadata.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DimensionMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DimensionMetadata getDefaultInstance()
public static com.google.protobuf.Parser<DimensionMetadata> parser()
public com.google.protobuf.Parser<DimensionMetadata> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DimensionMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.