public static final class CreateOrderTrackingSignalRequest.Builder extends GeneratedMessage.Builder<CreateOrderTrackingSignalRequest.Builder> implements CreateOrderTrackingSignalRequestOrBuilderSignals only can be created but not updated. Businesses need to call this API only when the order is completely shipped. Creates new order signal.
Protobuf type
google.shopping.merchant.ordertracking.v1beta.CreateOrderTrackingSignalRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateOrderTrackingSignalRequest.BuilderImplements
CreateOrderTrackingSignalRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateOrderTrackingSignalRequest build()| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest |
|
buildPartial()
public CreateOrderTrackingSignalRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest |
|
clear()
public CreateOrderTrackingSignalRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest.Builder |
|
clearOrderTrackingSignal()
public CreateOrderTrackingSignalRequest.Builder clearOrderTrackingSignal()Required. The order signal to be created.
.google.shopping.merchant.ordertracking.v1beta.OrderTrackingSignal order_tracking_signal = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest.Builder |
|
clearOrderTrackingSignalId()
public CreateOrderTrackingSignalRequest.Builder clearOrderTrackingSignalId()Output only. The ID that uniquely identifies this order tracking signal.
string order_tracking_signal_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest.Builder |
This builder for chaining. |
clearParent()
public CreateOrderTrackingSignalRequest.Builder clearParent()Required. The account of the business for which the order signal is created. Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateOrderTrackingSignalRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getOrderTrackingSignal()
public OrderTrackingSignal getOrderTrackingSignal()Required. The order signal to be created.
.google.shopping.merchant.ordertracking.v1beta.OrderTrackingSignal order_tracking_signal = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal |
The orderTrackingSignal. |
getOrderTrackingSignalBuilder()
public OrderTrackingSignal.Builder getOrderTrackingSignalBuilder()Required. The order signal to be created.
.google.shopping.merchant.ordertracking.v1beta.OrderTrackingSignal order_tracking_signal = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignal.Builder |
|
getOrderTrackingSignalId()
public String getOrderTrackingSignalId()Output only. The ID that uniquely identifies this order tracking signal.
string order_tracking_signal_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The orderTrackingSignalId. |
getOrderTrackingSignalIdBytes()
public ByteString getOrderTrackingSignalIdBytes()Output only. The ID that uniquely identifies this order tracking signal.
string order_tracking_signal_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for orderTrackingSignalId. |
getOrderTrackingSignalOrBuilder()
public OrderTrackingSignalOrBuilder getOrderTrackingSignalOrBuilder()Required. The order signal to be created.
.google.shopping.merchant.ordertracking.v1beta.OrderTrackingSignal order_tracking_signal = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
OrderTrackingSignalOrBuilder |
|
getParent()
public String getParent()Required. The account of the business for which the order signal is created. Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The account of the business for which the order signal is created. Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasOrderTrackingSignal()
public boolean hasOrderTrackingSignal()Required. The order signal to be created.
.google.shopping.merchant.ordertracking.v1beta.OrderTrackingSignal order_tracking_signal = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the orderTrackingSignal field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateOrderTrackingSignalRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateOrderTrackingSignalRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest.Builder |
|
mergeFrom(CreateOrderTrackingSignalRequest other)
public CreateOrderTrackingSignalRequest.Builder mergeFrom(CreateOrderTrackingSignalRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateOrderTrackingSignalRequest |
| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest.Builder |
|
mergeOrderTrackingSignal(OrderTrackingSignal value)
public CreateOrderTrackingSignalRequest.Builder mergeOrderTrackingSignal(OrderTrackingSignal value)Required. The order signal to be created.
.google.shopping.merchant.ordertracking.v1beta.OrderTrackingSignal order_tracking_signal = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
OrderTrackingSignal |
| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest.Builder |
|
setOrderTrackingSignal(OrderTrackingSignal value)
public CreateOrderTrackingSignalRequest.Builder setOrderTrackingSignal(OrderTrackingSignal value)Required. The order signal to be created.
.google.shopping.merchant.ordertracking.v1beta.OrderTrackingSignal order_tracking_signal = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
OrderTrackingSignal |
| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest.Builder |
|
setOrderTrackingSignal(OrderTrackingSignal.Builder builderForValue)
public CreateOrderTrackingSignalRequest.Builder setOrderTrackingSignal(OrderTrackingSignal.Builder builderForValue)Required. The order signal to be created.
.google.shopping.merchant.ordertracking.v1beta.OrderTrackingSignal order_tracking_signal = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OrderTrackingSignal.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest.Builder |
|
setOrderTrackingSignalId(String value)
public CreateOrderTrackingSignalRequest.Builder setOrderTrackingSignalId(String value)Output only. The ID that uniquely identifies this order tracking signal.
string order_tracking_signal_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe orderTrackingSignalId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest.Builder |
This builder for chaining. |
setOrderTrackingSignalIdBytes(ByteString value)
public CreateOrderTrackingSignalRequest.Builder setOrderTrackingSignalIdBytes(ByteString value)Output only. The ID that uniquely identifies this order tracking signal.
string order_tracking_signal_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for orderTrackingSignalId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateOrderTrackingSignalRequest.Builder setParent(String value)Required. The account of the business for which the order signal is created. Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateOrderTrackingSignalRequest.Builder setParentBytes(ByteString value)Required. The account of the business for which the order signal is created. Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateOrderTrackingSignalRequest.Builder |
This builder for chaining. |