Send feedback
Class Service.LoyaltyProgram (0.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.2.0 keyboard_arrow_down
public static final class Service . LoyaltyProgram extends GeneratedMessageV3 implements Service . LoyaltyProgramOrBuilder
Loyalty program
provided by a merchant.
Protobuf type google.shopping.merchant.accounts.v1beta.Service.LoyaltyProgram
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int LOYALTY_PROGRAM_TIERS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PROGRAM_LABEL_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static Service . LoyaltyProgram getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static Service . LoyaltyProgram . Builder newBuilder ()
public static Service . LoyaltyProgram . Builder newBuilder ( Service . LoyaltyProgram prototype )
public static Service . LoyaltyProgram parseDelimitedFrom ( InputStream input )
public static Service . LoyaltyProgram parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Service . LoyaltyProgram parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static Service . LoyaltyProgram parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static Service . LoyaltyProgram parseFrom ( ByteString data )
public static Service . LoyaltyProgram parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Service . LoyaltyProgram parseFrom ( CodedInputStream input )
public static Service . LoyaltyProgram parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Service . LoyaltyProgram parseFrom ( InputStream input )
public static Service . LoyaltyProgram parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Service . LoyaltyProgram parseFrom ( ByteBuffer data )
public static Service . LoyaltyProgram parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<Service . LoyaltyProgram > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public Service . LoyaltyProgram getDefaultInstanceForType ()
public Service . LoyaltyProgram . LoyaltyProgramTiers getLoyaltyProgramTiers ( int index )
Optional. Loyalty program tier of this shipping service.
repeated .google.shopping.merchant.accounts.v1beta.Service.LoyaltyProgram.LoyaltyProgramTiers loyalty_program_tiers = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
public int getLoyaltyProgramTiersCount ()
Optional. Loyalty program tier of this shipping service.
repeated .google.shopping.merchant.accounts.v1beta.Service.LoyaltyProgram.LoyaltyProgramTiers loyalty_program_tiers = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
public List<Service . LoyaltyProgram . LoyaltyProgramTiers > getLoyaltyProgramTiersList ()
Optional. Loyalty program tier of this shipping service.
repeated .google.shopping.merchant.accounts.v1beta.Service.LoyaltyProgram.LoyaltyProgramTiers loyalty_program_tiers = 2 [(.google.api.field_behavior) = OPTIONAL];
public Service . LoyaltyProgram . LoyaltyProgramTiersOrBuilder getLoyaltyProgramTiersOrBuilder ( int index )
Optional. Loyalty program tier of this shipping service.
repeated .google.shopping.merchant.accounts.v1beta.Service.LoyaltyProgram.LoyaltyProgramTiers loyalty_program_tiers = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
public List <? extends Service . LoyaltyProgram . LoyaltyProgramTiersOrBuilder > getLoyaltyProgramTiersOrBuilderList ()
Optional. Loyalty program tier of this shipping service.
repeated .google.shopping.merchant.accounts.v1beta.Service.LoyaltyProgram.LoyaltyProgramTiers loyalty_program_tiers = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
List <? extends com.google.shopping.merchant.accounts.v1beta.Service.LoyaltyProgram.LoyaltyProgramTiersOrBuilder >
public Parser<Service . LoyaltyProgram > getParserForType ()
Overrides
public String getProgramLabel ()
This is the loyalty program label set in your loyalty program settings in
Merchant Center. This sub-attribute allows Google to map your loyalty
program to eligible offers.
optional string program_label = 1;
Returns
Type
Description
String
The programLabel.
public ByteString getProgramLabelBytes ()
This is the loyalty program label set in your loyalty program settings in
Merchant Center. This sub-attribute allows Google to map your loyalty
program to eligible offers.
optional string program_label = 1;
Returns
Type
Description
ByteString
The bytes for programLabel.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public boolean hasProgramLabel ()
This is the loyalty program label set in your loyalty program settings in
Merchant Center. This sub-attribute allows Google to map your loyalty
program to eligible offers.
optional string program_label = 1;
Returns
Type
Description
boolean
Whether the programLabel field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public Service . LoyaltyProgram . Builder newBuilderForType ()
protected Service . LoyaltyProgram . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public Service . LoyaltyProgram . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]