public final class ConversionMetadata extends GeneratedMessage implements ConversionMetadataOrBuilderThe metadata for a single conversion.
<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.ConversionMetadata
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ConversionMetadataImplements
ConversionMetadataOrBuilderStatic Fields
CONVERSION_ACTION_FIELD_NUMBER
public static final int CONVERSION_ACTION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ConversionMetadata getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ConversionMetadata |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ConversionMetadata.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ConversionMetadata.Builder |
|
newBuilder(ConversionMetadata prototype)
public static ConversionMetadata.Builder newBuilder(ConversionMetadata prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ConversionMetadata |
| Returns | |
|---|---|
| Type | Description |
ConversionMetadata.Builder |
|
parseDelimitedFrom(InputStream input)
public static ConversionMetadata parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ConversionMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ConversionMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConversionMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ConversionMetadata parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ConversionMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConversionMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConversionMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ConversionMetadata parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ConversionMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConversionMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConversionMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ConversionMetadata parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ConversionMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ConversionMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConversionMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ConversionMetadata parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ConversionMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ConversionMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConversionMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ConversionMetadata parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ConversionMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConversionMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ConversionMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ConversionMetadata> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ConversionMetadata> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getConversionAction()
public String getConversionAction() The unique identifier of the conversion action. This ID is used to specify
which conversions to include in a report by populating the
conversion_actions field in the ConversionsSpec of a report request.
For example, 'conversionActions/1234'.
string conversion_action = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The conversionAction. |
getConversionActionBytes()
public ByteString getConversionActionBytes() The unique identifier of the conversion action. This ID is used to specify
which conversions to include in a report by populating the
conversion_actions field in the ConversionsSpec of a report request.
For example, 'conversionActions/1234'.
string conversion_action = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for conversionAction. |
getDefaultInstanceForType()
public ConversionMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ConversionMetadata |
|
getDisplayName()
public String getDisplayName()This conversion's name within the Google Analytics user interface.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()This conversion's name within the Google Analytics user interface.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getParserForType()
public Parser<ConversionMetadata> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ConversionMetadata> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ConversionMetadata.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ConversionMetadata.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ConversionMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ConversionMetadata.Builder |
|
toBuilder()
public ConversionMetadata.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ConversionMetadata.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|