public final class ConversionSpec extends GeneratedMessage implements ConversionSpecOrBuilder
Controls conversion reporting.
<aside class="caution">
This feature may not be available to your Google Analytics property. The
Google Analytics team is actively working to expand this feature to more
properties. Please reach out to your
<a href="https://support.google.com/analytics/gethelp">support team</a> if
you have questions about the eligibility of your property.
</aside>
Protobuf type google.analytics.data.v1alpha.ConversionSpec
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ATTRIBUTION_MODEL_FIELD_NUMBER
public static final int ATTRIBUTION_MODEL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CONVERSION_ACTIONS_FIELD_NUMBER
public static final int CONVERSION_ACTIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ConversionSpec getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ConversionSpec.Builder newBuilder()
newBuilder(ConversionSpec prototype)
public static ConversionSpec.Builder newBuilder(ConversionSpec prototype)
public static ConversionSpec parseDelimitedFrom(InputStream input)
public static ConversionSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ConversionSpec parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConversionSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ConversionSpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConversionSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConversionSpec parseFrom(CodedInputStream input)
public static ConversionSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ConversionSpec parseFrom(InputStream input)
public static ConversionSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ConversionSpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConversionSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ConversionSpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAttributionModel()
public ConversionSpec.AttributionModel getAttributionModel()
The attribution model to use in the Conversion Report. If unspecified,
DATA_DRIVEN is used.
.google.analytics.data.v1alpha.ConversionSpec.AttributionModel attribution_model = 2;
getAttributionModelValue()
public int getAttributionModelValue()
The attribution model to use in the Conversion Report. If unspecified,
DATA_DRIVEN is used.
.google.analytics.data.v1alpha.ConversionSpec.AttributionModel attribution_model = 2;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for attributionModel.
|
getConversionActions(int index)
public String getConversionActions(int index)
The conversion action IDs to include in the report. If empty, all
conversions are included. Valid conversion action IDs can be retrieved from
the conversion_action field within the conversions list in the
response of the GetMetadata method. For example,
'conversionActions/1234'.
repeated string conversion_actions = 1;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The conversionActions at the given index.
|
getConversionActionsBytes(int index)
public ByteString getConversionActionsBytes(int index)
The conversion action IDs to include in the report. If empty, all
conversions are included. Valid conversion action IDs can be retrieved from
the conversion_action field within the conversions list in the
response of the GetMetadata method. For example,
'conversionActions/1234'.
repeated string conversion_actions = 1;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the conversionActions at the given index.
|
getConversionActionsCount()
public int getConversionActionsCount()
The conversion action IDs to include in the report. If empty, all
conversions are included. Valid conversion action IDs can be retrieved from
the conversion_action field within the conversions list in the
response of the GetMetadata method. For example,
'conversionActions/1234'.
repeated string conversion_actions = 1;
| Returns |
| Type |
Description |
int |
The count of conversionActions.
|
getConversionActionsList()
public ProtocolStringList getConversionActionsList()
The conversion action IDs to include in the report. If empty, all
conversions are included. Valid conversion action IDs can be retrieved from
the conversion_action field within the conversions list in the
response of the GetMetadata method. For example,
'conversionActions/1234'.
repeated string conversion_actions = 1;
getDefaultInstanceForType()
public ConversionSpec getDefaultInstanceForType()
getParserForType()
public Parser<ConversionSpec> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ConversionSpec.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ConversionSpec.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ConversionSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides