Class AggregatedMetrics (0.1.2)
Stay organized with collections
Save and categorize content based on your preferences.
- 1.76.0 (latest)
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.70.0
- 1.68.0
- 1.66.0
- 1.65.0
- 1.62.0
- 1.61.0
- 1.60.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.14
- 0.1.2
publicfinalclass AggregatedMetricsextendsGeneratedMessageV3implementsAggregatedMetricsOrBuilderAggregated metrics for ShipmentRoute (resp. for OptimizeToursResponse over all Transition and/or Visit (resp. over all ShipmentRoute) elements.
Protobuf type google.cloud.optimization.v1.AggregatedMetrics
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AggregatedMetricsImplements
AggregatedMetricsOrBuilderInherited Members
Static Fields
BREAK_DURATION_FIELD_NUMBER
publicstaticfinalintBREAK_DURATION_FIELD_NUMBERCOSTS_FIELD_NUMBER
publicstaticfinalintCOSTS_FIELD_NUMBERDELAY_DURATION_FIELD_NUMBER
publicstaticfinalintDELAY_DURATION_FIELD_NUMBERMAX_LOADS_FIELD_NUMBER
publicstaticfinalintMAX_LOADS_FIELD_NUMBERPERFORMED_SHIPMENT_COUNT_FIELD_NUMBER
publicstaticfinalintPERFORMED_SHIPMENT_COUNT_FIELD_NUMBERTOTAL_COST_FIELD_NUMBER
publicstaticfinalintTOTAL_COST_FIELD_NUMBERTOTAL_DURATION_FIELD_NUMBER
publicstaticfinalintTOTAL_DURATION_FIELD_NUMBERTRAVEL_DISTANCE_METERS_FIELD_NUMBER
publicstaticfinalintTRAVEL_DISTANCE_METERS_FIELD_NUMBERTRAVEL_DURATION_FIELD_NUMBER
publicstaticfinalintTRAVEL_DURATION_FIELD_NUMBERVISIT_DURATION_FIELD_NUMBER
publicstaticfinalintVISIT_DURATION_FIELD_NUMBERWAIT_DURATION_FIELD_NUMBER
publicstaticfinalintWAIT_DURATION_FIELD_NUMBERStatic Methods
getDefaultInstance()
publicstaticAggregatedMetricsgetDefaultInstance()getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()newBuilder()
publicstaticAggregatedMetrics.BuildernewBuilder()newBuilder(AggregatedMetrics prototype)
publicstaticAggregatedMetrics.BuildernewBuilder(AggregatedMetricsprototype)parseDelimitedFrom(InputStream input)
publicstaticAggregatedMetricsparseDelimitedFrom(InputStreaminput)parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticAggregatedMetricsparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(byte[] data)
publicstaticAggregatedMetricsparseFrom(byte[]data)byte[]parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticAggregatedMetricsparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)byte[]parseFrom(ByteString data)
publicstaticAggregatedMetricsparseFrom(ByteStringdata)parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticAggregatedMetricsparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)parseFrom(CodedInputStream input)
publicstaticAggregatedMetricsparseFrom(CodedInputStreaminput)parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticAggregatedMetricsparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(InputStream input)
publicstaticAggregatedMetricsparseFrom(InputStreaminput)parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticAggregatedMetricsparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(ByteBuffer data)
publicstaticAggregatedMetricsparseFrom(ByteBufferdata)parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticAggregatedMetricsparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)parser()
publicstaticParser<AggregatedMetrics>parser()Methods
containsCosts(String key)
publicbooleancontainsCosts(Stringkey)Deprecated: Use [ShipmentRoute.route_costs][] and [OptimizeToursResponse.Metrics.costs][] instead.
map<string, double> costs = 10 [deprecated = true];
containsMaxLoads(String key)
publicbooleancontainsMaxLoads(Stringkey)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 (resp. ShipmentRoute.metrics.max_loads.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> max_loads = 9;
equals(Object obj)
publicbooleanequals(Objectobj)getBreakDuration()
publicDurationgetBreakDuration()Total break duration for a route or a solution.
.google.protobuf.Duration break_duration = 5;
The breakDuration.
getBreakDurationOrBuilder()
publicDurationOrBuildergetBreakDurationOrBuilder()Total break duration for a route or a solution.
.google.protobuf.Duration break_duration = 5;
getCosts()
publicMap<String,Double>getCosts()Use #getCostsMap() instead.
getCostsCount()
publicintgetCostsCount()Deprecated: Use [ShipmentRoute.route_costs][] and [OptimizeToursResponse.Metrics.costs][] instead.
map<string, double> costs = 10 [deprecated = true];
getCostsMap()
publicMap<String,Double>getCostsMap()Deprecated: Use [ShipmentRoute.route_costs][] and [OptimizeToursResponse.Metrics.costs][] instead.
map<string, double> costs = 10 [deprecated = true];
getCostsOrDefault(String key, double defaultValue)
publicdoublegetCostsOrDefault(Stringkey,doubledefaultValue)Deprecated: Use [ShipmentRoute.route_costs][] and [OptimizeToursResponse.Metrics.costs][] instead.
map<string, double> costs = 10 [deprecated = true];
getCostsOrThrow(String key)
publicdoublegetCostsOrThrow(Stringkey)Deprecated: Use [ShipmentRoute.route_costs][] and [OptimizeToursResponse.Metrics.costs][] instead.
map<string, double> costs = 10 [deprecated = true];
getDefaultInstanceForType()
publicAggregatedMetricsgetDefaultInstanceForType()getDelayDuration()
publicDurationgetDelayDuration()Total delay duration for a route or a solution.
.google.protobuf.Duration delay_duration = 4;
The delayDuration.
getDelayDurationOrBuilder()
publicDurationOrBuildergetDelayDurationOrBuilder()Total delay duration for a route or a solution.
.google.protobuf.Duration delay_duration = 4;
getMaxLoads()
publicMap<String,ShipmentRoute.VehicleLoad>getMaxLoads()Use #getMaxLoadsMap() instead.
getMaxLoadsCount()
publicintgetMaxLoadsCount()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 (resp. ShipmentRoute.metrics.max_loads.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> max_loads = 9;
getMaxLoadsMap()
publicMap<String,ShipmentRoute.VehicleLoad>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 (resp. ShipmentRoute.metrics.max_loads.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> max_loads = 9;
getMaxLoadsOrDefault(String key, ShipmentRoute.VehicleLoad defaultValue)
publicShipmentRoute.VehicleLoadgetMaxLoadsOrDefault(Stringkey,ShipmentRoute.VehicleLoaddefaultValue)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 (resp. ShipmentRoute.metrics.max_loads.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> max_loads = 9;
getMaxLoadsOrThrow(String key)
publicShipmentRoute.VehicleLoadgetMaxLoadsOrThrow(Stringkey)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 (resp. ShipmentRoute.metrics.max_loads.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> max_loads = 9;
getParserForType()
publicParser<AggregatedMetrics>getParserForType()getPerformedShipmentCount()
publicintgetPerformedShipmentCount()Number of shipments performed. Note that a pickup and delivery pair only counts once.
int32 performed_shipment_count = 1;
The performedShipmentCount.
getSerializedSize()
publicintgetSerializedSize()getTotalCost()
publicdoublegetTotalCost()Deprecated: Use [ShipmentRoute.route_total_cost][] and [OptimizeToursResponse.Metrics.total_cost][] instead.
double total_cost = 11 [deprecated = true];
The totalCost.
getTotalDuration()
publicDurationgetTotalDuration()The total duration should be equal to the sum of all durations above. For routes, it also corresponds to ShipmentRoute.vehicle_end_time - ShipmentRoute.vehicle_start_time.
.google.protobuf.Duration total_duration = 7;
The totalDuration.
getTotalDurationOrBuilder()
publicDurationOrBuildergetTotalDurationOrBuilder()The total duration should be equal to the sum of all durations above. For routes, it also corresponds to ShipmentRoute.vehicle_end_time - ShipmentRoute.vehicle_start_time.
.google.protobuf.Duration total_duration = 7;
getTravelDistanceMeters()
publicdoublegetTravelDistanceMeters()Total travel distance for a route or a solution.
double travel_distance_meters = 8;
The travelDistanceMeters.
getTravelDuration()
publicDurationgetTravelDuration()Total travel duration for a route or a solution.
.google.protobuf.Duration travel_duration = 2;
The travelDuration.
getTravelDurationOrBuilder()
publicDurationOrBuildergetTravelDurationOrBuilder()Total travel duration for a route or a solution.
.google.protobuf.Duration travel_duration = 2;
getUnknownFields()
publicfinalUnknownFieldSetgetUnknownFields()getVisitDuration()
publicDurationgetVisitDuration()Total visit duration for a route or a solution.
.google.protobuf.Duration visit_duration = 6;
The visitDuration.
getVisitDurationOrBuilder()
publicDurationOrBuildergetVisitDurationOrBuilder()Total visit duration for a route or a solution.
.google.protobuf.Duration visit_duration = 6;
getWaitDuration()
publicDurationgetWaitDuration()Total wait duration for a route or a solution.
.google.protobuf.Duration wait_duration = 3;
The waitDuration.
getWaitDurationOrBuilder()
publicDurationOrBuildergetWaitDurationOrBuilder()Total wait duration for a route or a solution.
.google.protobuf.Duration wait_duration = 3;
hasBreakDuration()
publicbooleanhasBreakDuration()Total break duration for a route or a solution.
.google.protobuf.Duration break_duration = 5;
Whether the breakDuration field is set.
hasDelayDuration()
publicbooleanhasDelayDuration()Total delay duration for a route or a solution.
.google.protobuf.Duration delay_duration = 4;
Whether the delayDuration field is set.
hasTotalDuration()
publicbooleanhasTotalDuration()The total duration should be equal to the sum of all durations above. For routes, it also corresponds to ShipmentRoute.vehicle_end_time - ShipmentRoute.vehicle_start_time.
.google.protobuf.Duration total_duration = 7;
Whether the totalDuration field is set.
hasTravelDuration()
publicbooleanhasTravelDuration()Total travel duration for a route or a solution.
.google.protobuf.Duration travel_duration = 2;
Whether the travelDuration field is set.
hasVisitDuration()
publicbooleanhasVisitDuration()Total visit duration for a route or a solution.
.google.protobuf.Duration visit_duration = 6;
Whether the visitDuration field is set.
hasWaitDuration()
publicbooleanhasWaitDuration()Total wait duration for a route or a solution.
.google.protobuf.Duration wait_duration = 3;
Whether the waitDuration field is set.
hashCode()
publicinthashCode()internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()internalGetMapField(int number)
protectedMapFieldinternalGetMapField(intnumber)isInitialized()
publicfinalbooleanisInitialized()newBuilderForType()
publicAggregatedMetrics.BuildernewBuilderForType()newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedAggregatedMetrics.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)toBuilder()
publicAggregatedMetrics.BuildertoBuilder()writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)