Class StoreSalesThirdPartyMetadata

  • All Implemented Interfaces:
    StoreSalesThirdPartyMetadataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable

    public final class StoreSalesThirdPartyMetadata
    extends com.google.protobuf.GeneratedMessageV3
    implements StoreSalesThirdPartyMetadataOrBuilder
     Metadata for a third party Store Sales.
     This product is only for customers on the allow-list. Please contact your
     Google business development representative for details on the upload
     configuration.
     
    Protobuf type google.ads.googleads.v10.common.StoreSalesThirdPartyMetadata
    See Also:
    Serialized Form
    • Field Detail

      • ADVERTISER_UPLOAD_DATE_TIME_FIELD_NUMBER

        public static final int ADVERTISER_UPLOAD_DATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VALID_TRANSACTION_FRACTION_FIELD_NUMBER

        public static final int VALID_TRANSACTION_FRACTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARTNER_MATCH_FRACTION_FIELD_NUMBER

        public static final int PARTNER_MATCH_FRACTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARTNER_UPLOAD_FRACTION_FIELD_NUMBER

        public static final int PARTNER_UPLOAD_FRACTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BRIDGE_MAP_VERSION_ID_FIELD_NUMBER

        public static final int BRIDGE_MAP_VERSION_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARTNER_ID_FIELD_NUMBER

        public static final int PARTNER_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasAdvertiserUploadDateTime

        public boolean hasAdvertiserUploadDateTime()
         Time the advertiser uploaded the data to the partner. Required.
         The format is "YYYY-MM-DD HH:MM:SS".
         Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
         
        optional string advertiser_upload_date_time = 7;
        Specified by:
        hasAdvertiserUploadDateTime in interface StoreSalesThirdPartyMetadataOrBuilder
        Returns:
        Whether the advertiserUploadDateTime field is set.
      • getAdvertiserUploadDateTime

        public java.lang.String getAdvertiserUploadDateTime()
         Time the advertiser uploaded the data to the partner. Required.
         The format is "YYYY-MM-DD HH:MM:SS".
         Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
         
        optional string advertiser_upload_date_time = 7;
        Specified by:
        getAdvertiserUploadDateTime in interface StoreSalesThirdPartyMetadataOrBuilder
        Returns:
        The advertiserUploadDateTime.
      • getAdvertiserUploadDateTimeBytes

        public com.google.protobuf.ByteString getAdvertiserUploadDateTimeBytes()
         Time the advertiser uploaded the data to the partner. Required.
         The format is "YYYY-MM-DD HH:MM:SS".
         Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
         
        optional string advertiser_upload_date_time = 7;
        Specified by:
        getAdvertiserUploadDateTimeBytes in interface StoreSalesThirdPartyMetadataOrBuilder
        Returns:
        The bytes for advertiserUploadDateTime.
      • hasValidTransactionFraction

        public boolean hasValidTransactionFraction()
         The fraction of transactions that are valid. Invalid transactions may
         include invalid formats or values.
         Required.
         The fraction needs to be between 0 and 1 (excluding 0).
         
        optional double valid_transaction_fraction = 8;
        Specified by:
        hasValidTransactionFraction in interface StoreSalesThirdPartyMetadataOrBuilder
        Returns:
        Whether the validTransactionFraction field is set.
      • getValidTransactionFraction

        public double getValidTransactionFraction()
         The fraction of transactions that are valid. Invalid transactions may
         include invalid formats or values.
         Required.
         The fraction needs to be between 0 and 1 (excluding 0).
         
        optional double valid_transaction_fraction = 8;
        Specified by:
        getValidTransactionFraction in interface StoreSalesThirdPartyMetadataOrBuilder
        Returns:
        The validTransactionFraction.
      • hasPartnerMatchFraction

        public boolean hasPartnerMatchFraction()
         The fraction of valid transactions that are matched to a third party
         assigned user ID on the partner side.
         Required.
         The fraction needs to be between 0 and 1 (excluding 0).
         
        optional double partner_match_fraction = 9;
        Specified by:
        hasPartnerMatchFraction in interface StoreSalesThirdPartyMetadataOrBuilder
        Returns:
        Whether the partnerMatchFraction field is set.
      • getPartnerMatchFraction

        public double getPartnerMatchFraction()
         The fraction of valid transactions that are matched to a third party
         assigned user ID on the partner side.
         Required.
         The fraction needs to be between 0 and 1 (excluding 0).
         
        optional double partner_match_fraction = 9;
        Specified by:
        getPartnerMatchFraction in interface StoreSalesThirdPartyMetadataOrBuilder
        Returns:
        The partnerMatchFraction.
      • hasPartnerUploadFraction

        public boolean hasPartnerUploadFraction()
         The fraction of valid transactions that are uploaded by the partner to
         Google.
         Required.
         The fraction needs to be between 0 and 1 (excluding 0).
         
        optional double partner_upload_fraction = 10;
        Specified by:
        hasPartnerUploadFraction in interface StoreSalesThirdPartyMetadataOrBuilder
        Returns:
        Whether the partnerUploadFraction field is set.
      • getPartnerUploadFraction

        public double getPartnerUploadFraction()
         The fraction of valid transactions that are uploaded by the partner to
         Google.
         Required.
         The fraction needs to be between 0 and 1 (excluding 0).
         
        optional double partner_upload_fraction = 10;
        Specified by:
        getPartnerUploadFraction in interface StoreSalesThirdPartyMetadataOrBuilder
        Returns:
        The partnerUploadFraction.
      • hasBridgeMapVersionId

        public boolean hasBridgeMapVersionId()
         Version of partner IDs to be used for uploads. Required.
         
        optional string bridge_map_version_id = 11;
        Specified by:
        hasBridgeMapVersionId in interface StoreSalesThirdPartyMetadataOrBuilder
        Returns:
        Whether the bridgeMapVersionId field is set.
      • getBridgeMapVersionId

        public java.lang.String getBridgeMapVersionId()
         Version of partner IDs to be used for uploads. Required.
         
        optional string bridge_map_version_id = 11;
        Specified by:
        getBridgeMapVersionId in interface StoreSalesThirdPartyMetadataOrBuilder
        Returns:
        The bridgeMapVersionId.
      • getBridgeMapVersionIdBytes

        public com.google.protobuf.ByteString getBridgeMapVersionIdBytes()
         Version of partner IDs to be used for uploads. Required.
         
        optional string bridge_map_version_id = 11;
        Specified by:
        getBridgeMapVersionIdBytes in interface StoreSalesThirdPartyMetadataOrBuilder
        Returns:
        The bytes for bridgeMapVersionId.
      • hasPartnerId

        public boolean hasPartnerId()
         ID of the third party partner updating the transaction feed.
         
        optional int64 partner_id = 12;
        Specified by:
        hasPartnerId in interface StoreSalesThirdPartyMetadataOrBuilder
        Returns:
        Whether the partnerId field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static StoreSalesThirdPartyMetadata parseFrom​(java.nio.ByteBuffer data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StoreSalesThirdPartyMetadata parseFrom​(java.nio.ByteBuffer data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StoreSalesThirdPartyMetadata parseFrom​(com.google.protobuf.ByteString data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StoreSalesThirdPartyMetadata parseFrom​(com.google.protobuf.ByteString data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StoreSalesThirdPartyMetadata parseFrom​(byte[] data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StoreSalesThirdPartyMetadata parseFrom​(byte[] data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StoreSalesThirdPartyMetadata parseFrom​(java.io.InputStream input)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static StoreSalesThirdPartyMetadata parseFrom​(java.io.InputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static StoreSalesThirdPartyMetadata parseDelimitedFrom​(java.io.InputStream input)
                                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static StoreSalesThirdPartyMetadata parseDelimitedFrom​(java.io.InputStream input,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static StoreSalesThirdPartyMetadata parseFrom​(com.google.protobuf.CodedInputStream input)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static StoreSalesThirdPartyMetadata parseFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public StoreSalesThirdPartyMetadata.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public StoreSalesThirdPartyMetadata.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected StoreSalesThirdPartyMetadata.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<StoreSalesThirdPartyMetadata> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public StoreSalesThirdPartyMetadata getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder