Package com.google.cloud.optimization.v1
Class AggregatedMetrics
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.optimization.v1.AggregatedMetrics
- All Implemented Interfaces:
AggregatedMetricsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class AggregatedMetrics
extends com.google.protobuf.GeneratedMessage
implements AggregatedMetricsOrBuilder
Aggregated metrics for [ShipmentRoute][google.cloud.optimization.v1.ShipmentRoute] (resp. for [OptimizeToursResponse][google.cloud.optimization.v1.OptimizeToursResponse] over all [Transition][google.cloud.optimization.v1.ShipmentRoute.Transition] and/or [Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] (resp. over all [ShipmentRoute][google.cloud.optimization.v1.ShipmentRoute]) elements.Protobuf type
google.cloud.optimization.v1.AggregatedMetrics- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAggregated metrics for [ShipmentRoute][google.cloud.optimization.v1.ShipmentRoute] (resp. for [OptimizeToursResponse][google.cloud.optimization.v1.OptimizeToursResponse] over all [Transition][google.cloud.optimization.v1.ShipmentRoute.Transition] and/or [Visit][google.cloud.optimization.v1.ShipmentRoute.Visit] (resp. over all [ShipmentRoute][google.cloud.optimization.v1.ShipmentRoute]) elements.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsCosts(String key) Deprecated.booleancontainsMaxLoads(String key) Maximum load achieved over the entire route (resp. solution), for each of the quantities on this route (resp. solution), computed as the maximum over all [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] (resp.booleancom.google.protobuf.DurationTotal break duration for a route or a solution.com.google.protobuf.DurationOrBuilderTotal break duration for a route or a solution.getCosts()Deprecated.intDeprecated.Deprecated.doublegetCostsOrDefault(String key, double defaultValue) Deprecated.doublegetCostsOrThrow(String key) Deprecated.static AggregatedMetricscom.google.protobuf.DurationTotal delay duration for a route or a solution.com.google.protobuf.DurationOrBuilderTotal delay duration for a route or a solution.static final com.google.protobuf.Descriptors.DescriptorDeprecated.intMaximum load achieved over the entire route (resp. solution), for each of the quantities on this route (resp. solution), computed as the maximum over all [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] (resp.Maximum load achieved over the entire route (resp. solution), for each of the quantities on this route (resp. solution), computed as the maximum over all [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] (resp.getMaxLoadsOrDefault(String key, ShipmentRoute.VehicleLoad defaultValue) Maximum load achieved over the entire route (resp. solution), for each of the quantities on this route (resp. solution), computed as the maximum over all [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] (resp.getMaxLoadsOrThrow(String key) Maximum load achieved over the entire route (resp. solution), for each of the quantities on this route (resp. solution), computed as the maximum over all [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] (resp.com.google.protobuf.Parser<AggregatedMetrics>intNumber of shipments performed.intdoubleDeprecated.google.cloud.optimization.v1.AggregatedMetrics.total_cost is deprecated.com.google.protobuf.DurationThe total duration should be equal to the sum of all durations above.com.google.protobuf.DurationOrBuilderThe total duration should be equal to the sum of all durations above.doubleTotal travel distance for a route or a solution.com.google.protobuf.DurationTotal travel duration for a route or a solution.com.google.protobuf.DurationOrBuilderTotal travel duration for a route or a solution.com.google.protobuf.DurationTotal visit duration for a route or a solution.com.google.protobuf.DurationOrBuilderTotal visit duration for a route or a solution.com.google.protobuf.DurationTotal wait duration for a route or a solution.com.google.protobuf.DurationOrBuilderTotal wait duration for a route or a solution.booleanTotal break duration for a route or a solution.booleanTotal delay duration for a route or a solution.inthashCode()booleanThe total duration should be equal to the sum of all durations above.booleanTotal travel duration for a route or a solution.booleanTotal visit duration for a route or a solution.booleanTotal wait duration for a route or a solution.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic AggregatedMetrics.Builderstatic AggregatedMetrics.BuildernewBuilder(AggregatedMetrics prototype) protected AggregatedMetrics.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static AggregatedMetricsparseDelimitedFrom(InputStream input) static AggregatedMetricsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregatedMetricsparseFrom(byte[] data) static AggregatedMetricsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregatedMetricsparseFrom(com.google.protobuf.ByteString data) static AggregatedMetricsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregatedMetricsparseFrom(com.google.protobuf.CodedInputStream input) static AggregatedMetricsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregatedMetricsparseFrom(InputStream input) static AggregatedMetricsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregatedMetricsparseFrom(ByteBuffer data) static AggregatedMetricsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AggregatedMetrics>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PERFORMED_SHIPMENT_COUNT_FIELD_NUMBER
public static final int PERFORMED_SHIPMENT_COUNT_FIELD_NUMBER- See Also:
-
TRAVEL_DURATION_FIELD_NUMBER
public static final int TRAVEL_DURATION_FIELD_NUMBER- See Also:
-
WAIT_DURATION_FIELD_NUMBER
public static final int WAIT_DURATION_FIELD_NUMBER- See Also:
-
DELAY_DURATION_FIELD_NUMBER
public static final int DELAY_DURATION_FIELD_NUMBER- See Also:
-
BREAK_DURATION_FIELD_NUMBER
public static final int BREAK_DURATION_FIELD_NUMBER- See Also:
-
VISIT_DURATION_FIELD_NUMBER
public static final int VISIT_DURATION_FIELD_NUMBER- See Also:
-
TOTAL_DURATION_FIELD_NUMBER
public static final int TOTAL_DURATION_FIELD_NUMBER- See Also:
-
TRAVEL_DISTANCE_METERS_FIELD_NUMBER
public static final int TRAVEL_DISTANCE_METERS_FIELD_NUMBER- See Also:
-
MAX_LOADS_FIELD_NUMBER
public static final int MAX_LOADS_FIELD_NUMBER- See Also:
-
COSTS_FIELD_NUMBER
public static final int COSTS_FIELD_NUMBER- See Also:
-
TOTAL_COST_FIELD_NUMBER
public static final int TOTAL_COST_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getPerformedShipmentCount
public int getPerformedShipmentCount()Number of shipments performed. Note that a pickup and delivery pair only counts once.
int32 performed_shipment_count = 1;- Specified by:
getPerformedShipmentCountin interfaceAggregatedMetricsOrBuilder- Returns:
- The performedShipmentCount.
-
hasTravelDuration
public boolean hasTravelDuration()Total travel duration for a route or a solution.
.google.protobuf.Duration travel_duration = 2;- Specified by:
hasTravelDurationin interfaceAggregatedMetricsOrBuilder- Returns:
- Whether the travelDuration field is set.
-
getTravelDuration
public com.google.protobuf.Duration getTravelDuration()Total travel duration for a route or a solution.
.google.protobuf.Duration travel_duration = 2;- Specified by:
getTravelDurationin interfaceAggregatedMetricsOrBuilder- Returns:
- The travelDuration.
-
getTravelDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getTravelDurationOrBuilder()Total travel duration for a route or a solution.
.google.protobuf.Duration travel_duration = 2;- Specified by:
getTravelDurationOrBuilderin interfaceAggregatedMetricsOrBuilder
-
hasWaitDuration
public boolean hasWaitDuration()Total wait duration for a route or a solution.
.google.protobuf.Duration wait_duration = 3;- Specified by:
hasWaitDurationin interfaceAggregatedMetricsOrBuilder- Returns:
- Whether the waitDuration field is set.
-
getWaitDuration
public com.google.protobuf.Duration getWaitDuration()Total wait duration for a route or a solution.
.google.protobuf.Duration wait_duration = 3;- Specified by:
getWaitDurationin interfaceAggregatedMetricsOrBuilder- Returns:
- The waitDuration.
-
getWaitDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getWaitDurationOrBuilder()Total wait duration for a route or a solution.
.google.protobuf.Duration wait_duration = 3;- Specified by:
getWaitDurationOrBuilderin interfaceAggregatedMetricsOrBuilder
-
hasDelayDuration
public boolean hasDelayDuration()Total delay duration for a route or a solution.
.google.protobuf.Duration delay_duration = 4;- Specified by:
hasDelayDurationin interfaceAggregatedMetricsOrBuilder- Returns:
- Whether the delayDuration field is set.
-
getDelayDuration
public com.google.protobuf.Duration getDelayDuration()Total delay duration for a route or a solution.
.google.protobuf.Duration delay_duration = 4;- Specified by:
getDelayDurationin interfaceAggregatedMetricsOrBuilder- Returns:
- The delayDuration.
-
getDelayDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDelayDurationOrBuilder()Total delay duration for a route or a solution.
.google.protobuf.Duration delay_duration = 4;- Specified by:
getDelayDurationOrBuilderin interfaceAggregatedMetricsOrBuilder
-
hasBreakDuration
public boolean hasBreakDuration()Total break duration for a route or a solution.
.google.protobuf.Duration break_duration = 5;- Specified by:
hasBreakDurationin interfaceAggregatedMetricsOrBuilder- Returns:
- Whether the breakDuration field is set.
-
getBreakDuration
public com.google.protobuf.Duration getBreakDuration()Total break duration for a route or a solution.
.google.protobuf.Duration break_duration = 5;- Specified by:
getBreakDurationin interfaceAggregatedMetricsOrBuilder- Returns:
- The breakDuration.
-
getBreakDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getBreakDurationOrBuilder()Total break duration for a route or a solution.
.google.protobuf.Duration break_duration = 5;- Specified by:
getBreakDurationOrBuilderin interfaceAggregatedMetricsOrBuilder
-
hasVisitDuration
public boolean hasVisitDuration()Total visit duration for a route or a solution.
.google.protobuf.Duration visit_duration = 6;- Specified by:
hasVisitDurationin interfaceAggregatedMetricsOrBuilder- Returns:
- Whether the visitDuration field is set.
-
getVisitDuration
public com.google.protobuf.Duration getVisitDuration()Total visit duration for a route or a solution.
.google.protobuf.Duration visit_duration = 6;- Specified by:
getVisitDurationin interfaceAggregatedMetricsOrBuilder- Returns:
- The visitDuration.
-
getVisitDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getVisitDurationOrBuilder()Total visit duration for a route or a solution.
.google.protobuf.Duration visit_duration = 6;- Specified by:
getVisitDurationOrBuilderin interfaceAggregatedMetricsOrBuilder
-
hasTotalDuration
public boolean hasTotalDuration()The total duration should be equal to the sum of all durations above. For routes, it also corresponds to: [ShipmentRoute.vehicle_end_time][google.cloud.optimization.v1.ShipmentRoute.vehicle_end_time] `-` [ShipmentRoute.vehicle_start_time][google.cloud.optimization.v1.ShipmentRoute.vehicle_start_time]
.google.protobuf.Duration total_duration = 7;- Specified by:
hasTotalDurationin interfaceAggregatedMetricsOrBuilder- Returns:
- Whether the totalDuration field is set.
-
getTotalDuration
public com.google.protobuf.Duration getTotalDuration()The total duration should be equal to the sum of all durations above. For routes, it also corresponds to: [ShipmentRoute.vehicle_end_time][google.cloud.optimization.v1.ShipmentRoute.vehicle_end_time] `-` [ShipmentRoute.vehicle_start_time][google.cloud.optimization.v1.ShipmentRoute.vehicle_start_time]
.google.protobuf.Duration total_duration = 7;- Specified by:
getTotalDurationin interfaceAggregatedMetricsOrBuilder- Returns:
- The totalDuration.
-
getTotalDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getTotalDurationOrBuilder()The total duration should be equal to the sum of all durations above. For routes, it also corresponds to: [ShipmentRoute.vehicle_end_time][google.cloud.optimization.v1.ShipmentRoute.vehicle_end_time] `-` [ShipmentRoute.vehicle_start_time][google.cloud.optimization.v1.ShipmentRoute.vehicle_start_time]
.google.protobuf.Duration total_duration = 7;- Specified by:
getTotalDurationOrBuilderin interfaceAggregatedMetricsOrBuilder
-
getTravelDistanceMeters
public double getTravelDistanceMeters()Total travel distance for a route or a solution.
double travel_distance_meters = 8;- Specified by:
getTravelDistanceMetersin interfaceAggregatedMetricsOrBuilder- Returns:
- The travelDistanceMeters.
-
getMaxLoadsCount
public int getMaxLoadsCount()Description copied from interface:AggregatedMetricsOrBuilderMaximum load achieved over the entire route (resp. solution), for each of the quantities on this route (resp. solution), computed as the maximum over all [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] (resp. [ShipmentRoute.metrics.max_loads][google.cloud.optimization.v1.AggregatedMetrics.max_loads].
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> max_loads = 9;- Specified by:
getMaxLoadsCountin interfaceAggregatedMetricsOrBuilder
-
containsMaxLoads
Maximum load achieved over the entire route (resp. solution), for each of the quantities on this route (resp. solution), computed as the maximum over all [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] (resp. [ShipmentRoute.metrics.max_loads][google.cloud.optimization.v1.AggregatedMetrics.max_loads].
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> max_loads = 9;- Specified by:
containsMaxLoadsin interfaceAggregatedMetricsOrBuilder
-
getMaxLoads
Deprecated.UsegetMaxLoadsMap()instead.- Specified by:
getMaxLoadsin interfaceAggregatedMetricsOrBuilder
-
getMaxLoadsMap
Maximum load achieved over the entire route (resp. solution), for each of the quantities on this route (resp. solution), computed as the maximum over all [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] (resp. [ShipmentRoute.metrics.max_loads][google.cloud.optimization.v1.AggregatedMetrics.max_loads].
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> max_loads = 9;- Specified by:
getMaxLoadsMapin interfaceAggregatedMetricsOrBuilder
-
getMaxLoadsOrDefault
public ShipmentRoute.VehicleLoad getMaxLoadsOrDefault(String key, ShipmentRoute.VehicleLoad defaultValue) Maximum load achieved over the entire route (resp. solution), for each of the quantities on this route (resp. solution), computed as the maximum over all [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] (resp. [ShipmentRoute.metrics.max_loads][google.cloud.optimization.v1.AggregatedMetrics.max_loads].
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> max_loads = 9;- Specified by:
getMaxLoadsOrDefaultin interfaceAggregatedMetricsOrBuilder
-
getMaxLoadsOrThrow
Maximum load achieved over the entire route (resp. solution), for each of the quantities on this route (resp. solution), computed as the maximum over all [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] (resp. [ShipmentRoute.metrics.max_loads][google.cloud.optimization.v1.AggregatedMetrics.max_loads].
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> max_loads = 9;- Specified by:
getMaxLoadsOrThrowin interfaceAggregatedMetricsOrBuilder
-
getCostsCount
Deprecated.Description copied from interface:AggregatedMetricsOrBuilderDeprecated: Use [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs] and [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs] instead.
map<string, double> costs = 10 [deprecated = true];- Specified by:
getCostsCountin interfaceAggregatedMetricsOrBuilder
-
containsCosts
Deprecated.Deprecated: Use [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs] and [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs] instead.
map<string, double> costs = 10 [deprecated = true];- Specified by:
containsCostsin interfaceAggregatedMetricsOrBuilder
-
getCosts
Deprecated.UsegetCostsMap()instead.- Specified by:
getCostsin interfaceAggregatedMetricsOrBuilder
-
getCostsMap
Deprecated.Deprecated: Use [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs] and [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs] instead.
map<string, double> costs = 10 [deprecated = true];- Specified by:
getCostsMapin interfaceAggregatedMetricsOrBuilder
-
getCostsOrDefault
Deprecated.Deprecated: Use [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs] and [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs] instead.
map<string, double> costs = 10 [deprecated = true];- Specified by:
getCostsOrDefaultin interfaceAggregatedMetricsOrBuilder
-
getCostsOrThrow
Deprecated.Deprecated: Use [ShipmentRoute.route_costs][google.cloud.optimization.v1.ShipmentRoute.route_costs] and [OptimizeToursResponse.Metrics.costs][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.costs] instead.
map<string, double> costs = 10 [deprecated = true];- Specified by:
getCostsOrThrowin interfaceAggregatedMetricsOrBuilder
-
getTotalCost
Deprecated.google.cloud.optimization.v1.AggregatedMetrics.total_cost is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=2381Deprecated: Use [ShipmentRoute.route_total_cost][google.cloud.optimization.v1.ShipmentRoute.route_total_cost] and [OptimizeToursResponse.Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.Metrics.total_cost] instead.
double total_cost = 11 [deprecated = true];- Specified by:
getTotalCostin interfaceAggregatedMetricsOrBuilder- Returns:
- The totalCost.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AggregatedMetrics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggregatedMetrics parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggregatedMetrics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggregatedMetrics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggregatedMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggregatedMetrics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AggregatedMetrics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AggregatedMetrics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AggregatedMetrics parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AggregatedMetrics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AggregatedMetrics.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-