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.v15.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,java.lang.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 typegoogle.ads.googleads.v15.common.StoreSalesMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StoreSalesMetadata.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)StoreSalesMetadatabuild()StoreSalesMetadatabuildPartial()StoreSalesMetadata.Builderclear()StoreSalesMetadata.BuilderclearCustomKey()Name of the store sales custom variable key.StoreSalesMetadata.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)StoreSalesMetadata.BuilderclearLoyaltyFraction()This is the fraction of all transactions that are identifiable (for example, associated with any form of customer information).StoreSalesMetadata.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)StoreSalesMetadata.BuilderclearThirdPartyMetadata()Metadata for a third party Store Sales upload.StoreSalesMetadata.BuilderclearTransactionUploadFraction()This is the ratio of sales being uploaded compared to the overall sales that can be associated with a customer.StoreSalesMetadata.Builderclone()java.lang.StringgetCustomKey()Name of the store sales custom variable key.com.google.protobuf.ByteStringgetCustomKeyBytes()Name of the store sales custom variable key.StoreSalesMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()doublegetLoyaltyFraction()This is the fraction of all transactions that are identifiable (for example, associated with any form of customer information).StoreSalesThirdPartyMetadatagetThirdPartyMetadata()Metadata for a third party Store Sales upload.StoreSalesThirdPartyMetadata.BuildergetThirdPartyMetadataBuilder()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.booleanhasCustomKey()Name of the store sales custom variable key.booleanhasLoyaltyFraction()This is the fraction of all transactions that are identifiable (for example, 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()StoreSalesMetadata.BuildermergeFrom(StoreSalesMetadata other)StoreSalesMetadata.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)StoreSalesMetadata.BuildermergeFrom(com.google.protobuf.Message other)StoreSalesMetadata.BuildermergeThirdPartyMetadata(StoreSalesThirdPartyMetadata value)Metadata for a third party Store Sales upload.StoreSalesMetadata.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)StoreSalesMetadata.BuildersetCustomKey(java.lang.String value)Name of the store sales custom variable key.StoreSalesMetadata.BuildersetCustomKeyBytes(com.google.protobuf.ByteString value)Name of the store sales custom variable key.StoreSalesMetadata.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)StoreSalesMetadata.BuildersetLoyaltyFraction(double value)This is the fraction of all transactions that are identifiable (for example, associated with any form of customer information).StoreSalesMetadata.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)StoreSalesMetadata.BuildersetThirdPartyMetadata(StoreSalesThirdPartyMetadata value)Metadata for a third party Store Sales upload.StoreSalesMetadata.BuildersetThirdPartyMetadata(StoreSalesThirdPartyMetadata.Builder builderForValue)Metadata for a third party Store Sales upload.StoreSalesMetadata.BuildersetTransactionUploadFraction(double value)This is the ratio of sales being uploaded compared to the overall sales that can be associated with a customer.StoreSalesMetadata.BuildersetUnknownFields(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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public StoreSalesMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public StoreSalesMetadata build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StoreSalesMetadata buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StoreSalesMetadata.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, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
clearField
public StoreSalesMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
clearOneof
public StoreSalesMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
mergeFrom
public StoreSalesMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoreSalesMetadata.Builder>
-
mergeFrom
public StoreSalesMetadata.Builder mergeFrom(StoreSalesMetadata other)
-
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 java.io.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:
java.io.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
public StoreSalesMetadata.Builder setLoyaltyFraction(double value)
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
public StoreSalesMetadata.Builder 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
public StoreSalesMetadata.Builder setTransactionUploadFraction(double value)
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
public StoreSalesMetadata.Builder 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
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.
-
setCustomKey
public StoreSalesMetadata.Builder setCustomKey(java.lang.String value)
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
public StoreSalesMetadata.Builder 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
public StoreSalesMetadata.Builder setCustomKeyBytes(com.google.protobuf.ByteString value)
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.v15.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.v15.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;- Specified by:
getThirdPartyMetadatain interfaceStoreSalesMetadataOrBuilder- Returns:
- The thirdPartyMetadata.
-
setThirdPartyMetadata
public StoreSalesMetadata.Builder setThirdPartyMetadata(StoreSalesThirdPartyMetadata value)
Metadata for a third party Store Sales upload.
.google.ads.googleads.v15.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.v15.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;
-
mergeThirdPartyMetadata
public StoreSalesMetadata.Builder mergeThirdPartyMetadata(StoreSalesThirdPartyMetadata value)
Metadata for a third party Store Sales upload.
.google.ads.googleads.v15.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;
-
clearThirdPartyMetadata
public StoreSalesMetadata.Builder clearThirdPartyMetadata()
Metadata for a third party Store Sales upload.
.google.ads.googleads.v15.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;
-
getThirdPartyMetadataBuilder
public StoreSalesThirdPartyMetadata.Builder getThirdPartyMetadataBuilder()
Metadata for a third party Store Sales upload.
.google.ads.googleads.v15.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;
-
getThirdPartyMetadataOrBuilder
public StoreSalesThirdPartyMetadataOrBuilder getThirdPartyMetadataOrBuilder()
Metadata for a third party Store Sales upload.
.google.ads.googleads.v15.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>
-
-