Class Pickup.Builder (1.11.0)

public static final class Pickup.Builder extends GeneratedMessage.Builder<Pickup.Builder> implements PickupOrBuilder

Collection of information related to Pickup.

Protobuf type google.shopping.merchant.accounts.v1beta.Pickup

Implements

PickupOrBuilder

Static 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
Overrides

clearState()

public Pickup.Builder clearState()

Output only. The state of the pickup serving.

.google.shopping.merchant.accounts.v1beta.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
Overrides

getState()

public ReviewState.State getState()

Output only. The state of the pickup serving.

.google.shopping.merchant.accounts.v1beta.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.v1beta.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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Pickup.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Pickup.Builder
Overrides

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.v1beta.ReviewState.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ReviewState.State

The 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.v1beta.ReviewState.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The 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 String

The 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 ByteString

The bytes for uri to set.

Returns
Type Description
Pickup.Builder

This builder for chaining.