public static final class Service.LoyaltyProgram.LoyaltyProgramTiers.Builder extends GeneratedMessageV3.Builder<Service.LoyaltyProgram.LoyaltyProgramTiers.Builder> implements Service.LoyaltyProgram.LoyaltyProgramTiersOrBuilder
Subset of a merchants loyalty program.
Protobuf type
google.shopping.merchant.accounts.v1beta.Service.LoyaltyProgram.LoyaltyProgramTiers
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public Service.LoyaltyProgram.LoyaltyProgramTiers.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Service.LoyaltyProgram.LoyaltyProgramTiers build()
public Service.LoyaltyProgram.LoyaltyProgramTiers buildPartial()
public Service.LoyaltyProgram.LoyaltyProgramTiers.Builder clear()
Overrides
public Service.LoyaltyProgram.LoyaltyProgramTiers.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Service.LoyaltyProgram.LoyaltyProgramTiers.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Service.LoyaltyProgram.LoyaltyProgramTiers.Builder clearTierLabel()
The tier label [tier_label] sub-attribute differentiates offer level
benefits between each tier. This value is also set in your program
settings in Merchant Center, and is required for data source changes
even if your loyalty program only has 1 tier.
optional string tier_label = 1;
public Service.LoyaltyProgram.LoyaltyProgramTiers.Builder clone()
Overrides
public Service.LoyaltyProgram.LoyaltyProgramTiers getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getTierLabel()
The tier label [tier_label] sub-attribute differentiates offer level
benefits between each tier. This value is also set in your program
settings in Merchant Center, and is required for data source changes
even if your loyalty program only has 1 tier.
optional string tier_label = 1;
Returns |
Type |
Description |
String |
The tierLabel.
|
public ByteString getTierLabelBytes()
The tier label [tier_label] sub-attribute differentiates offer level
benefits between each tier. This value is also set in your program
settings in Merchant Center, and is required for data source changes
even if your loyalty program only has 1 tier.
optional string tier_label = 1;
Returns |
Type |
Description |
ByteString |
The bytes for tierLabel.
|
public boolean hasTierLabel()
The tier label [tier_label] sub-attribute differentiates offer level
benefits between each tier. This value is also set in your program
settings in Merchant Center, and is required for data source changes
even if your loyalty program only has 1 tier.
optional string tier_label = 1;
Returns |
Type |
Description |
boolean |
Whether the tierLabel field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Service.LoyaltyProgram.LoyaltyProgramTiers.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Service.LoyaltyProgram.LoyaltyProgramTiers.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public Service.LoyaltyProgram.LoyaltyProgramTiers.Builder mergeFrom(Service.LoyaltyProgram.LoyaltyProgramTiers other)
public final Service.LoyaltyProgram.LoyaltyProgramTiers.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Service.LoyaltyProgram.LoyaltyProgramTiers.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Service.LoyaltyProgram.LoyaltyProgramTiers.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public Service.LoyaltyProgram.LoyaltyProgramTiers.Builder setTierLabel(String value)
The tier label [tier_label] sub-attribute differentiates offer level
benefits between each tier. This value is also set in your program
settings in Merchant Center, and is required for data source changes
even if your loyalty program only has 1 tier.
optional string tier_label = 1;
Parameter |
Name |
Description |
value |
String
The tierLabel to set.
|
public Service.LoyaltyProgram.LoyaltyProgramTiers.Builder setTierLabelBytes(ByteString value)
The tier label [tier_label] sub-attribute differentiates offer level
benefits between each tier. This value is also set in your program
settings in Merchant Center, and is required for data source changes
even if your loyalty program only has 1 tier.
optional string tier_label = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for tierLabel to set.
|
public final Service.LoyaltyProgram.LoyaltyProgramTiers.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides