Class OptimizeToursResponse.Metrics (1.5.0)
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
publicstaticfinalclass OptimizeToursResponse.MetricsextendsGeneratedMessageV3implementsOptimizeToursResponse.MetricsOrBuilderOverall metrics, aggregated over all routes.
Protobuf type google.cloud.optimization.v1.OptimizeToursResponse.Metrics
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > OptimizeToursResponse.MetricsImplements
OptimizeToursResponse.MetricsOrBuilderInherited Members
Static Fields
AGGREGATED_ROUTE_METRICS_FIELD_NUMBER
publicstaticfinalintAGGREGATED_ROUTE_METRICS_FIELD_NUMBERCOSTS_FIELD_NUMBER
publicstaticfinalintCOSTS_FIELD_NUMBEREARLIEST_VEHICLE_START_TIME_FIELD_NUMBER
publicstaticfinalintEARLIEST_VEHICLE_START_TIME_FIELD_NUMBERLATEST_VEHICLE_END_TIME_FIELD_NUMBER
publicstaticfinalintLATEST_VEHICLE_END_TIME_FIELD_NUMBERSKIPPED_MANDATORY_SHIPMENT_COUNT_FIELD_NUMBER
publicstaticfinalintSKIPPED_MANDATORY_SHIPMENT_COUNT_FIELD_NUMBERTOTAL_COST_FIELD_NUMBER
publicstaticfinalintTOTAL_COST_FIELD_NUMBERUSED_VEHICLE_COUNT_FIELD_NUMBER
publicstaticfinalintUSED_VEHICLE_COUNT_FIELD_NUMBERStatic Methods
getDefaultInstance()
publicstaticOptimizeToursResponse.MetricsgetDefaultInstance()getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()newBuilder()
publicstaticOptimizeToursResponse.Metrics.BuildernewBuilder()newBuilder(OptimizeToursResponse.Metrics prototype)
publicstaticOptimizeToursResponse.Metrics.BuildernewBuilder(OptimizeToursResponse.Metricsprototype)parseDelimitedFrom(InputStream input)
publicstaticOptimizeToursResponse.MetricsparseDelimitedFrom(InputStreaminput)parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticOptimizeToursResponse.MetricsparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(byte[] data)
publicstaticOptimizeToursResponse.MetricsparseFrom(byte[]data)byte[]parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticOptimizeToursResponse.MetricsparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)byte[]parseFrom(ByteString data)
publicstaticOptimizeToursResponse.MetricsparseFrom(ByteStringdata)parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticOptimizeToursResponse.MetricsparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)parseFrom(CodedInputStream input)
publicstaticOptimizeToursResponse.MetricsparseFrom(CodedInputStreaminput)parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticOptimizeToursResponse.MetricsparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(InputStream input)
publicstaticOptimizeToursResponse.MetricsparseFrom(InputStreaminput)parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticOptimizeToursResponse.MetricsparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(ByteBuffer data)
publicstaticOptimizeToursResponse.MetricsparseFrom(ByteBufferdata)parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticOptimizeToursResponse.MetricsparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)parser()
publicstaticParser<OptimizeToursResponse.Metrics>parser()Methods
containsCosts(String key)
publicbooleancontainsCosts(Stringkey)Cost of the solution, broken down by cost-related request fields. The keys are proto paths, relative to the input OptimizeToursRequest, e.g. "model.shipments.pickups.cost", and the values are the total cost generated by the corresponding cost field, aggregated over the whole solution. In other words, costs["model.shipments.pickups.cost"] is the sum of all pickup costs over the solution. All costs defined in the model are reported in detail here with the exception of costs related to TransitionAttributes that are only reported in an aggregated way as of 2022/01.
map<string, double> costs = 10;
equals(Object obj)
publicbooleanequals(Objectobj)getAggregatedRouteMetrics()
publicAggregatedMetricsgetAggregatedRouteMetrics()Aggregated over the routes. Each metric is the sum (or max, for loads) over all ShipmentRoute.metrics fields of the same name.
.google.cloud.optimization.v1.AggregatedMetrics aggregated_route_metrics = 1;
The aggregatedRouteMetrics.
getAggregatedRouteMetricsOrBuilder()
publicAggregatedMetricsOrBuildergetAggregatedRouteMetricsOrBuilder()Aggregated over the routes. Each metric is the sum (or max, for loads) over all ShipmentRoute.metrics fields of the same name.
.google.cloud.optimization.v1.AggregatedMetrics aggregated_route_metrics = 1;
getCosts()
publicMap<String,Double>getCosts()Use #getCostsMap() instead.
getCostsCount()
publicintgetCostsCount()Cost of the solution, broken down by cost-related request fields. The keys are proto paths, relative to the input OptimizeToursRequest, e.g. "model.shipments.pickups.cost", and the values are the total cost generated by the corresponding cost field, aggregated over the whole solution. In other words, costs["model.shipments.pickups.cost"] is the sum of all pickup costs over the solution. All costs defined in the model are reported in detail here with the exception of costs related to TransitionAttributes that are only reported in an aggregated way as of 2022/01.
map<string, double> costs = 10;
getCostsMap()
publicMap<String,Double>getCostsMap()Cost of the solution, broken down by cost-related request fields. The keys are proto paths, relative to the input OptimizeToursRequest, e.g. "model.shipments.pickups.cost", and the values are the total cost generated by the corresponding cost field, aggregated over the whole solution. In other words, costs["model.shipments.pickups.cost"] is the sum of all pickup costs over the solution. All costs defined in the model are reported in detail here with the exception of costs related to TransitionAttributes that are only reported in an aggregated way as of 2022/01.
map<string, double> costs = 10;
getCostsOrDefault(String key, double defaultValue)
publicdoublegetCostsOrDefault(Stringkey,doubledefaultValue)Cost of the solution, broken down by cost-related request fields. The keys are proto paths, relative to the input OptimizeToursRequest, e.g. "model.shipments.pickups.cost", and the values are the total cost generated by the corresponding cost field, aggregated over the whole solution. In other words, costs["model.shipments.pickups.cost"] is the sum of all pickup costs over the solution. All costs defined in the model are reported in detail here with the exception of costs related to TransitionAttributes that are only reported in an aggregated way as of 2022/01.
map<string, double> costs = 10;
getCostsOrThrow(String key)
publicdoublegetCostsOrThrow(Stringkey)Cost of the solution, broken down by cost-related request fields. The keys are proto paths, relative to the input OptimizeToursRequest, e.g. "model.shipments.pickups.cost", and the values are the total cost generated by the corresponding cost field, aggregated over the whole solution. In other words, costs["model.shipments.pickups.cost"] is the sum of all pickup costs over the solution. All costs defined in the model are reported in detail here with the exception of costs related to TransitionAttributes that are only reported in an aggregated way as of 2022/01.
map<string, double> costs = 10;
getDefaultInstanceForType()
publicOptimizeToursResponse.MetricsgetDefaultInstanceForType()getEarliestVehicleStartTime()
publicTimestampgetEarliestVehicleStartTime()The earliest start time for a used vehicle, computed as the minimum over all used vehicles of ShipmentRoute.vehicle_start_time.
.google.protobuf.Timestamp earliest_vehicle_start_time = 4;
The earliestVehicleStartTime.
getEarliestVehicleStartTimeOrBuilder()
publicTimestampOrBuildergetEarliestVehicleStartTimeOrBuilder()The earliest start time for a used vehicle, computed as the minimum over all used vehicles of ShipmentRoute.vehicle_start_time.
.google.protobuf.Timestamp earliest_vehicle_start_time = 4;
getLatestVehicleEndTime()
publicTimestampgetLatestVehicleEndTime()The latest end time for a used vehicle, computed as the maximum over all used vehicles of ShipmentRoute.vehicle_end_time.
.google.protobuf.Timestamp latest_vehicle_end_time = 5;
The latestVehicleEndTime.
getLatestVehicleEndTimeOrBuilder()
publicTimestampOrBuildergetLatestVehicleEndTimeOrBuilder()The latest end time for a used vehicle, computed as the maximum over all used vehicles of ShipmentRoute.vehicle_end_time.
.google.protobuf.Timestamp latest_vehicle_end_time = 5;
getParserForType()
publicParser<OptimizeToursResponse.Metrics>getParserForType()getSerializedSize()
publicintgetSerializedSize()getSkippedMandatoryShipmentCount()
publicintgetSkippedMandatoryShipmentCount()Number of mandatory shipments skipped.
int32 skipped_mandatory_shipment_count = 2;
The skippedMandatoryShipmentCount.
getTotalCost()
publicdoublegetTotalCost()Total cost of the solution. The sum of all values in the costs map.
double total_cost = 6;
The totalCost.
getUnknownFields()
publicfinalUnknownFieldSetgetUnknownFields()getUsedVehicleCount()
publicintgetUsedVehicleCount()Number of vehicles used. Note: if a vehicle route is empty and Vehicle.used_if_route_is_empty is true, the vehicle is considered used.
int32 used_vehicle_count = 3;
The usedVehicleCount.
hasAggregatedRouteMetrics()
publicbooleanhasAggregatedRouteMetrics()Aggregated over the routes. Each metric is the sum (or max, for loads) over all ShipmentRoute.metrics fields of the same name.
.google.cloud.optimization.v1.AggregatedMetrics aggregated_route_metrics = 1;
Whether the aggregatedRouteMetrics field is set.
hasEarliestVehicleStartTime()
publicbooleanhasEarliestVehicleStartTime()The earliest start time for a used vehicle, computed as the minimum over all used vehicles of ShipmentRoute.vehicle_start_time.
.google.protobuf.Timestamp earliest_vehicle_start_time = 4;
Whether the earliestVehicleStartTime field is set.
hasLatestVehicleEndTime()
publicbooleanhasLatestVehicleEndTime()The latest end time for a used vehicle, computed as the maximum over all used vehicles of ShipmentRoute.vehicle_end_time.
.google.protobuf.Timestamp latest_vehicle_end_time = 5;
Whether the latestVehicleEndTime field is set.
hashCode()
publicinthashCode()internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()internalGetMapField(int number)
protectedMapFieldinternalGetMapField(intnumber)isInitialized()
publicfinalbooleanisInitialized()newBuilderForType()
publicOptimizeToursResponse.Metrics.BuildernewBuilderForType()newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedOptimizeToursResponse.Metrics.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)toBuilder()
publicOptimizeToursResponse.Metrics.BuildertoBuilder()writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)