Class Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder (0.4.0)

public static final class Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder extends GeneratedMessageV3.Builder<Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder> implements Service.StoreConfig.CutoffConfig.LocalCutoffTimeOrBuilder

Time that local delivery ends for the day.

Protobuf type google.shopping.merchant.accounts.v1beta.Service.StoreConfig.CutoffConfig.LocalCutoffTime

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder
Overrides

build()

public Service.StoreConfig.CutoffConfig.LocalCutoffTime build()
Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime

buildPartial()

public Service.StoreConfig.CutoffConfig.LocalCutoffTime buildPartial()
Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime

clear()

public Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder clear()
Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder
Overrides

clearHour()

public Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder clearHour()

Hour local delivery orders must be placed by to process the same day.

optional int64 hour = 1;

Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder

This builder for chaining.

clearMinute()

public Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder clearMinute()

Minute local delivery orders must be placed by to process the same day.

optional int64 minute = 2;

Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder
Overrides

clone()

public Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder clone()
Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder
Overrides

getDefaultInstanceForType()

public Service.StoreConfig.CutoffConfig.LocalCutoffTime getDefaultInstanceForType()
Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime

getDescriptorForType()

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

getHour()

public long getHour()

Hour local delivery orders must be placed by to process the same day.

optional int64 hour = 1;

Returns
Type Description
long

The hour.

getMinute()

public long getMinute()

Minute local delivery orders must be placed by to process the same day.

optional int64 minute = 2;

Returns
Type Description
long

The minute.

hasHour()

public boolean hasHour()

Hour local delivery orders must be placed by to process the same day.

optional int64 hour = 1;

Returns
Type Description
boolean

Whether the hour field is set.

hasMinute()

public boolean hasMinute()

Minute local delivery orders must be placed by to process the same day.

optional int64 minute = 2;

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 Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder
Overrides

mergeFrom(Service.StoreConfig.CutoffConfig.LocalCutoffTime other)

public Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder mergeFrom(Service.StoreConfig.CutoffConfig.LocalCutoffTime other)
Parameter
Name Description
other Service.StoreConfig.CutoffConfig.LocalCutoffTime
Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder
Overrides

setHour(long value)

public Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder setHour(long value)

Hour local delivery orders must be placed by to process the same day.

optional int64 hour = 1;

Parameter
Name Description
value long

The hour to set.

Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder

This builder for chaining.

setMinute(long value)

public Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder setMinute(long value)

Minute local delivery orders must be placed by to process the same day.

optional int64 minute = 2;

Parameter
Name Description
value long

The minute to set.

Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Service.StoreConfig.CutoffConfig.LocalCutoffTime.Builder
Overrides