Class StoreSalesMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.common.StoreSalesMetadata
-
- All Implemented Interfaces:
StoreSalesMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class StoreSalesMetadata extends com.google.protobuf.GeneratedMessageV3 implements StoreSalesMetadataOrBuilder
Metadata for Store Sales Direct.
Protobuf typegoogle.ads.googleads.v10.common.StoreSalesMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStoreSalesMetadata.BuilderMetadata for Store Sales Direct.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCUSTOM_KEY_FIELD_NUMBERstatic intLOYALTY_FRACTION_FIELD_NUMBERstatic intTHIRD_PARTY_METADATA_FIELD_NUMBERstatic intTRANSACTION_UPLOAD_FRACTION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetCustomKey()Name of the store sales custom variable key.com.google.protobuf.ByteStringgetCustomKeyBytes()Name of the store sales custom variable key.static StoreSalesMetadatagetDefaultInstance()StoreSalesMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()doublegetLoyaltyFraction()This is the fraction of all transactions that are identifiable (i.e., associated with any form of customer information).com.google.protobuf.Parser<StoreSalesMetadata>getParserForType()intgetSerializedSize()StoreSalesThirdPartyMetadatagetThirdPartyMetadata()Metadata for a third party Store Sales upload.StoreSalesThirdPartyMetadataOrBuildergetThirdPartyMetadataOrBuilder()Metadata for a third party Store Sales upload.doublegetTransactionUploadFraction()This is the ratio of sales being uploaded compared to the overall sales that can be associated with a customer.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasCustomKey()Name of the store sales custom variable key.inthashCode()booleanhasLoyaltyFraction()This is the fraction of all transactions that are identifiable (i.e., associated with any form of customer information).booleanhasThirdPartyMetadata()Metadata for a third party Store Sales upload.booleanhasTransactionUploadFraction()This is the ratio of sales being uploaded compared to the overall sales that can be associated with a customer.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static StoreSalesMetadata.BuildernewBuilder()static StoreSalesMetadata.BuildernewBuilder(StoreSalesMetadata prototype)StoreSalesMetadata.BuildernewBuilderForType()protected StoreSalesMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static StoreSalesMetadataparseDelimitedFrom(java.io.InputStream input)static StoreSalesMetadataparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StoreSalesMetadataparseFrom(byte[] data)static StoreSalesMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StoreSalesMetadataparseFrom(com.google.protobuf.ByteString data)static StoreSalesMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StoreSalesMetadataparseFrom(com.google.protobuf.CodedInputStream input)static StoreSalesMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StoreSalesMetadataparseFrom(java.io.InputStream input)static StoreSalesMetadataparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StoreSalesMetadataparseFrom(java.nio.ByteBuffer data)static StoreSalesMetadataparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<StoreSalesMetadata>parser()StoreSalesMetadata.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
LOYALTY_FRACTION_FIELD_NUMBER
public static final int LOYALTY_FRACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSACTION_UPLOAD_FRACTION_FIELD_NUMBER
public static final int TRANSACTION_UPLOAD_FRACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_KEY_FIELD_NUMBER
public static final int CUSTOM_KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
THIRD_PARTY_METADATA_FIELD_NUMBER
public static final int THIRD_PARTY_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasLoyaltyFraction
public boolean hasLoyaltyFraction()
This is the fraction of all transactions that are identifiable (i.e., associated with any form of customer information). Required. The fraction needs to be between 0 and 1 (excluding 0).
optional double loyalty_fraction = 5;- Specified by:
hasLoyaltyFractionin interfaceStoreSalesMetadataOrBuilder- Returns:
- Whether the loyaltyFraction field is set.
-
getLoyaltyFraction
public double getLoyaltyFraction()
This is the fraction of all transactions that are identifiable (i.e., associated with any form of customer information). Required. The fraction needs to be between 0 and 1 (excluding 0).
optional double loyalty_fraction = 5;- Specified by:
getLoyaltyFractionin interfaceStoreSalesMetadataOrBuilder- Returns:
- The loyaltyFraction.
-
hasTransactionUploadFraction
public boolean hasTransactionUploadFraction()
This is the ratio of sales being uploaded compared to the overall sales that can be associated with a customer. Required. The fraction needs to be between 0 and 1 (excluding 0). For example, if you upload half the sales that you are able to associate with a customer, this would be 0.5.
optional double transaction_upload_fraction = 6;- Specified by:
hasTransactionUploadFractionin interfaceStoreSalesMetadataOrBuilder- Returns:
- Whether the transactionUploadFraction field is set.
-
getTransactionUploadFraction
public double getTransactionUploadFraction()
This is the ratio of sales being uploaded compared to the overall sales that can be associated with a customer. Required. The fraction needs to be between 0 and 1 (excluding 0). For example, if you upload half the sales that you are able to associate with a customer, this would be 0.5.
optional double transaction_upload_fraction = 6;- Specified by:
getTransactionUploadFractionin interfaceStoreSalesMetadataOrBuilder- Returns:
- The transactionUploadFraction.
-
hasCustomKey
public boolean hasCustomKey()
Name of the store sales custom variable key. A predefined key that can be applied to the transaction and then later used for custom segmentation in reporting. Accessible only to customers on the allow-list.
optional string custom_key = 7;- Specified by:
hasCustomKeyin interfaceStoreSalesMetadataOrBuilder- Returns:
- Whether the customKey field is set.
-
getCustomKey
public java.lang.String getCustomKey()
Name of the store sales custom variable key. A predefined key that can be applied to the transaction and then later used for custom segmentation in reporting. Accessible only to customers on the allow-list.
optional string custom_key = 7;- Specified by:
getCustomKeyin interfaceStoreSalesMetadataOrBuilder- Returns:
- The customKey.
-
getCustomKeyBytes
public com.google.protobuf.ByteString getCustomKeyBytes()
Name of the store sales custom variable key. A predefined key that can be applied to the transaction and then later used for custom segmentation in reporting. Accessible only to customers on the allow-list.
optional string custom_key = 7;- Specified by:
getCustomKeyBytesin interfaceStoreSalesMetadataOrBuilder- Returns:
- The bytes for customKey.
-
hasThirdPartyMetadata
public boolean hasThirdPartyMetadata()
Metadata for a third party Store Sales upload.
.google.ads.googleads.v10.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;- Specified by:
hasThirdPartyMetadatain interfaceStoreSalesMetadataOrBuilder- Returns:
- Whether the thirdPartyMetadata field is set.
-
getThirdPartyMetadata
public StoreSalesThirdPartyMetadata getThirdPartyMetadata()
Metadata for a third party Store Sales upload.
.google.ads.googleads.v10.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;- Specified by:
getThirdPartyMetadatain interfaceStoreSalesMetadataOrBuilder- Returns:
- The thirdPartyMetadata.
-
getThirdPartyMetadataOrBuilder
public StoreSalesThirdPartyMetadataOrBuilder getThirdPartyMetadataOrBuilder()
Metadata for a third party Store Sales upload.
.google.ads.googleads.v10.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;- Specified by:
getThirdPartyMetadataOrBuilderin interfaceStoreSalesMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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 StoreSalesMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreSalesMetadata parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreSalesMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreSalesMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreSalesMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreSalesMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreSalesMetadata parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StoreSalesMetadata parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static StoreSalesMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static StoreSalesMetadata parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StoreSalesMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static StoreSalesMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public StoreSalesMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StoreSalesMetadata.Builder newBuilder()
-
newBuilder
public static StoreSalesMetadata.Builder newBuilder(StoreSalesMetadata prototype)
-
toBuilder
public StoreSalesMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StoreSalesMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StoreSalesMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StoreSalesMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<StoreSalesMetadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StoreSalesMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-