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.v14.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.v14.common.StoreSalesMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StoreSalesMetadata.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
StoreSalesMetadata
build()
StoreSalesMetadata
buildPartial()
StoreSalesMetadata.Builder
clear()
StoreSalesMetadata.Builder
clearCustomKey()
Name of the store sales custom variable key.StoreSalesMetadata.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
StoreSalesMetadata.Builder
clearLoyaltyFraction()
This is the fraction of all transactions that are identifiable (for example, associated with any form of customer information).StoreSalesMetadata.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
StoreSalesMetadata.Builder
clearThirdPartyMetadata()
Metadata for a third party Store Sales upload.StoreSalesMetadata.Builder
clearTransactionUploadFraction()
This is the ratio of sales being uploaded compared to the overall sales that can be associated with a customer.StoreSalesMetadata.Builder
clone()
java.lang.String
getCustomKey()
Name of the store sales custom variable key.com.google.protobuf.ByteString
getCustomKeyBytes()
Name of the store sales custom variable key.StoreSalesMetadata
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
double
getLoyaltyFraction()
This is the fraction of all transactions that are identifiable (for example, associated with any form of customer information).StoreSalesThirdPartyMetadata
getThirdPartyMetadata()
Metadata for a third party Store Sales upload.StoreSalesThirdPartyMetadata.Builder
getThirdPartyMetadataBuilder()
Metadata for a third party Store Sales upload.StoreSalesThirdPartyMetadataOrBuilder
getThirdPartyMetadataOrBuilder()
Metadata for a third party Store Sales upload.double
getTransactionUploadFraction()
This is the ratio of sales being uploaded compared to the overall sales that can be associated with a customer.boolean
hasCustomKey()
Name of the store sales custom variable key.boolean
hasLoyaltyFraction()
This is the fraction of all transactions that are identifiable (for example, associated with any form of customer information).boolean
hasThirdPartyMetadata()
Metadata for a third party Store Sales upload.boolean
hasTransactionUploadFraction()
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.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
StoreSalesMetadata.Builder
mergeFrom(StoreSalesMetadata other)
StoreSalesMetadata.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
StoreSalesMetadata.Builder
mergeFrom(com.google.protobuf.Message other)
StoreSalesMetadata.Builder
mergeThirdPartyMetadata(StoreSalesThirdPartyMetadata value)
Metadata for a third party Store Sales upload.StoreSalesMetadata.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
StoreSalesMetadata.Builder
setCustomKey(java.lang.String value)
Name of the store sales custom variable key.StoreSalesMetadata.Builder
setCustomKeyBytes(com.google.protobuf.ByteString value)
Name of the store sales custom variable key.StoreSalesMetadata.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
StoreSalesMetadata.Builder
setLoyaltyFraction(double value)
This is the fraction of all transactions that are identifiable (for example, associated with any form of customer information).StoreSalesMetadata.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
StoreSalesMetadata.Builder
setThirdPartyMetadata(StoreSalesThirdPartyMetadata value)
Metadata for a third party Store Sales upload.StoreSalesMetadata.Builder
setThirdPartyMetadata(StoreSalesThirdPartyMetadata.Builder builderForValue)
Metadata for a third party Store Sales upload.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.StoreSalesMetadata.Builder
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, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
clear
public StoreSalesMetadata.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
getDefaultInstanceForType
public StoreSalesMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StoreSalesMetadata build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StoreSalesMetadata buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StoreSalesMetadata.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
setField
public StoreSalesMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
clearField
public StoreSalesMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
clearOneof
public StoreSalesMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
addRepeatedField
public StoreSalesMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
mergeFrom
public StoreSalesMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreSalesMetadata.Builder>
-
mergeFrom
public StoreSalesMetadata.Builder mergeFrom(StoreSalesMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasLoyaltyFraction
in 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:
getLoyaltyFraction
in 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:
hasTransactionUploadFraction
in 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:
getTransactionUploadFraction
in 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:
hasCustomKey
in 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:
getCustomKey
in 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:
getCustomKeyBytes
in 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.v14.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;
- Specified by:
hasThirdPartyMetadata
in interfaceStoreSalesMetadataOrBuilder
- Returns:
- Whether the thirdPartyMetadata field is set.
-
getThirdPartyMetadata
public StoreSalesThirdPartyMetadata getThirdPartyMetadata()
Metadata for a third party Store Sales upload.
.google.ads.googleads.v14.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;
- Specified by:
getThirdPartyMetadata
in interfaceStoreSalesMetadataOrBuilder
- Returns:
- The thirdPartyMetadata.
-
setThirdPartyMetadata
public StoreSalesMetadata.Builder setThirdPartyMetadata(StoreSalesThirdPartyMetadata value)
Metadata for a third party Store Sales upload.
.google.ads.googleads.v14.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.v14.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;
-
mergeThirdPartyMetadata
public StoreSalesMetadata.Builder mergeThirdPartyMetadata(StoreSalesThirdPartyMetadata value)
Metadata for a third party Store Sales upload.
.google.ads.googleads.v14.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;
-
clearThirdPartyMetadata
public StoreSalesMetadata.Builder clearThirdPartyMetadata()
Metadata for a third party Store Sales upload.
.google.ads.googleads.v14.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;
-
getThirdPartyMetadataBuilder
public StoreSalesThirdPartyMetadata.Builder getThirdPartyMetadataBuilder()
Metadata for a third party Store Sales upload.
.google.ads.googleads.v14.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;
-
getThirdPartyMetadataOrBuilder
public StoreSalesThirdPartyMetadataOrBuilder getThirdPartyMetadataOrBuilder()
Metadata for a third party Store Sales upload.
.google.ads.googleads.v14.common.StoreSalesThirdPartyMetadata third_party_metadata = 3;
- Specified by:
getThirdPartyMetadataOrBuilder
in interfaceStoreSalesMetadataOrBuilder
-
setUnknownFields
public final StoreSalesMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
mergeUnknownFields
public final StoreSalesMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreSalesMetadata.Builder>
-
-