Class WarehouseCutoffTime.Builder (0.8.0)

public static final class WarehouseCutoffTime.Builder extends GeneratedMessageV3.Builder<WarehouseCutoffTime.Builder> implements WarehouseCutoffTimeOrBuilder

The 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.v1beta.WarehouseCutoffTime

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WarehouseCutoffTime.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WarehouseCutoffTime.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public WarehouseCutoffTime.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WarehouseCutoffTime.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public WarehouseCutoffTime.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WarehouseCutoffTime.Builder
Overrides

clone()

public WarehouseCutoffTime.Builder clone()
Returns
Type Description
WarehouseCutoffTime.Builder
Overrides

getDefaultInstanceForType()

public WarehouseCutoffTime getDefaultInstanceForType()
Returns
Type Description
WarehouseCutoffTime

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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

mergeFrom(Message other)

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

mergeFrom(WarehouseCutoffTime other)

public WarehouseCutoffTime.Builder mergeFrom(WarehouseCutoffTime other)
Parameter
Name Description
other WarehouseCutoffTime
Returns
Type Description
WarehouseCutoffTime.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WarehouseCutoffTime.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WarehouseCutoffTime.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public WarehouseCutoffTime.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WarehouseCutoffTime.Builder
Overrides

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 int

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

The minute to set.

Returns
Type Description
WarehouseCutoffTime.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WarehouseCutoffTime.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WarehouseCutoffTime.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WarehouseCutoffTime.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WarehouseCutoffTime.Builder
Overrides