Package com.google.analytics.data.v1beta
Interface DimensionMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DimensionMetadata,DimensionMetadata.Builder
@Generated
public interface DimensionMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThis dimension's name.com.google.protobuf.ByteStringThis dimension's name.The display name of the category that this dimension belongs to.com.google.protobuf.ByteStringThe display name of the category that this dimension belongs to.booleanTrue if the dimension is custom to this property.getDeprecatedApiNames(int index) Still usable but deprecated names for this dimension.com.google.protobuf.ByteStringgetDeprecatedApiNamesBytes(int index) Still usable but deprecated names for this dimension.intStill usable but deprecated names for this dimension.Still usable but deprecated names for this dimension.Description of how this dimension is used and calculated.com.google.protobuf.ByteStringDescription of how this dimension is used and calculated.This dimension's name within the Google Analytics user interface.com.google.protobuf.ByteStringThis dimension's name within the Google Analytics user interface.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getApiName
String getApiName()This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For example, `eventName`.
string api_name = 1;- Returns:
- The apiName.
-
getApiNameBytes
com.google.protobuf.ByteString getApiNameBytes()This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For example, `eventName`.
string api_name = 1;- Returns:
- The bytes for apiName.
-
getUiName
String getUiName()This dimension's name within the Google Analytics user interface. For example, `Event name`.
string ui_name = 2;- Returns:
- The uiName.
-
getUiNameBytes
com.google.protobuf.ByteString getUiNameBytes()This dimension's name within the Google Analytics user interface. For example, `Event name`.
string ui_name = 2;- Returns:
- The bytes for uiName.
-
getDescription
String getDescription()Description of how this dimension is used and calculated.
string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Description of how this dimension is used and calculated.
string description = 3;- Returns:
- The bytes for description.
-
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;- Returns:
- A list containing the deprecatedApiNames.
-
getDeprecatedApiNamesCount
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;- Returns:
- The count of deprecatedApiNames.
-
getDeprecatedApiNames
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;- Parameters:
index- The index of the element to return.- Returns:
- The deprecatedApiNames at the given index.
-
getDeprecatedApiNamesBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the deprecatedApiNames at the given index.
-
getCustomDefinition
boolean getCustomDefinition()True if the dimension is custom to this property. This includes user, event, & item scoped custom dimensions; to learn more about custom dimensions, see https://support.google.com/analytics/answer/14240153. This also include custom channel groups; to learn more about custom channel groups, see https://support.google.com/analytics/answer/13051316.
bool custom_definition = 5;- Returns:
- The customDefinition.
-
getCategory
String getCategory()The display name of the category that this dimension belongs to. Similar dimensions and metrics are categorized together.
string category = 7;- Returns:
- The category.
-
getCategoryBytes
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;- Returns:
- The bytes for category.
-