public static interface ResolveAmendmentTargetResponse.OptionalOffersOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getPrivateOffers(int index)
public abstract String getPrivateOffers(int index)A list of existing private offers that are eligible to be amended.
When creating a new private offer, the client may choose to populate the
single_product_offer.amended_private_offer field with one of these
resource names. Alternatively, the client may leave the field unset to
create a brand new offer.
repeated string private_offers = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The privateOffers at the given index. |
getPrivateOffersBytes(int index)
public abstract ByteString getPrivateOffersBytes(int index)A list of existing private offers that are eligible to be amended.
When creating a new private offer, the client may choose to populate the
single_product_offer.amended_private_offer field with one of these
resource names. Alternatively, the client may leave the field unset to
create a brand new offer.
repeated string private_offers = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the privateOffers at the given index. |
getPrivateOffersCount()
public abstract int getPrivateOffersCount()A list of existing private offers that are eligible to be amended.
When creating a new private offer, the client may choose to populate the
single_product_offer.amended_private_offer field with one of these
resource names. Alternatively, the client may leave the field unset to
create a brand new offer.
repeated string private_offers = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of privateOffers. |
getPrivateOffersList()
public abstract List<String> getPrivateOffersList()A list of existing private offers that are eligible to be amended.
When creating a new private offer, the client may choose to populate the
single_product_offer.amended_private_offer field with one of these
resource names. Alternatively, the client may leave the field unset to
create a brand new offer.
repeated string private_offers = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the privateOffers. |