public static final class Pickup.Builder extends GeneratedMessage.Builder<Pickup.Builder> implements PickupOrBuilderCollection of information related to Pickup.
Protobuf type google.shopping.merchant.accounts.v1.Pickup
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Pickup.BuilderImplements
PickupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Pickup build()| Returns | |
|---|---|
| Type | Description |
Pickup |
|
buildPartial()
public Pickup buildPartial()| Returns | |
|---|---|
| Type | Description |
Pickup |
|
clear()
public Pickup.Builder clear()| Returns | |
|---|---|
| Type | Description |
Pickup.Builder |
|
clearState()
public Pickup.Builder clearState()Output only. The state of the pickup serving.
.google.shopping.merchant.accounts.v1.ReviewState.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Pickup.Builder |
This builder for chaining. |
clearUri()
public Pickup.Builder clearUri()Required. Pickup product page URI. It is only used for the review of pickup serving. This URI domain should match with the business's homepage.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Pickup.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Pickup getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Pickup |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getState()
public ReviewState.State getState()Output only. The state of the pickup serving.
.google.shopping.merchant.accounts.v1.ReviewState.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ReviewState.State |
The state. |
getStateValue()
public int getStateValue()Output only. The state of the pickup serving.
.google.shopping.merchant.accounts.v1.ReviewState.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getUri()
public String getUri()Required. Pickup product page URI. It is only used for the review of pickup serving. This URI domain should match with the business's homepage.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()Required. Pickup product page URI. It is only used for the review of pickup serving. This URI domain should match with the business's homepage.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Pickup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Pickup.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Pickup.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Pickup.Builder |
|
mergeFrom(Pickup other)
public Pickup.Builder mergeFrom(Pickup other)| Parameter | |
|---|---|
| Name | Description |
other |
Pickup |
| Returns | |
|---|---|
| Type | Description |
Pickup.Builder |
|
setState(ReviewState.State value)
public Pickup.Builder setState(ReviewState.State value)Output only. The state of the pickup serving.
.google.shopping.merchant.accounts.v1.ReviewState.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ReviewState.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
Pickup.Builder |
This builder for chaining. |
setStateValue(int value)
public Pickup.Builder setStateValue(int value)Output only. The state of the pickup serving.
.google.shopping.merchant.accounts.v1.ReviewState.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
Pickup.Builder |
This builder for chaining. |
setUri(String value)
public Pickup.Builder setUri(String value)Required. Pickup product page URI. It is only used for the review of pickup serving. This URI domain should match with the business's homepage.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
Pickup.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public Pickup.Builder setUriBytes(ByteString value)Required. Pickup product page URI. It is only used for the review of pickup serving. This URI domain should match with the business's homepage.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
Pickup.Builder |
This builder for chaining. |