Class Vehicle.LoadLimit.Builder (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
publicstaticfinalclass Vehicle.LoadLimit.BuilderextendsGeneratedMessageV3.Builder<Vehicle.LoadLimit.Builder>implementsVehicle.LoadLimitOrBuilderDefines a load limit applying to a vehicle, e.g. "this truck may only carry up to 3500 kg". See load_limits.
Protobuf type google.cloud.optimization.v1.Vehicle.LoadLimit
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Vehicle.LoadLimit.BuilderImplements
Vehicle.LoadLimitOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicVehicle.LoadLimit.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)build()
publicVehicle.LoadLimitbuild()buildPartial()
publicVehicle.LoadLimitbuildPartial()clear()
publicVehicle.LoadLimit.Builderclear()clearCostPerUnitAboveSoftMax()
publicVehicle.LoadLimit.BuilderclearCostPerUnitAboveSoftMax()If the load ever exceeds soft_max_load along this vehicle's route, the following cost penalty applies (only once per vehicle): (load - soft_max_load) * cost_per_unit_above_soft_max. All costs add up and must be in the same unit as Shipment.penalty_cost.
double cost_per_unit_above_soft_max = 3;
This builder for chaining.
clearEndLoadInterval()
publicVehicle.LoadLimit.BuilderclearEndLoadInterval()The acceptable load interval of the vehicle at the end of the route.
.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5;
clearField(Descriptors.FieldDescriptor field)
publicVehicle.LoadLimit.BuilderclearField(Descriptors.FieldDescriptorfield)clearMaxLoad()
publicVehicle.LoadLimit.BuilderclearMaxLoad()The maximum acceptable amount of load.
optional int64 max_load = 1;
This builder for chaining.
clearOneof(Descriptors.OneofDescriptor oneof)
publicVehicle.LoadLimit.BuilderclearOneof(Descriptors.OneofDescriptoroneof)clearSoftMaxLoad()
publicVehicle.LoadLimit.BuilderclearSoftMaxLoad()A soft limit of the load. See cost_per_unit_above_soft_max.
int64 soft_max_load = 2;
This builder for chaining.
clearStartLoadInterval()
publicVehicle.LoadLimit.BuilderclearStartLoadInterval()The acceptable load interval of the vehicle at the start of the route.
.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4;
clone()
publicVehicle.LoadLimit.Builderclone()getCostPerUnitAboveSoftMax()
publicdoublegetCostPerUnitAboveSoftMax()If the load ever exceeds soft_max_load along this vehicle's route, the following cost penalty applies (only once per vehicle): (load - soft_max_load) * cost_per_unit_above_soft_max. All costs add up and must be in the same unit as Shipment.penalty_cost.
double cost_per_unit_above_soft_max = 3;
The costPerUnitAboveSoftMax.
getDefaultInstanceForType()
publicVehicle.LoadLimitgetDefaultInstanceForType()getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()getEndLoadInterval()
publicVehicle.LoadLimit.IntervalgetEndLoadInterval()The acceptable load interval of the vehicle at the end of the route.
.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5;
The endLoadInterval.
getEndLoadIntervalBuilder()
publicVehicle.LoadLimit.Interval.BuildergetEndLoadIntervalBuilder()The acceptable load interval of the vehicle at the end of the route.
.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5;
getEndLoadIntervalOrBuilder()
publicVehicle.LoadLimit.IntervalOrBuildergetEndLoadIntervalOrBuilder()The acceptable load interval of the vehicle at the end of the route.
.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5;
getMaxLoad()
publiclonggetMaxLoad()The maximum acceptable amount of load.
optional int64 max_load = 1;
The maxLoad.
getSoftMaxLoad()
publiclonggetSoftMaxLoad()A soft limit of the load. See cost_per_unit_above_soft_max.
int64 soft_max_load = 2;
The softMaxLoad.
getStartLoadInterval()
publicVehicle.LoadLimit.IntervalgetStartLoadInterval()The acceptable load interval of the vehicle at the start of the route.
.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4;
The startLoadInterval.
getStartLoadIntervalBuilder()
publicVehicle.LoadLimit.Interval.BuildergetStartLoadIntervalBuilder()The acceptable load interval of the vehicle at the start of the route.
.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4;
getStartLoadIntervalOrBuilder()
publicVehicle.LoadLimit.IntervalOrBuildergetStartLoadIntervalOrBuilder()The acceptable load interval of the vehicle at the start of the route.
.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4;
hasEndLoadInterval()
publicbooleanhasEndLoadInterval()The acceptable load interval of the vehicle at the end of the route.
.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5;
Whether the endLoadInterval field is set.
hasMaxLoad()
publicbooleanhasMaxLoad()The maximum acceptable amount of load.
optional int64 max_load = 1;
Whether the maxLoad field is set.
hasStartLoadInterval()
publicbooleanhasStartLoadInterval()The acceptable load interval of the vehicle at the start of the route.
.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4;
Whether the startLoadInterval field is set.
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()mergeEndLoadInterval(Vehicle.LoadLimit.Interval value)
publicVehicle.LoadLimit.BuildermergeEndLoadInterval(Vehicle.LoadLimit.Intervalvalue)The acceptable load interval of the vehicle at the end of the route.
.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5;
mergeFrom(Vehicle.LoadLimit other)
publicVehicle.LoadLimit.BuildermergeFrom(Vehicle.LoadLimitother)mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicVehicle.LoadLimit.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)mergeFrom(Message other)
publicVehicle.LoadLimit.BuildermergeFrom(Messageother)mergeStartLoadInterval(Vehicle.LoadLimit.Interval value)
publicVehicle.LoadLimit.BuildermergeStartLoadInterval(Vehicle.LoadLimit.Intervalvalue)The acceptable load interval of the vehicle at the start of the route.
.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4;
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalVehicle.LoadLimit.BuildermergeUnknownFields(UnknownFieldSetunknownFields)setCostPerUnitAboveSoftMax(double value)
publicVehicle.LoadLimit.BuildersetCostPerUnitAboveSoftMax(doublevalue)If the load ever exceeds soft_max_load along this vehicle's route, the following cost penalty applies (only once per vehicle): (load - soft_max_load) * cost_per_unit_above_soft_max. All costs add up and must be in the same unit as Shipment.penalty_cost.
double cost_per_unit_above_soft_max = 3;
This builder for chaining.
setEndLoadInterval(Vehicle.LoadLimit.Interval value)
publicVehicle.LoadLimit.BuildersetEndLoadInterval(Vehicle.LoadLimit.Intervalvalue)The acceptable load interval of the vehicle at the end of the route.
.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5;
setEndLoadInterval(Vehicle.LoadLimit.Interval.Builder builderForValue)
publicVehicle.LoadLimit.BuildersetEndLoadInterval(Vehicle.LoadLimit.Interval.BuilderbuilderForValue)The acceptable load interval of the vehicle at the end of the route.
.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval end_load_interval = 5;
setField(Descriptors.FieldDescriptor field, Object value)
publicVehicle.LoadLimit.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)setMaxLoad(long value)
publicVehicle.LoadLimit.BuildersetMaxLoad(longvalue)The maximum acceptable amount of load.
optional int64 max_load = 1;
This builder for chaining.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicVehicle.LoadLimit.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)setSoftMaxLoad(long value)
publicVehicle.LoadLimit.BuildersetSoftMaxLoad(longvalue)A soft limit of the load. See cost_per_unit_above_soft_max.
int64 soft_max_load = 2;
This builder for chaining.
setStartLoadInterval(Vehicle.LoadLimit.Interval value)
publicVehicle.LoadLimit.BuildersetStartLoadInterval(Vehicle.LoadLimit.Intervalvalue)The acceptable load interval of the vehicle at the start of the route.
.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4;
setStartLoadInterval(Vehicle.LoadLimit.Interval.Builder builderForValue)
publicVehicle.LoadLimit.BuildersetStartLoadInterval(Vehicle.LoadLimit.Interval.BuilderbuilderForValue)The acceptable load interval of the vehicle at the start of the route.
.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval start_load_interval = 4;
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalVehicle.LoadLimit.BuildersetUnknownFields(UnknownFieldSetunknownFields)