public static final class OrderTrackingSignal.ShipmentLineItemMapping extends GeneratedMessage implements OrderTrackingSignal.ShipmentLineItemMappingOrBuilderRepresents how many items are in the shipment for the given shipment_id and line_item_id.
Protobuf type
google.shopping.merchant.ordertracking.v1beta.OrderTrackingSignal.ShipmentLineItemMapping
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > OrderTrackingSignal.ShipmentLineItemMappingStatic Fields
LINE_ITEM_ID_FIELD_NUMBER
public static final int LINE_ITEM_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
QUANTITY_FIELD_NUMBER
public static final int QUANTITY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SHIPMENT_ID_FIELD_NUMBER
public static final int SHIPMENT_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static OrderTrackingSignal.ShipmentLineItemMapping getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static OrderTrackingSignal.ShipmentLineItemMapping.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping.Builder |
|
newBuilder(OrderTrackingSignal.ShipmentLineItemMapping prototype)
public static OrderTrackingSignal.ShipmentLineItemMapping.Builder newBuilder(OrderTrackingSignal.ShipmentLineItemMapping prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
OrderTrackingSignal.ShipmentLineItemMapping |
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping.Builder |
|
parseDelimitedFrom(InputStream input)
public static OrderTrackingSignal.ShipmentLineItemMapping parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OrderTrackingSignal.ShipmentLineItemMapping parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static OrderTrackingSignal.ShipmentLineItemMapping parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OrderTrackingSignal.ShipmentLineItemMapping parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static OrderTrackingSignal.ShipmentLineItemMapping parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OrderTrackingSignal.ShipmentLineItemMapping parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static OrderTrackingSignal.ShipmentLineItemMapping parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OrderTrackingSignal.ShipmentLineItemMapping parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static OrderTrackingSignal.ShipmentLineItemMapping parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OrderTrackingSignal.ShipmentLineItemMapping parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static OrderTrackingSignal.ShipmentLineItemMapping parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OrderTrackingSignal.ShipmentLineItemMapping parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<OrderTrackingSignal.ShipmentLineItemMapping> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ShipmentLineItemMapping> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public OrderTrackingSignal.ShipmentLineItemMapping getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping |
|
getLineItemId()
public String getLineItemId()Required. The line item ID.
string line_item_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The lineItemId. |
getLineItemIdBytes()
public ByteString getLineItemIdBytes()Required. The line item ID.
string line_item_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for lineItemId. |
getParserForType()
public Parser<OrderTrackingSignal.ShipmentLineItemMapping> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ShipmentLineItemMapping> |
|
getQuantity()
public long getQuantity()Required. The line item quantity in the shipment.
int64 quantity = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The quantity. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getShipmentId()
public String getShipmentId()Required. The shipment ID. This field will be hashed in returned OrderTrackingSignal creation response.
string shipment_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The shipmentId. |
getShipmentIdBytes()
public ByteString getShipmentIdBytes()Required. The shipment ID. This field will be hashed in returned OrderTrackingSignal creation response.
string shipment_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for shipmentId. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public OrderTrackingSignal.ShipmentLineItemMapping.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected OrderTrackingSignal.ShipmentLineItemMapping.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping.Builder |
|
toBuilder()
public OrderTrackingSignal.ShipmentLineItemMapping.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.ShipmentLineItemMapping.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|