public static final class WarehouseCutoffTime.Builder extends GeneratedMessage.Builder<WarehouseCutoffTime.Builder> implements WarehouseCutoffTimeOrBuilderThe latest time of day that an order can be accepted and begin processing. Later orders will be processed in the next day. The time is based on the warehouse postal code.
Protobuf type google.shopping.merchant.accounts.v1.WarehouseCutoffTime
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WarehouseCutoffTime.BuilderImplements
WarehouseCutoffTimeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public WarehouseCutoffTime build()| Returns | |
|---|---|
| Type | Description |
WarehouseCutoffTime |
|
buildPartial()
public WarehouseCutoffTime buildPartial()| Returns | |
|---|---|
| Type | Description |
WarehouseCutoffTime |
|
clear()
public WarehouseCutoffTime.Builder clear()| Returns | |
|---|---|
| Type | Description |
WarehouseCutoffTime.Builder |
|
clearHour()
public WarehouseCutoffTime.Builder clearHour()Required. Hour of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Hour is based on the timezone of warehouse.
optional int32 hour = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
WarehouseCutoffTime.Builder |
This builder for chaining. |
clearMinute()
public WarehouseCutoffTime.Builder clearMinute()Required. Minute of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Minute is based on the timezone of warehouse.
optional int32 minute = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
WarehouseCutoffTime.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public WarehouseCutoffTime getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
WarehouseCutoffTime |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHour()
public int getHour()Required. Hour of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Hour is based on the timezone of warehouse.
optional int32 hour = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The hour. |
getMinute()
public int getMinute()Required. Minute of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Minute is based on the timezone of warehouse.
optional int32 minute = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The minute. |
hasHour()
public boolean hasHour()Required. Hour of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Hour is based on the timezone of warehouse.
optional int32 hour = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the hour field is set. |
hasMinute()
public boolean hasMinute()Required. Minute of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Minute is based on the timezone of warehouse.
optional int32 minute = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the minute 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 WarehouseCutoffTime.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WarehouseCutoffTime.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WarehouseCutoffTime.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WarehouseCutoffTime.Builder |
|
mergeFrom(WarehouseCutoffTime other)
public WarehouseCutoffTime.Builder mergeFrom(WarehouseCutoffTime other)| Parameter | |
|---|---|
| Name | Description |
other |
WarehouseCutoffTime |
| Returns | |
|---|---|
| Type | Description |
WarehouseCutoffTime.Builder |
|
setHour(int value)
public WarehouseCutoffTime.Builder setHour(int value)Required. Hour of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Hour is based on the timezone of warehouse.
optional int32 hour = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe hour to set. |
| Returns | |
|---|---|
| Type | Description |
WarehouseCutoffTime.Builder |
This builder for chaining. |
setMinute(int value)
public WarehouseCutoffTime.Builder setMinute(int value)Required. Minute of the cutoff time until which an order has to be placed to be processed in the same day by the warehouse. Minute is based on the timezone of warehouse.
optional int32 minute = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe minute to set. |
| Returns | |
|---|---|
| Type | Description |
WarehouseCutoffTime.Builder |
This builder for chaining. |