Class StoreSalesMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
com.google.ads.googleads.v18.common.StoreSalesMetadata.Builder
- All Implemented Interfaces:
StoreSalesMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StoreSalesMetadata
public static final class StoreSalesMetadata.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
implements StoreSalesMetadataOrBuilder
Metadata for Store Sales Direct.Protobuf type
google.ads.googleads.v18.common.StoreSalesMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Name of the store sales custom variable key.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) This is the fraction of all transactions that are identifiable (for example, associated with any form of customer information).clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Metadata for a third party Store Sales upload.This is the ratio of sales being uploaded compared to the overall sales that can be associated with a customer.clone()Name of the store sales custom variable key.com.google.protobuf.ByteStringName of the store sales custom variable key.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptordoubleThis is the fraction of all transactions that are identifiable (for example, associated with any form of customer information).Metadata for a third party Store Sales upload.Metadata for a third party Store Sales upload.Metadata for a third party Store Sales upload.doubleThis is the ratio of sales being uploaded compared to the overall sales that can be associated with a customer.booleanName of the store sales custom variable key.booleanThis is the fraction of all transactions that are identifiable (for example, associated with any form of customer information).booleanMetadata for a third party Store Sales upload.booleanThis is the ratio of sales being uploaded compared to the overall sales that can be associated with a customer.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(StoreSalesMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Metadata for a third party Store Sales upload.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCustomKey(String value) Name of the store sales custom variable key.setCustomKeyBytes(com.google.protobuf.ByteString value) Name of the store sales custom variable key.setLoyaltyFraction(double value) This is the fraction of all transactions that are identifiable (for example, associated with any form of customer information).setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Metadata for a third party Store Sales upload.setThirdPartyMetadata(StoreSalesThirdPartyMetadata.Builder builderForValue) Metadata for a third party Store Sales upload.setTransactionUploadFraction(double value) This is the ratio of sales being uploaded compared to the overall sales that can be associated with a customer.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<StoreSalesMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
setField
public StoreSalesMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
setRepeatedField
public StoreSalesMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
addRepeatedField
public StoreSalesMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoreSalesMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
mergeFrom
public StoreSalesMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoreSalesMetadata.Builder>- Throws:
IOException
-
hasLoyaltyFraction
public boolean hasLoyaltyFraction()This is the fraction of all transactions that are identifiable (for example, 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 (for example, 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.
-
setLoyaltyFraction
This is the fraction of all transactions that are identifiable (for example, associated with any form of customer information). Required. The fraction needs to be between 0 and 1 (excluding 0).
optional double loyalty_fraction = 5;- Parameters:
value- The loyaltyFraction to set.- Returns:
- This builder for chaining.
-
clearLoyaltyFraction
This is the fraction of all transactions that are identifiable (for example, associated with any form of customer information). Required. The fraction needs to be between 0 and 1 (excluding 0).
optional double loyalty_fraction = 5;- Returns:
- This builder for chaining.
-
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.
-
setTransactionUploadFraction
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;- Parameters:
value- The transactionUploadFraction to set.- Returns:
- This builder for chaining.
-
clearTransactionUploadFraction
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;- Returns:
- This builder for chaining.
-
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
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.
-
setCustomKey
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;- Parameters:
value- The customKey to set.- Returns:
- This builder for chaining.
-
clearCustomKey
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;- Returns:
- This builder for chaining.
-
setCustomKeyBytes
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;- Parameters:
value- The bytes for customKey to set.- Returns:
- This builder for chaining.
-
hasThirdPartyMetadata
public boolean hasThirdPartyMetadata()Metadata for a third party Store Sales upload.
.google.ads.googleads.v18.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;- Specified by:
hasThirdPartyMetadatain interfaceStoreSalesMetadataOrBuilder- Returns:
- Whether the thirdPartyMetadata field is set.
-
getThirdPartyMetadata
Metadata for a third party Store Sales upload.
.google.ads.googleads.v18.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;- Specified by:
getThirdPartyMetadatain interfaceStoreSalesMetadataOrBuilder- Returns:
- The thirdPartyMetadata.
-
setThirdPartyMetadata
Metadata for a third party Store Sales upload.
.google.ads.googleads.v18.common.StoreSalesThirdPartyMetadata third_party_metadata = 3; -
setThirdPartyMetadata
public StoreSalesMetadata.Builder setThirdPartyMetadata(StoreSalesThirdPartyMetadata.Builder builderForValue) Metadata for a third party Store Sales upload.
.google.ads.googleads.v18.common.StoreSalesThirdPartyMetadata third_party_metadata = 3; -
mergeThirdPartyMetadata
Metadata for a third party Store Sales upload.
.google.ads.googleads.v18.common.StoreSalesThirdPartyMetadata third_party_metadata = 3; -
clearThirdPartyMetadata
Metadata for a third party Store Sales upload.
.google.ads.googleads.v18.common.StoreSalesThirdPartyMetadata third_party_metadata = 3; -
getThirdPartyMetadataBuilder
Metadata for a third party Store Sales upload.
.google.ads.googleads.v18.common.StoreSalesThirdPartyMetadata third_party_metadata = 3; -
getThirdPartyMetadataOrBuilder
Metadata for a third party Store Sales upload.
.google.ads.googleads.v18.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;- Specified by:
getThirdPartyMetadataOrBuilderin interfaceStoreSalesMetadataOrBuilder
-
setUnknownFields
public final StoreSalesMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
mergeUnknownFields
public final StoreSalesMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-