public static interface OrderTrackingSignal.LineItemDetailsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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. |
getGtin()
public abstract String getGtin()
Optional. The Global Trade Item Number.
string gtin = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The gtin. |
getGtinBytes()
public abstract ByteString getGtinBytes()
Optional. The Global Trade Item Number.
string gtin = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for gtin. |
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. |