Class StoreSalesThirdPartyMetadata.Builder

  • All Implemented Interfaces:
    StoreSalesThirdPartyMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    StoreSalesThirdPartyMetadata

    public static final class StoreSalesThirdPartyMetadata.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<StoreSalesThirdPartyMetadata.Builder>
    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
    • Method Detail

      • 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.Builder<StoreSalesThirdPartyMetadata.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StoreSalesThirdPartyMetadata.Builder>
      • getDefaultInstanceForType

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

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

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

        public StoreSalesThirdPartyMetadata.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                     int index,
                                                                     java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StoreSalesThirdPartyMetadata.Builder>
      • addRepeatedField

        public StoreSalesThirdPartyMetadata.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                     java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StoreSalesThirdPartyMetadata.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StoreSalesThirdPartyMetadata.Builder>
      • mergeFrom

        public StoreSalesThirdPartyMetadata.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StoreSalesThirdPartyMetadata.Builder>
        Throws:
        java.io.IOException
      • 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.
      • setAdvertiserUploadDateTime

        public StoreSalesThirdPartyMetadata.Builder setAdvertiserUploadDateTime​(java.lang.String value)
         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;
        Parameters:
        value - The advertiserUploadDateTime to set.
        Returns:
        This builder for chaining.
      • clearAdvertiserUploadDateTime

        public StoreSalesThirdPartyMetadata.Builder clearAdvertiserUploadDateTime()
         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;
        Returns:
        This builder for chaining.
      • setAdvertiserUploadDateTimeBytes

        public StoreSalesThirdPartyMetadata.Builder setAdvertiserUploadDateTimeBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for advertiserUploadDateTime to set.
        Returns:
        This builder for chaining.
      • 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.
      • setValidTransactionFraction

        public StoreSalesThirdPartyMetadata.Builder setValidTransactionFraction​(double value)
         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;
        Parameters:
        value - The validTransactionFraction to set.
        Returns:
        This builder for chaining.
      • clearValidTransactionFraction

        public StoreSalesThirdPartyMetadata.Builder clearValidTransactionFraction()
         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;
        Returns:
        This builder for chaining.
      • 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.
      • setPartnerMatchFraction

        public StoreSalesThirdPartyMetadata.Builder setPartnerMatchFraction​(double value)
         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;
        Parameters:
        value - The partnerMatchFraction to set.
        Returns:
        This builder for chaining.
      • clearPartnerMatchFraction

        public StoreSalesThirdPartyMetadata.Builder clearPartnerMatchFraction()
         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;
        Returns:
        This builder for chaining.
      • 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.
      • setPartnerUploadFraction

        public StoreSalesThirdPartyMetadata.Builder setPartnerUploadFraction​(double value)
         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;
        Parameters:
        value - The partnerUploadFraction to set.
        Returns:
        This builder for chaining.
      • clearPartnerUploadFraction

        public StoreSalesThirdPartyMetadata.Builder clearPartnerUploadFraction()
         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;
        Returns:
        This builder for chaining.
      • 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.
      • setBridgeMapVersionId

        public StoreSalesThirdPartyMetadata.Builder setBridgeMapVersionId​(java.lang.String value)
         Version of partner IDs to be used for uploads. Required.
         
        optional string bridge_map_version_id = 11;
        Parameters:
        value - The bridgeMapVersionId to set.
        Returns:
        This builder for chaining.
      • clearBridgeMapVersionId

        public StoreSalesThirdPartyMetadata.Builder clearBridgeMapVersionId()
         Version of partner IDs to be used for uploads. Required.
         
        optional string bridge_map_version_id = 11;
        Returns:
        This builder for chaining.
      • setBridgeMapVersionIdBytes

        public StoreSalesThirdPartyMetadata.Builder setBridgeMapVersionIdBytes​(com.google.protobuf.ByteString value)
         Version of partner IDs to be used for uploads. Required.
         
        optional string bridge_map_version_id = 11;
        Parameters:
        value - The bytes for bridgeMapVersionId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setPartnerId

        public StoreSalesThirdPartyMetadata.Builder setPartnerId​(long value)
         ID of the third party partner updating the transaction feed.
         
        optional int64 partner_id = 12;
        Parameters:
        value - The partnerId to set.
        Returns:
        This builder for chaining.
      • clearPartnerId

        public StoreSalesThirdPartyMetadata.Builder clearPartnerId()
         ID of the third party partner updating the transaction feed.
         
        optional int64 partner_id = 12;
        Returns:
        This builder for chaining.