Class ShipmentRoute.Delay (1.34.0)

publicstaticfinalclass ShipmentRoute.DelayextendsGeneratedMessageV3implementsShipmentRoute.DelayOrBuilder

Deprecated: Use ShipmentRoute.Transition.delay_duration instead. Time interval spent on the route resulting from a TransitionAttributes.delay.

Protobuf type google.cloud.optimization.v1.ShipmentRoute.Delay

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

DURATION_FIELD_NUMBER (deprecated)

publicstaticfinalintDURATION_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER (deprecated)

publicstaticfinalintSTART_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance() (deprecated)

publicstaticShipmentRoute.DelaygetDefaultInstance()
Returns
Type Description
ShipmentRoute.Delay

getDescriptor() (deprecated)

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder() (deprecated)

publicstaticShipmentRoute.Delay.BuildernewBuilder()
Returns
Type Description
ShipmentRoute.Delay.Builder

newBuilder(ShipmentRoute.Delay prototype) (deprecated)

publicstaticShipmentRoute.Delay.BuildernewBuilder(ShipmentRoute.Delayprototype)
Parameter
Name Description
prototype ShipmentRoute.Delay
Returns
Type Description
ShipmentRoute.Delay.Builder

parseDelimitedFrom(InputStream input) (deprecated)

publicstaticShipmentRoute.DelayparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ShipmentRoute.Delay
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

publicstaticShipmentRoute.DelayparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShipmentRoute.Delay
Exceptions
Type Description
IOException

parseFrom(byte[] data) (deprecated)

publicstaticShipmentRoute.DelayparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
ShipmentRoute.Delay
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) (deprecated)

publicstaticShipmentRoute.DelayparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShipmentRoute.Delay
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data) (deprecated)

publicstaticShipmentRoute.DelayparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
ShipmentRoute.Delay
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) (deprecated)

publicstaticShipmentRoute.DelayparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShipmentRoute.Delay
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input) (deprecated)

publicstaticShipmentRoute.DelayparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ShipmentRoute.Delay
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

publicstaticShipmentRoute.DelayparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShipmentRoute.Delay
Exceptions
Type Description
IOException

parseFrom(InputStream input) (deprecated)

publicstaticShipmentRoute.DelayparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ShipmentRoute.Delay
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

publicstaticShipmentRoute.DelayparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShipmentRoute.Delay
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data) (deprecated)

publicstaticShipmentRoute.DelayparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ShipmentRoute.Delay
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) (deprecated)

publicstaticShipmentRoute.DelayparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShipmentRoute.Delay
Exceptions
Type Description
InvalidProtocolBufferException

parser() (deprecated)

publicstaticParser<ShipmentRoute.Delay>parser()
Returns
Type Description
Parser<Delay>

Methods

equals(Object obj) (deprecated)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType() (deprecated)

publicShipmentRoute.DelaygetDefaultInstanceForType()
Returns
Type Description
ShipmentRoute.Delay

getDuration() (deprecated)

publicDurationgetDuration()

Duration of the delay.

.google.protobuf.Duration duration = 2;

Returns
Type Description
Duration

The duration.

getDurationOrBuilder() (deprecated)

publicDurationOrBuildergetDurationOrBuilder()

Duration of the delay.

.google.protobuf.Duration duration = 2;

Returns
Type Description
DurationOrBuilder

getParserForType() (deprecated)

publicParser<ShipmentRoute.Delay>getParserForType()
Returns
Type Description
Parser<Delay>
Overrides

getSerializedSize() (deprecated)

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getStartTime() (deprecated)

publicTimestampgetStartTime()

Start of the delay.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder() (deprecated)

publicTimestampOrBuildergetStartTimeOrBuilder()

Start of the delay.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

hasDuration() (deprecated)

publicbooleanhasDuration()

Duration of the delay.

.google.protobuf.Duration duration = 2;

Returns
Type Description
boolean

Whether the duration field is set.

hasStartTime() (deprecated)

publicbooleanhasStartTime()

Start of the delay.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

hashCode() (deprecated)

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable() (deprecated)

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized() (deprecated)

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType() (deprecated)

publicShipmentRoute.Delay.BuildernewBuilderForType()
Returns
Type Description
ShipmentRoute.Delay.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent) (deprecated)

protectedShipmentRoute.Delay.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ShipmentRoute.Delay.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) (deprecated)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder() (deprecated)

publicShipmentRoute.Delay.BuildertoBuilder()
Returns
Type Description
ShipmentRoute.Delay.Builder

writeTo(CodedOutputStream output) (deprecated)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.