Class ShipmentModel.DurationDistanceMatrix.Row.Builder (1.3.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 ShipmentModel.DurationDistanceMatrix.Row.BuilderextendsGeneratedMessageV3.Builder<ShipmentModel.DurationDistanceMatrix.Row.Builder>implementsShipmentModel.DurationDistanceMatrix.RowOrBuilderSpecifies a row of the duration and distance matrix.
Protobuf type google.cloud.optimization.v1.ShipmentModel.DurationDistanceMatrix.Row
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ShipmentModel.DurationDistanceMatrix.Row.BuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()Methods
addAllDurations(Iterable<? extends Duration> values)
publicShipmentModel.DurationDistanceMatrix.Row.BuilderaddAllDurations(Iterable<?extendsDuration>values)Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
addAllMeters(Iterable<? extends Double> values)
publicShipmentModel.DurationDistanceMatrix.Row.BuilderaddAllMeters(Iterable<?extendsDouble>values) Distance values for a given row. If no costs or constraints refer to
distances in the model, this can be left empty; otherwise it must have
as many elements as durations.
repeated double meters = 2;
This builder for chaining.
addDurations(Duration value)
publicShipmentModel.DurationDistanceMatrix.Row.BuilderaddDurations(Durationvalue)Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
addDurations(Duration.Builder builderForValue)
publicShipmentModel.DurationDistanceMatrix.Row.BuilderaddDurations(Duration.BuilderbuilderForValue)Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
addDurations(int index, Duration value)
publicShipmentModel.DurationDistanceMatrix.Row.BuilderaddDurations(intindex,Durationvalue)Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
addDurations(int index, Duration.Builder builderForValue)
publicShipmentModel.DurationDistanceMatrix.Row.BuilderaddDurations(intindex,Duration.BuilderbuilderForValue)Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
addDurationsBuilder()
publicDuration.BuilderaddDurationsBuilder()Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
addDurationsBuilder(int index)
publicDuration.BuilderaddDurationsBuilder(intindex)Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
addMeters(double value)
publicShipmentModel.DurationDistanceMatrix.Row.BuilderaddMeters(doublevalue) Distance values for a given row. If no costs or constraints refer to
distances in the model, this can be left empty; otherwise it must have
as many elements as durations.
repeated double meters = 2;
This builder for chaining.
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicShipmentModel.DurationDistanceMatrix.Row.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)build()
publicShipmentModel.DurationDistanceMatrix.Rowbuild()buildPartial()
publicShipmentModel.DurationDistanceMatrix.RowbuildPartial()clear()
publicShipmentModel.DurationDistanceMatrix.Row.Builderclear()clearDurations()
publicShipmentModel.DurationDistanceMatrix.Row.BuilderclearDurations()Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
clearField(Descriptors.FieldDescriptor field)
publicShipmentModel.DurationDistanceMatrix.Row.BuilderclearField(Descriptors.FieldDescriptorfield)clearMeters()
publicShipmentModel.DurationDistanceMatrix.Row.BuilderclearMeters() Distance values for a given row. If no costs or constraints refer to
distances in the model, this can be left empty; otherwise it must have
as many elements as durations.
repeated double meters = 2;
This builder for chaining.
clearOneof(Descriptors.OneofDescriptor oneof)
publicShipmentModel.DurationDistanceMatrix.Row.BuilderclearOneof(Descriptors.OneofDescriptoroneof)clone()
publicShipmentModel.DurationDistanceMatrix.Row.Builderclone()getDefaultInstanceForType()
publicShipmentModel.DurationDistanceMatrix.RowgetDefaultInstanceForType()getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()getDurations(int index)
publicDurationgetDurations(intindex)Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
getDurationsBuilder(int index)
publicDuration.BuildergetDurationsBuilder(intindex)Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
getDurationsBuilderList()
publicList<Duration.Builder>getDurationsBuilderList()Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
getDurationsCount()
publicintgetDurationsCount()Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
getDurationsList()
publicList<Duration>getDurationsList()Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
getDurationsOrBuilder(int index)
publicDurationOrBuildergetDurationsOrBuilder(intindex)Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
getDurationsOrBuilderList()
publicList<?extendsDurationOrBuilder>getDurationsOrBuilderList()Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
getMeters(int index)
publicdoublegetMeters(intindex) Distance values for a given row. If no costs or constraints refer to
distances in the model, this can be left empty; otherwise it must have
as many elements as durations.
repeated double meters = 2;
The meters at the given index.
getMetersCount()
publicintgetMetersCount() Distance values for a given row. If no costs or constraints refer to
distances in the model, this can be left empty; otherwise it must have
as many elements as durations.
repeated double meters = 2;
The count of meters.
getMetersList()
publicList<Double>getMetersList() Distance values for a given row. If no costs or constraints refer to
distances in the model, this can be left empty; otherwise it must have
as many elements as durations.
repeated double meters = 2;
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()mergeFrom(ShipmentModel.DurationDistanceMatrix.Row other)
publicShipmentModel.DurationDistanceMatrix.Row.BuildermergeFrom(ShipmentModel.DurationDistanceMatrix.Rowother)mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicShipmentModel.DurationDistanceMatrix.Row.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)mergeFrom(Message other)
publicShipmentModel.DurationDistanceMatrix.Row.BuildermergeFrom(Messageother)mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalShipmentModel.DurationDistanceMatrix.Row.BuildermergeUnknownFields(UnknownFieldSetunknownFields)removeDurations(int index)
publicShipmentModel.DurationDistanceMatrix.Row.BuilderremoveDurations(intindex)Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
setDurations(int index, Duration value)
publicShipmentModel.DurationDistanceMatrix.Row.BuildersetDurations(intindex,Durationvalue)Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
setDurations(int index, Duration.Builder builderForValue)
publicShipmentModel.DurationDistanceMatrix.Row.BuildersetDurations(intindex,Duration.BuilderbuilderForValue)Duration values for a given row. It must have as many elements as ShipmentModel.duration_distance_matrix_dst_tags.
repeated .google.protobuf.Duration durations = 1;
setField(Descriptors.FieldDescriptor field, Object value)
publicShipmentModel.DurationDistanceMatrix.Row.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)setMeters(int index, double value)
publicShipmentModel.DurationDistanceMatrix.Row.BuildersetMeters(intindex,doublevalue) Distance values for a given row. If no costs or constraints refer to
distances in the model, this can be left empty; otherwise it must have
as many elements as durations.
repeated double meters = 2;
This builder for chaining.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicShipmentModel.DurationDistanceMatrix.Row.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)setUnknownFields(UnknownFieldSet unknownFields)
publicfinalShipmentModel.DurationDistanceMatrix.Row.BuildersetUnknownFields(UnknownFieldSetunknownFields)