public static final class DimensionMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DimensionMetadata.Builder> implements DimensionMetadataOrBuilder
Explains a dimension.Protobuf type
google.analytics.data.v1beta.DimensionMetadata| Modifier and Type | Method and Description |
|---|---|
DimensionMetadata.Builder |
addAllDeprecatedApiNames(Iterable<String> values)
Still usable but deprecated names for this dimension.
|
DimensionMetadata.Builder |
addDeprecatedApiNames(String value)
Still usable but deprecated names for this dimension.
|
DimensionMetadata.Builder |
addDeprecatedApiNamesBytes(com.google.protobuf.ByteString value)
Still usable but deprecated names for this dimension.
|
DimensionMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DimensionMetadata |
build() |
DimensionMetadata |
buildPartial() |
DimensionMetadata.Builder |
clear() |
DimensionMetadata.Builder |
clearApiName()
This dimension's name.
|
DimensionMetadata.Builder |
clearCategory()
The display name of the category that this dimension belongs to.
|
DimensionMetadata.Builder |
clearCustomDefinition()
True if the dimension is a custom dimension for this property.
|
DimensionMetadata.Builder |
clearDeprecatedApiNames()
Still usable but deprecated names for this dimension.
|
DimensionMetadata.Builder |
clearDescription()
Description of how this dimension is used and calculated.
|
DimensionMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DimensionMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DimensionMetadata.Builder |
clearUiName()
This dimension's name within the Google Analytics user interface.
|
DimensionMetadata.Builder |
clone() |
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.
|
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.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DimensionMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DimensionMetadata.Builder |
mergeFrom(DimensionMetadata other) |
DimensionMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
DimensionMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DimensionMetadata.Builder |
setApiName(String value)
This dimension's name.
|
DimensionMetadata.Builder |
setApiNameBytes(com.google.protobuf.ByteString value)
This dimension's name.
|
DimensionMetadata.Builder |
setCategory(String value)
The display name of the category that this dimension belongs to.
|
DimensionMetadata.Builder |
setCategoryBytes(com.google.protobuf.ByteString value)
The display name of the category that this dimension belongs to.
|
DimensionMetadata.Builder |
setCustomDefinition(boolean value)
True if the dimension is a custom dimension for this property.
|
DimensionMetadata.Builder |
setDeprecatedApiNames(int index,
String value)
Still usable but deprecated names for this dimension.
|
DimensionMetadata.Builder |
setDescription(String value)
Description of how this dimension is used and calculated.
|
DimensionMetadata.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Description of how this dimension is used and calculated.
|
DimensionMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DimensionMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DimensionMetadata.Builder |
setUiName(String value)
This dimension's name within the Google Analytics user interface.
|
DimensionMetadata.Builder |
setUiNameBytes(com.google.protobuf.ByteString value)
This dimension's name within the Google Analytics user interface.
|
DimensionMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionMetadata.Builder>public DimensionMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionMetadata.Builder>public DimensionMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DimensionMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DimensionMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DimensionMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionMetadata.Builder>public DimensionMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionMetadata.Builder>public DimensionMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionMetadata.Builder>public DimensionMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionMetadata.Builder>public DimensionMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionMetadata.Builder>public DimensionMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionMetadata.Builder>public DimensionMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DimensionMetadata.Builder>public DimensionMetadata.Builder mergeFrom(DimensionMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionMetadata.Builder>public DimensionMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DimensionMetadata.Builder>IOExceptionpublic 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 DimensionMetadata.Builder setApiName(String value)
This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For example, `eventName`.
string api_name = 1;value - The apiName to set.public DimensionMetadata.Builder clearApiName()
This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For example, `eventName`.
string api_name = 1;public DimensionMetadata.Builder setApiNameBytes(com.google.protobuf.ByteString value)
This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For example, `eventName`.
string api_name = 1;value - The bytes for apiName to set.public 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 DimensionMetadata.Builder setUiName(String value)
This dimension's name within the Google Analytics user interface. For example, `Event name`.
string ui_name = 2;value - The uiName to set.public DimensionMetadata.Builder clearUiName()
This dimension's name within the Google Analytics user interface. For example, `Event name`.
string ui_name = 2;public DimensionMetadata.Builder setUiNameBytes(com.google.protobuf.ByteString value)
This dimension's name within the Google Analytics user interface. For example, `Event name`.
string ui_name = 2;value - The bytes for uiName to set.public 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 DimensionMetadata.Builder setDescription(String value)
Description of how this dimension is used and calculated.
string description = 3;value - The description to set.public DimensionMetadata.Builder clearDescription()
Description of how this dimension is used and calculated.
string description = 3;public DimensionMetadata.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of how this dimension is used and calculated.
string description = 3;value - The bytes for description to set.public 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 DimensionMetadata.Builder setDeprecatedApiNames(int index, String value)
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;index - The index to set the value at.value - The deprecatedApiNames to set.public DimensionMetadata.Builder addDeprecatedApiNames(String value)
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;value - The deprecatedApiNames to add.public DimensionMetadata.Builder addAllDeprecatedApiNames(Iterable<String> values)
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;values - The deprecatedApiNames to add.public DimensionMetadata.Builder clearDeprecatedApiNames()
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;public DimensionMetadata.Builder addDeprecatedApiNamesBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the deprecatedApiNames to add.public boolean getCustomDefinition()
True if the dimension is a custom dimension for this property.
bool custom_definition = 5;getCustomDefinition in interface DimensionMetadataOrBuilderpublic DimensionMetadata.Builder setCustomDefinition(boolean value)
True if the dimension is a custom dimension for this property.
bool custom_definition = 5;value - The customDefinition to set.public DimensionMetadata.Builder clearCustomDefinition()
True if the dimension is a custom dimension for this property.
bool custom_definition = 5;public 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 DimensionMetadata.Builder setCategory(String value)
The display name of the category that this dimension belongs to. Similar dimensions and metrics are categorized together.
string category = 7;value - The category to set.public DimensionMetadata.Builder clearCategory()
The display name of the category that this dimension belongs to. Similar dimensions and metrics are categorized together.
string category = 7;public DimensionMetadata.Builder setCategoryBytes(com.google.protobuf.ByteString value)
The display name of the category that this dimension belongs to. Similar dimensions and metrics are categorized together.
string category = 7;value - The bytes for category to set.public final DimensionMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionMetadata.Builder>public final DimensionMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DimensionMetadata.Builder>Copyright © 2022 Google LLC. All rights reserved.