Class CutoffTime (0.1.0)

public final class CutoffTime extends GeneratedMessageV3 implements CutoffTimeOrBuilder

Business days cutoff time definition.

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

Implements

CutoffTimeOrBuilder

Static 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

TIME_ZONE_FIELD_NUMBER

public static final int TIME_ZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CutoffTime getDefaultInstance()
Returns
Type Description
CutoffTime

getDescriptor()

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

newBuilder()

public static CutoffTime.Builder newBuilder()
Returns
Type Description
CutoffTime.Builder

newBuilder(CutoffTime prototype)

public static CutoffTime.Builder newBuilder(CutoffTime prototype)
Parameter
Name Description
prototype CutoffTime
Returns
Type Description
CutoffTime.Builder

parseDelimitedFrom(InputStream input)

public static CutoffTime parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CutoffTime
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CutoffTime parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CutoffTime
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CutoffTime parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CutoffTime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CutoffTime parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CutoffTime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CutoffTime parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CutoffTime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CutoffTime parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CutoffTime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CutoffTime parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CutoffTime
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CutoffTime parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CutoffTime
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CutoffTime parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CutoffTime
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CutoffTime parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CutoffTime
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CutoffTime parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CutoffTime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CutoffTime parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CutoffTime
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CutoffTime> parser()
Returns
Type Description
Parser<CutoffTime>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CutoffTime getDefaultInstanceForType()
Returns
Type Description
CutoffTime

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.

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.

optional int32 minute = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The minute.

getParserForType()

public Parser<CutoffTime> getParserForType()
Returns
Type Description
Parser<CutoffTime>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTimeZone()

public String getTimeZone()

Required. Timezone identifier For example "Europe/Zurich".

optional string time_zone = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The timeZone.

getTimeZoneBytes()

public ByteString getTimeZoneBytes()

Required. Timezone identifier For example "Europe/Zurich".

optional string time_zone = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for timeZone.

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.

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.

optional int32 minute = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the minute field is set.

hasTimeZone()

public boolean hasTimeZone()

Required. Timezone identifier For example "Europe/Zurich".

optional string time_zone = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the timeZone field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CutoffTime.Builder newBuilderForType()
Returns
Type Description
CutoffTime.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CutoffTime.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CutoffTime.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CutoffTime.Builder toBuilder()
Returns
Type Description
CutoffTime.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException