public final class WarehouseCutoffTime extends GeneratedMessageV3 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > WarehouseCutoffTimeImplements
WarehouseCutoffTimeOrBuilderStatic Fields
HOUR_FIELD_NUMBER
public static final int HOUR_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
MINUTE_FIELD_NUMBER
public static final int MINUTE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static WarehouseCutoffTime getDefaultInstance()
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static WarehouseCutoffTime.Builder newBuilder()
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime.Builder |
newBuilder(WarehouseCutoffTime prototype)
public static WarehouseCutoffTime.Builder newBuilder(WarehouseCutoffTime prototype)
Parameter | |
---|---|
Name | Description |
prototype |
WarehouseCutoffTime |
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime.Builder |
parseDelimitedFrom(InputStream input)
public static WarehouseCutoffTime parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WarehouseCutoffTime parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static WarehouseCutoffTime parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WarehouseCutoffTime parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static WarehouseCutoffTime parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WarehouseCutoffTime parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static WarehouseCutoffTime parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WarehouseCutoffTime parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static WarehouseCutoffTime parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WarehouseCutoffTime parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static WarehouseCutoffTime parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WarehouseCutoffTime parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<WarehouseCutoffTime> parser()
Returns | |
---|---|
Type | Description |
Parser<WarehouseCutoffTime> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public WarehouseCutoffTime getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime |
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. |
getParserForType()
public Parser<WarehouseCutoffTime> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<WarehouseCutoffTime> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public WarehouseCutoffTime.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WarehouseCutoffTime.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public WarehouseCutoffTime.Builder toBuilder()
Returns | |
---|---|
Type | Description |
WarehouseCutoffTime.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |