Class EnhancedMeasurementSettings
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings
- All Implemented Interfaces:
EnhancedMeasurementSettingsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class EnhancedMeasurementSettings
extends com.google.protobuf.GeneratedMessage
implements EnhancedMeasurementSettingsOrBuilder
Singleton resource under a web DataStream, configuring measurement of additional site interactions and content.Protobuf type
google.analytics.admin.v1alpha.EnhancedMeasurementSettings- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSingleton resource under a web DataStream, configuring measurement of additional site interactions and content.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic EnhancedMeasurementSettingsstatic final com.google.protobuf.Descriptors.DescriptorbooleanIf enabled, capture a file download event each time a link is clicked with a common document, compressed file, application, video, or audio extension.booleanIf enabled, capture a form interaction event each time a visitor interacts with a form on your website.getName()Output only.com.google.protobuf.ByteStringOutput only.booleanIf enabled, capture an outbound click event each time a visitor clicks a link that leads them away from your domain.booleanIf enabled, capture a page view event each time the website changes the browser history state.com.google.protobuf.Parser<EnhancedMeasurementSettings>booleanIf enabled, capture scroll events each time a visitor gets to the bottom of a page.Required.com.google.protobuf.ByteStringRequired.intbooleanIf enabled, capture a view search results event each time a visitor performs a search on your site (based on a query parameter).booleanIndicates whether Enhanced Measurement Settings will be used to automatically measure interactions and content on this web stream.Additional URL query parameters.com.google.protobuf.ByteStringAdditional URL query parameters.booleanIf enabled, capture video play, progress, and complete events as visitors view embedded videos on your site.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(EnhancedMeasurementSettings prototype) protected EnhancedMeasurementSettings.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static EnhancedMeasurementSettingsparseDelimitedFrom(InputStream input) static EnhancedMeasurementSettingsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnhancedMeasurementSettingsparseFrom(byte[] data) static EnhancedMeasurementSettingsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnhancedMeasurementSettingsparseFrom(com.google.protobuf.ByteString data) static EnhancedMeasurementSettingsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnhancedMeasurementSettingsparseFrom(com.google.protobuf.CodedInputStream input) static EnhancedMeasurementSettingsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnhancedMeasurementSettingsparseFrom(InputStream input) static EnhancedMeasurementSettingsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EnhancedMeasurementSettingsparseFrom(ByteBuffer data) static EnhancedMeasurementSettingsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<EnhancedMeasurementSettings>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
STREAM_ENABLED_FIELD_NUMBER
public static final int STREAM_ENABLED_FIELD_NUMBER- See Also:
-
SCROLLS_ENABLED_FIELD_NUMBER
public static final int SCROLLS_ENABLED_FIELD_NUMBER- See Also:
-
OUTBOUND_CLICKS_ENABLED_FIELD_NUMBER
public static final int OUTBOUND_CLICKS_ENABLED_FIELD_NUMBER- See Also:
-
SITE_SEARCH_ENABLED_FIELD_NUMBER
public static final int SITE_SEARCH_ENABLED_FIELD_NUMBER- See Also:
-
VIDEO_ENGAGEMENT_ENABLED_FIELD_NUMBER
public static final int VIDEO_ENGAGEMENT_ENABLED_FIELD_NUMBER- See Also:
-
FILE_DOWNLOADS_ENABLED_FIELD_NUMBER
public static final int FILE_DOWNLOADS_ENABLED_FIELD_NUMBER- See Also:
-
PAGE_CHANGES_ENABLED_FIELD_NUMBER
public static final int PAGE_CHANGES_ENABLED_FIELD_NUMBER- See Also:
-
FORM_INTERACTIONS_ENABLED_FIELD_NUMBER
public static final int FORM_INTERACTIONS_ENABLED_FIELD_NUMBER- See Also:
-
SEARCH_QUERY_PARAMETER_FIELD_NUMBER
public static final int SEARCH_QUERY_PARAMETER_FIELD_NUMBER- See Also:
-
URI_QUERY_PARAMETER_FIELD_NUMBER
public static final int URI_QUERY_PARAMETER_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Output only. Resource name of the Enhanced Measurement Settings. Format: properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceEnhancedMeasurementSettingsOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Resource name of the Enhanced Measurement Settings. Format: properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceEnhancedMeasurementSettingsOrBuilder- Returns:
- The bytes for name.
-
getStreamEnabled
public boolean getStreamEnabled()Indicates whether Enhanced Measurement Settings will be used to automatically measure interactions and content on this web stream. Changing this value does not affect the settings themselves, but determines whether they are respected.
bool stream_enabled = 2;- Specified by:
getStreamEnabledin interfaceEnhancedMeasurementSettingsOrBuilder- Returns:
- The streamEnabled.
-
getScrollsEnabled
public boolean getScrollsEnabled()If enabled, capture scroll events each time a visitor gets to the bottom of a page.
bool scrolls_enabled = 3;- Specified by:
getScrollsEnabledin interfaceEnhancedMeasurementSettingsOrBuilder- Returns:
- The scrollsEnabled.
-
getOutboundClicksEnabled
public boolean getOutboundClicksEnabled()If enabled, capture an outbound click event each time a visitor clicks a link that leads them away from your domain.
bool outbound_clicks_enabled = 4;- Specified by:
getOutboundClicksEnabledin interfaceEnhancedMeasurementSettingsOrBuilder- Returns:
- The outboundClicksEnabled.
-
getSiteSearchEnabled
public boolean getSiteSearchEnabled()If enabled, capture a view search results event each time a visitor performs a search on your site (based on a query parameter).
bool site_search_enabled = 5;- Specified by:
getSiteSearchEnabledin interfaceEnhancedMeasurementSettingsOrBuilder- Returns:
- The siteSearchEnabled.
-
getVideoEngagementEnabled
public boolean getVideoEngagementEnabled()If enabled, capture video play, progress, and complete events as visitors view embedded videos on your site.
bool video_engagement_enabled = 6;- Specified by:
getVideoEngagementEnabledin interfaceEnhancedMeasurementSettingsOrBuilder- Returns:
- The videoEngagementEnabled.
-
getFileDownloadsEnabled
public boolean getFileDownloadsEnabled()If enabled, capture a file download event each time a link is clicked with a common document, compressed file, application, video, or audio extension.
bool file_downloads_enabled = 7;- Specified by:
getFileDownloadsEnabledin interfaceEnhancedMeasurementSettingsOrBuilder- Returns:
- The fileDownloadsEnabled.
-
getPageChangesEnabled
public boolean getPageChangesEnabled()If enabled, capture a page view event each time the website changes the browser history state.
bool page_changes_enabled = 8;- Specified by:
getPageChangesEnabledin interfaceEnhancedMeasurementSettingsOrBuilder- Returns:
- The pageChangesEnabled.
-
getFormInteractionsEnabled
public boolean getFormInteractionsEnabled()If enabled, capture a form interaction event each time a visitor interacts with a form on your website. False by default.
bool form_interactions_enabled = 9;- Specified by:
getFormInteractionsEnabledin interfaceEnhancedMeasurementSettingsOrBuilder- Returns:
- The formInteractionsEnabled.
-
getSearchQueryParameter
Required. URL query parameters to interpret as site search parameters. Max length is 1024 characters. Must not be empty.
string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSearchQueryParameterin interfaceEnhancedMeasurementSettingsOrBuilder- Returns:
- The searchQueryParameter.
-
getSearchQueryParameterBytes
public com.google.protobuf.ByteString getSearchQueryParameterBytes()Required. URL query parameters to interpret as site search parameters. Max length is 1024 characters. Must not be empty.
string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSearchQueryParameterBytesin interfaceEnhancedMeasurementSettingsOrBuilder- Returns:
- The bytes for searchQueryParameter.
-
getUriQueryParameter
Additional URL query parameters. Max length is 1024 characters.
string uri_query_parameter = 11;- Specified by:
getUriQueryParameterin interfaceEnhancedMeasurementSettingsOrBuilder- Returns:
- The uriQueryParameter.
-
getUriQueryParameterBytes
public com.google.protobuf.ByteString getUriQueryParameterBytes()Additional URL query parameters. Max length is 1024 characters.
string uri_query_parameter = 11;- Specified by:
getUriQueryParameterBytesin interfaceEnhancedMeasurementSettingsOrBuilder- Returns:
- The bytes for uriQueryParameter.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EnhancedMeasurementSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EnhancedMeasurementSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EnhancedMeasurementSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EnhancedMeasurementSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EnhancedMeasurementSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EnhancedMeasurementSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static EnhancedMeasurementSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static EnhancedMeasurementSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static EnhancedMeasurementSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static EnhancedMeasurementSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EnhancedMeasurementSettings.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-