Interface OrderTrackingSignal.LineItemDetailsOrBuilder (1.0.0)

public static interface OrderTrackingSignal.LineItemDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBrand()

public abstract String getBrand()

Optional. Brand of the product.

optional string brand = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The brand.

getBrandBytes()

public abstract ByteString getBrandBytes()

Optional. Brand of the product.

optional string brand = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for brand.

getGtins(int index)

public abstract String getGtins(int index)

Optional. The Global Trade Item Numbers.

repeated string gtins = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The gtins at the given index.

getGtinsBytes(int index)

public abstract ByteString getGtinsBytes(int index)

Optional. The Global Trade Item Numbers.

repeated string gtins = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the gtins at the given index.

getGtinsCount()

public abstract int getGtinsCount()

Optional. The Global Trade Item Numbers.

repeated string gtins = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of gtins.

getGtinsList()

public abstract List<String> getGtinsList()

Optional. The Global Trade Item Numbers.

repeated string gtins = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the gtins.

getLineItemId()

public abstract String getLineItemId()

Required. The ID for this line item.

string line_item_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The lineItemId.

getLineItemIdBytes()

public abstract ByteString getLineItemIdBytes()

Required. The ID for this line item.

string line_item_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for lineItemId.

getMpn()

public abstract String getMpn()

Optional. The manufacturer part number.

string mpn = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The mpn.

getMpnBytes()

public abstract ByteString getMpnBytes()

Optional. The manufacturer part number.

string mpn = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for mpn.

getProductId()

public abstract String getProductId()

Required. The Content API REST ID of the product, in the form channel:contentLanguage:targetCountry:offerId.

string product_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The productId.

getProductIdBytes()

public abstract ByteString getProductIdBytes()

Required. The Content API REST ID of the product, in the form channel:contentLanguage:targetCountry:offerId.

string product_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for productId.

getProductTitle()

public abstract String getProductTitle()

Optional. Plain text title of this product.

optional string product_title = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The productTitle.

getProductTitleBytes()

public abstract ByteString getProductTitleBytes()

Optional. Plain text title of this product.

optional string product_title = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for productTitle.

getQuantity()

public abstract long getQuantity()

Required. The quantity of the line item in the order.

int64 quantity = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The quantity.

hasBrand()

public abstract boolean hasBrand()

Optional. Brand of the product.

optional string brand = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the brand field is set.

hasProductTitle()

public abstract boolean hasProductTitle()

Optional. Plain text title of this product.

optional string product_title = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the productTitle field is set.