double total_cost = 11 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.AggregatedMetrics.total_cost is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=2206
* @return The totalCost.
*/
@java.lang.Override
@@ -880,14 +884,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (totalDuration_ != null) {
output.writeMessage(7, getTotalDuration());
}
- if (travelDistanceMeters_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(travelDistanceMeters_) != 0) {
output.writeDouble(8, travelDistanceMeters_);
}
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
output, internalGetMaxLoads(), MaxLoadsDefaultEntryHolder.defaultEntry, 9);
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
output, internalGetCosts(), CostsDefaultEntryHolder.defaultEntry, 10);
- if (totalCost_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(totalCost_) != 0) {
output.writeDouble(11, totalCost_);
}
unknownFields.writeTo(output);
@@ -920,7 +924,7 @@ public int getSerializedSize() {
if (totalDuration_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getTotalDuration());
}
- if (travelDistanceMeters_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(travelDistanceMeters_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(8, travelDistanceMeters_);
}
for (java.util.Map.Entry<
@@ -946,7 +950,7 @@ public int getSerializedSize() {
.build();
size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, costs__);
}
- if (totalCost_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(totalCost_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(11, totalCost_);
}
size += unknownFields.getSerializedSize();
@@ -2728,7 +2732,7 @@ public int getMaxLoadsCount() {
@java.lang.Override
public boolean containsMaxLoads(java.lang.String key) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
return internalGetMaxLoads().getMap().containsKey(key);
}
@@ -2783,7 +2787,7 @@ public com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad getMaxLoadsOrD
java.lang.String key,
com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad defaultValue) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
java.util.Mapdouble total_cost = 11 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.AggregatedMetrics.total_cost is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=2206
* @return The totalCost.
*/
@java.lang.Override
@@ -3092,6 +3099,8 @@ public double getTotalCost() {
*
* double total_cost = 11 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.AggregatedMetrics.total_cost is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=2206
* @param value The totalCost to set.
* @return This builder for chaining.
*/
@@ -3111,6 +3120,8 @@ public Builder setTotalCost(double value) {
*
* double total_cost = 11 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.AggregatedMetrics.total_cost is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=2206
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AggregatedMetricsOrBuilder.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AggregatedMetricsOrBuilder.java
index 4f2237b..53f352d 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AggregatedMetricsOrBuilder.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AggregatedMetricsOrBuilder.java
@@ -334,8 +334,11 @@ public interface AggregatedMetricsOrBuilder
* map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> max_loads = 9;
*
*/
+
+ /* nullable */
com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad getMaxLoadsOrDefault(
java.lang.String key,
+ /* nullable */
com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad defaultValue);
/**
*
@@ -423,6 +426,8 @@ com.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad getMaxLoadsOrThrow(
*
* double total_cost = 11 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.AggregatedMetrics.total_cost is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=2206
* @return The totalCost.
*/
@java.lang.Deprecated
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AsyncModelMetadata.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AsyncModelMetadata.java
index 84beed4..13b4f3a 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AsyncModelMetadata.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/AsyncModelMetadata.java
@@ -126,6 +126,8 @@ private AsyncModelMetadata(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/BatchOptimizeToursRequest.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/BatchOptimizeToursRequest.java
index 7612c3b..24cf698 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/BatchOptimizeToursRequest.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/BatchOptimizeToursRequest.java
@@ -110,6 +110,8 @@ private BatchOptimizeToursRequest(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -377,6 +379,8 @@ private AsyncModelConfig(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/BatchOptimizeToursResponse.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/BatchOptimizeToursResponse.java
index b9fb397..daccb80 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/BatchOptimizeToursResponse.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/BatchOptimizeToursResponse.java
@@ -80,6 +80,8 @@ private BatchOptimizeToursResponse(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/BreakRule.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/BreakRule.java
index 3c6cbae..e0d9899 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/BreakRule.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/BreakRule.java
@@ -119,6 +119,8 @@ private BreakRule(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -383,6 +385,8 @@ private BreakRequest(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -1829,6 +1833,8 @@ private FrequencyConstraint(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/CapacityQuantity.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/CapacityQuantity.java
index 7544a26..767c00b 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/CapacityQuantity.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/CapacityQuantity.java
@@ -94,6 +94,8 @@ private CapacityQuantity(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/CapacityQuantityInterval.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/CapacityQuantityInterval.java
index 7eb437c..22a8864 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/CapacityQuantityInterval.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/CapacityQuantityInterval.java
@@ -102,6 +102,8 @@ private CapacityQuantityInterval(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/DistanceLimit.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/DistanceLimit.java
index c7c19e6..caf4e6f 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/DistanceLimit.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/DistanceLimit.java
@@ -101,6 +101,8 @@ private DistanceLimit(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/GcsDestination.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/GcsDestination.java
index ece7e58..57877ec 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/GcsDestination.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/GcsDestination.java
@@ -88,6 +88,8 @@ private GcsDestination(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/GcsSource.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/GcsSource.java
index aca51c8..dfcc8f1 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/GcsSource.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/GcsSource.java
@@ -88,6 +88,8 @@ private GcsSource(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/InjectedSolutionConstraint.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/InjectedSolutionConstraint.java
index 7e2e767..0b9f636 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/InjectedSolutionConstraint.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/InjectedSolutionConstraint.java
@@ -125,6 +125,8 @@ private InjectedSolutionConstraint(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -411,6 +413,8 @@ private ConstraintRelaxation(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -654,6 +658,8 @@ private Relaxation(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(this);
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/InputConfig.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/InputConfig.java
index badfa1b..62935f8 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/InputConfig.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/InputConfig.java
@@ -104,6 +104,8 @@ private InputConfig(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -754,8 +756,9 @@ public Builder mergeGcsSource(com.google.cloud.optimization.v1.GcsSource value)
} else {
if (sourceCase_ == 1) {
gcsSourceBuilder_.mergeFrom(value);
+ } else {
+ gcsSourceBuilder_.setMessage(value);
}
- gcsSourceBuilder_.setMessage(value);
}
sourceCase_ = 1;
return this;
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Location.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Location.java
index f3d5a4f..f806630 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Location.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Location.java
@@ -100,6 +100,8 @@ private Location(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursRequest.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursRequest.java
index 7fbd3a0..a94061f 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursRequest.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursRequest.java
@@ -235,6 +235,8 @@ private OptimizeToursRequest(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -1539,6 +1541,8 @@ public com.google.protobuf.ByteString getLabelBytes() {
*
* bool populate_travel_step_polylines = 20 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.OptimizeToursRequest.populate_travel_step_polylines is
+ * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=327
* @return The populateTravelStepPolylines.
*/
@java.lang.Override
@@ -5407,6 +5411,8 @@ public Builder setLabelBytes(com.google.protobuf.ByteString value) {
*
* bool populate_travel_step_polylines = 20 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.OptimizeToursRequest.populate_travel_step_polylines
+ * is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=327
* @return The populateTravelStepPolylines.
*/
@java.lang.Override
@@ -5426,6 +5432,8 @@ public boolean getPopulateTravelStepPolylines() {
*
* bool populate_travel_step_polylines = 20 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.OptimizeToursRequest.populate_travel_step_polylines
+ * is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=327
* @param value The populateTravelStepPolylines to set.
* @return This builder for chaining.
*/
@@ -5448,6 +5456,8 @@ public Builder setPopulateTravelStepPolylines(boolean value) {
*
* bool populate_travel_step_polylines = 20 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.OptimizeToursRequest.populate_travel_step_polylines
+ * is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=327
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursRequestOrBuilder.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursRequestOrBuilder.java
index a62924a..d3d4bfa 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursRequestOrBuilder.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursRequestOrBuilder.java
@@ -764,6 +764,8 @@ com.google.cloud.optimization.v1.ShipmentRouteOrBuilder getRefreshDetailsRoutesO
*
* bool populate_travel_step_polylines = 20 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.OptimizeToursRequest.populate_travel_step_polylines is
+ * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=327
* @return The populateTravelStepPolylines.
*/
@java.lang.Deprecated
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursResponse.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursResponse.java
index 95a8e48..a648f44 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursResponse.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursResponse.java
@@ -155,6 +155,8 @@ private OptimizeToursResponse(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -580,6 +582,8 @@ private Metrics(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -851,7 +855,7 @@ public int getCostsCount() {
@java.lang.Override
public boolean containsCosts(java.lang.String key) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
return internalGetCosts().getMap().containsKey(key);
}
@@ -902,7 +906,7 @@ public java.util.Mapdouble total_cost = 2 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=394
* @return The totalCost.
*/
@java.lang.Override
@@ -2846,7 +2852,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < routes_.size(); i++) {
output.writeMessage(1, routes_.get(i));
}
- if (totalCost_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(totalCost_) != 0) {
output.writeDouble(2, totalCost_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestLabel_)) {
@@ -2873,7 +2879,7 @@ public int getSerializedSize() {
for (int i = 0; i < routes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, routes_.get(i));
}
- if (totalCost_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(totalCost_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, totalCost_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestLabel_)) {
@@ -4849,6 +4855,8 @@ public Builder clearMetrics() {
*
* double total_cost = 2 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=394
* @return The totalCost.
*/
@java.lang.Override
@@ -4868,6 +4876,8 @@ public double getTotalCost() {
*
* double total_cost = 2 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=394
* @param value The totalCost to set.
* @return This builder for chaining.
*/
@@ -4890,6 +4900,8 @@ public Builder setTotalCost(double value) {
*
* double total_cost = 2 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=394
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursResponseOrBuilder.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursResponseOrBuilder.java
index 32018f9..b78e2c9 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursResponseOrBuilder.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursResponseOrBuilder.java
@@ -280,6 +280,8 @@ public interface OptimizeToursResponseOrBuilder
*
* double total_cost = 2 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=394
* @return The totalCost.
*/
@java.lang.Deprecated
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursValidationError.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursValidationError.java
index c6b7ade..8ec5b32 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursValidationError.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OptimizeToursValidationError.java
@@ -127,6 +127,8 @@ private OptimizeToursValidationError(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -360,8 +362,8 @@ private FieldReference(
}
case 16:
{
- indexOrKeyCase_ = 2;
indexOrKey_ = input.readInt32();
+ indexOrKeyCase_ = 2;
break;
}
case 26:
@@ -401,6 +403,8 @@ private FieldReference(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OutputConfig.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OutputConfig.java
index 1e7fa29..5e9d5c9 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OutputConfig.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/OutputConfig.java
@@ -106,6 +106,8 @@ private OutputConfig(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -749,8 +751,9 @@ public Builder mergeGcsDestination(com.google.cloud.optimization.v1.GcsDestinati
} else {
if (destinationCase_ == 1) {
gcsDestinationBuilder_.mergeFrom(value);
+ } else {
+ gcsDestinationBuilder_.setMessage(value);
}
- gcsDestinationBuilder_.setMessage(value);
}
destinationCase_ = 1;
return this;
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Shipment.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Shipment.java
index 835cfb0..82a189c 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Shipment.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Shipment.java
@@ -281,6 +281,8 @@ private Shipment(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -786,8 +788,12 @@ public interface VisitRequestOrBuilder
* map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 12;
*
*/
+
+ /* nullable */
com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault(
- java.lang.String key, com.google.cloud.optimization.v1.Shipment.Load defaultValue);
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.optimization.v1.Shipment.Load defaultValue);
/**
*
*
@@ -1183,6 +1189,8 @@ private VisitRequest(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -1759,7 +1767,7 @@ public int getLoadDemandsCount() {
@java.lang.Override
public boolean containsLoadDemands(java.lang.String key) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
return internalGetLoadDemands().getMap().containsKey(key);
}
@@ -1807,7 +1815,7 @@ public boolean containsLoadDemands(java.lang.String key) {
public com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault(
java.lang.String key, com.google.cloud.optimization.v1.Shipment.Load defaultValue) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
java.util.Mapmap<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 14;
*/
+
+ /* nullable */
com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault(
- java.lang.String key, com.google.cloud.optimization.v1.Shipment.Load defaultValue);
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.optimization.v1.Shipment.Load defaultValue);
/**
*
*
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentRoute.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentRoute.java
index 37ed537..72c0ed5 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentRoute.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentRoute.java
@@ -365,6 +365,8 @@ private ShipmentRoute(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -584,6 +586,8 @@ private Delay(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -1631,8 +1635,12 @@ public interface VisitOrBuilder
* map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 11;
*
*/
+
+ /* nullable */
com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault(
- java.lang.String key, com.google.cloud.optimization.v1.Shipment.Load defaultValue);
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.optimization.v1.Shipment.Load defaultValue);
/**
*
*
@@ -1885,6 +1893,8 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault(
* .google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_start = 10 [deprecated = true];
*
*
+ * @deprecated google.cloud.optimization.v1.ShipmentRoute.Visit.delay_before_start is
+ * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1824
* @return Whether the delayBeforeStart field is set.
*/
@java.lang.Deprecated
@@ -1900,6 +1910,8 @@ com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault(
* .google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_start = 10 [deprecated = true];
*
*
+ * @deprecated google.cloud.optimization.v1.ShipmentRoute.Visit.delay_before_start is
+ * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1824
* @return The delayBeforeStart.
*/
@java.lang.Deprecated
@@ -2172,6 +2184,8 @@ private Visit(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -2371,7 +2385,7 @@ public int getLoadDemandsCount() {
@java.lang.Override
public boolean containsLoadDemands(java.lang.String key) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
return internalGetLoadDemands().getMap().containsKey(key);
}
@@ -2419,7 +2433,7 @@ public boolean containsLoadDemands(java.lang.String key) {
public com.google.cloud.optimization.v1.Shipment.Load getLoadDemandsOrDefault(
java.lang.String key, com.google.cloud.optimization.v1.Shipment.Load defaultValue) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
java.util.Map.google.protobuf.Duration vehicle_detour = 15 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.ShipmentRoute.vehicle_detour is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=2052
* @return Whether the vehicleDetour field is set.
*/
@java.lang.Override
@@ -14737,6 +14776,8 @@ public boolean hasVehicleDetour() {
*
* .google.protobuf.Duration vehicle_detour = 15 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.ShipmentRoute.vehicle_detour is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=2052
* @return The vehicleDetour.
*/
@java.lang.Override
@@ -14781,6 +14822,8 @@ public com.google.protobuf.DurationOrBuilder getVehicleDetourOrBuilder() {
* .google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_vehicle_end = 16 [deprecated = true];
*
*
+ * @deprecated google.cloud.optimization.v1.ShipmentRoute.delay_before_vehicle_end is deprecated.
+ * See google/cloud/optimization/v1/fleet_routing.proto;l=2057
* @return Whether the delayBeforeVehicleEnd field is set.
*/
@java.lang.Override
@@ -14801,6 +14844,8 @@ public boolean hasDelayBeforeVehicleEnd() {
* .google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_vehicle_end = 16 [deprecated = true];
*
*
+ * @deprecated google.cloud.optimization.v1.ShipmentRoute.delay_before_vehicle_end is deprecated.
+ * See google/cloud/optimization/v1/fleet_routing.proto;l=2057
* @return The delayBeforeVehicleEnd.
*/
@java.lang.Override
@@ -14888,7 +14933,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
output, internalGetRouteCosts(), RouteCostsDefaultEntryHolder.defaultEntry, 17);
- if (routeTotalCost_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(routeTotalCost_) != 0) {
output.writeDouble(18, routeTotalCost_);
}
unknownFields.writeTo(output);
@@ -14953,7 +14998,7 @@ public int getSerializedSize() {
.build();
size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, routeCosts__);
}
- if (routeTotalCost_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(routeTotalCost_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(18, routeTotalCost_);
}
size += unknownFields.getSerializedSize();
@@ -18004,7 +18049,7 @@ public int getRouteCostsCount() {
@java.lang.Override
public boolean containsRouteCosts(java.lang.String key) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
return internalGetRouteCosts().getMap().containsKey(key);
}
@@ -18053,7 +18098,7 @@ public java.util.Map.google.protobuf.Duration vehicle_detour = 15 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.ShipmentRoute.vehicle_detour is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=2052
* @return Whether the vehicleDetour field is set.
*/
@java.lang.Deprecated
@@ -19190,6 +19237,8 @@ public boolean hasVehicleDetour() {
*
* .google.protobuf.Duration vehicle_detour = 15 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.ShipmentRoute.vehicle_detour is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=2052
* @return The vehicleDetour.
*/
@java.lang.Deprecated
@@ -19407,6 +19456,8 @@ public com.google.protobuf.DurationOrBuilder getVehicleDetourOrBuilder() {
* .google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_vehicle_end = 16 [deprecated = true];
*
*
+ * @deprecated google.cloud.optimization.v1.ShipmentRoute.delay_before_vehicle_end is
+ * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=2057
* @return Whether the delayBeforeVehicleEnd field is set.
*/
@java.lang.Deprecated
@@ -19426,6 +19477,8 @@ public boolean hasDelayBeforeVehicleEnd() {
* .google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_vehicle_end = 16 [deprecated = true];
*
*
+ * @deprecated google.cloud.optimization.v1.ShipmentRoute.delay_before_vehicle_end is
+ * deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=2057
* @return The delayBeforeVehicleEnd.
*/
@java.lang.Deprecated
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentRouteOrBuilder.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentRouteOrBuilder.java
index 80b78c1..9e7bf03 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentRouteOrBuilder.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentRouteOrBuilder.java
@@ -704,6 +704,8 @@ com.google.cloud.optimization.v1.ShipmentRoute.TravelStepOrBuilder getTravelStep
*
* .google.protobuf.Duration vehicle_detour = 15 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.ShipmentRoute.vehicle_detour is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=2052
* @return Whether the vehicleDetour field is set.
*/
@java.lang.Deprecated
@@ -722,6 +724,8 @@ com.google.cloud.optimization.v1.ShipmentRoute.TravelStepOrBuilder getTravelStep
*
* .google.protobuf.Duration vehicle_detour = 15 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.ShipmentRoute.vehicle_detour is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=2052
* @return The vehicleDetour.
*/
@java.lang.Deprecated
@@ -756,6 +760,8 @@ com.google.cloud.optimization.v1.ShipmentRoute.TravelStepOrBuilder getTravelStep
* .google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_vehicle_end = 16 [deprecated = true];
*
*
+ * @deprecated google.cloud.optimization.v1.ShipmentRoute.delay_before_vehicle_end is deprecated.
+ * See google/cloud/optimization/v1/fleet_routing.proto;l=2057
* @return Whether the delayBeforeVehicleEnd field is set.
*/
@java.lang.Deprecated
@@ -773,6 +779,8 @@ com.google.cloud.optimization.v1.ShipmentRoute.TravelStepOrBuilder getTravelStep
* .google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_vehicle_end = 16 [deprecated = true];
*
*
+ * @deprecated google.cloud.optimization.v1.ShipmentRoute.delay_before_vehicle_end is deprecated.
+ * See google/cloud/optimization/v1/fleet_routing.proto;l=2057
* @return The delayBeforeVehicleEnd.
*/
@java.lang.Deprecated
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentTypeIncompatibility.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentTypeIncompatibility.java
index ce5e796..a70ac33 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentTypeIncompatibility.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentTypeIncompatibility.java
@@ -102,6 +102,8 @@ private ShipmentTypeIncompatibility(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentTypeRequirement.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentTypeRequirement.java
index aaa20f0..4045d89 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentTypeRequirement.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/ShipmentTypeRequirement.java
@@ -112,6 +112,8 @@ private ShipmentTypeRequirement(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/SkippedShipment.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/SkippedShipment.java
index f4ac03d..6d6fbcc 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/SkippedShipment.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/SkippedShipment.java
@@ -111,6 +111,8 @@ private SkippedShipment(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -331,6 +333,8 @@ private Reason(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/TimeWindow.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/TimeWindow.java
index b528733..796212e 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/TimeWindow.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/TimeWindow.java
@@ -168,6 +168,8 @@ private TimeWindow(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/TransitionAttributes.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/TransitionAttributes.java
index 30fd580..ffd236f 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/TransitionAttributes.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/TransitionAttributes.java
@@ -155,6 +155,8 @@ private TransitionAttributes(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -566,10 +568,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(excludedDstTag_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, excludedDstTag_);
}
- if (cost_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(cost_) != 0) {
output.writeDouble(5, cost_);
}
- if (costPerKilometer_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(costPerKilometer_) != 0) {
output.writeDouble(6, costPerKilometer_);
}
if (distanceLimit_ != null) {
@@ -599,10 +601,10 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(excludedDstTag_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, excludedDstTag_);
}
- if (cost_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(cost_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, cost_);
}
- if (costPerKilometer_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(costPerKilometer_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(6, costPerKilometer_);
}
if (distanceLimit_ != null) {
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Vehicle.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Vehicle.java
index aa88c8f..0db6793 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Vehicle.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Vehicle.java
@@ -424,6 +424,8 @@ private Vehicle(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -1035,6 +1037,8 @@ private LoadLimit(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -1179,6 +1183,8 @@ private Interval(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(this);
@@ -1993,7 +1999,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (softMaxLoad_ != 0L) {
output.writeInt64(2, softMaxLoad_);
}
- if (costPerUnitAboveSoftMax_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(costPerUnitAboveSoftMax_) != 0) {
output.writeDouble(3, costPerUnitAboveSoftMax_);
}
if (startLoadInterval_ != null) {
@@ -2017,7 +2023,7 @@ public int getSerializedSize() {
if (softMaxLoad_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, softMaxLoad_);
}
- if (costPerUnitAboveSoftMax_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(costPerUnitAboveSoftMax_) != 0) {
size +=
com.google.protobuf.CodedOutputStream.computeDoubleSize(3, costPerUnitAboveSoftMax_);
}
@@ -3374,6 +3380,8 @@ private DurationLimit(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -5807,7 +5815,7 @@ public int getLoadLimitsCount() {
@java.lang.Override
public boolean containsLoadLimits(java.lang.String key) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
return internalGetLoadLimits().getMap().containsKey(key);
}
@@ -5857,7 +5865,7 @@ public boolean containsLoadLimits(java.lang.String key) {
public com.google.cloud.optimization.v1.Vehicle.LoadLimit getLoadLimitsOrDefault(
java.lang.String key, com.google.cloud.optimization.v1.Vehicle.LoadLimit defaultValue) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
java.util.Maprepeated int32 break_rule_indices = 29 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=1379
* @return A list containing the breakRuleIndices.
*/
@java.lang.Override
@@ -6469,6 +6479,8 @@ public java.util.Listrepeated int32 break_rule_indices = 29 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=1379
* @return The count of breakRuleIndices.
*/
@java.lang.Deprecated
@@ -6487,6 +6499,8 @@ public int getBreakRuleIndicesCount() {
*
* repeated int32 break_rule_indices = 29 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=1379
* @param index The index of the element to return.
* @return The breakRuleIndices at the given index.
*/
@@ -6820,16 +6834,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < endLoadIntervals_.size(); i++) {
output.writeMessage(15, endLoadIntervals_.get(i));
}
- if (costPerHour_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(costPerHour_) != 0) {
output.writeDouble(16, costPerHour_);
}
- if (costPerTraveledHour_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(costPerTraveledHour_) != 0) {
output.writeDouble(17, costPerTraveledHour_);
}
- if (costPerKilometer_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(costPerKilometer_) != 0) {
output.writeDouble(18, costPerKilometer_);
}
- if (fixedCost_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(fixedCost_) != 0) {
output.writeDouble(19, fixedCost_);
}
if (usedIfRouteIsEmpty_ != false) {
@@ -6934,16 +6948,16 @@ public int getSerializedSize() {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(15, endLoadIntervals_.get(i));
}
- if (costPerHour_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(costPerHour_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(16, costPerHour_);
}
- if (costPerTraveledHour_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(costPerTraveledHour_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(17, costPerTraveledHour_);
}
- if (costPerKilometer_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(costPerKilometer_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(18, costPerKilometer_);
}
- if (fixedCost_ != 0D) {
+ if (java.lang.Double.doubleToRawLongBits(fixedCost_) != 0) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(19, fixedCost_);
}
if (usedIfRouteIsEmpty_ != false) {
@@ -10547,7 +10561,7 @@ public int getLoadLimitsCount() {
@java.lang.Override
public boolean containsLoadLimits(java.lang.String key) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
return internalGetLoadLimits().getMap().containsKey(key);
}
@@ -10597,7 +10611,7 @@ public boolean containsLoadLimits(java.lang.String key) {
public com.google.cloud.optimization.v1.Vehicle.LoadLimit getLoadLimitsOrDefault(
java.lang.String key, com.google.cloud.optimization.v1.Vehicle.LoadLimit defaultValue) {
if (key == null) {
- throw new java.lang.NullPointerException();
+ throw new NullPointerException("map key");
}
java.util.Maprepeated int32 break_rule_indices = 29 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=1379
* @return A list containing the breakRuleIndices.
*/
@java.lang.Deprecated
@@ -12305,6 +12323,8 @@ public java.util.Listrepeated int32 break_rule_indices = 29 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=1379
* @return The count of breakRuleIndices.
*/
@java.lang.Deprecated
@@ -12323,6 +12343,8 @@ public int getBreakRuleIndicesCount() {
*
* repeated int32 break_rule_indices = 29 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=1379
* @param index The index of the element to return.
* @return The breakRuleIndices at the given index.
*/
@@ -12342,6 +12364,8 @@ public int getBreakRuleIndices(int index) {
*
* repeated int32 break_rule_indices = 29 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=1379
* @param index The index to set the value at.
* @param value The breakRuleIndices to set.
* @return This builder for chaining.
@@ -12365,6 +12389,8 @@ public Builder setBreakRuleIndices(int index, int value) {
*
* repeated int32 break_rule_indices = 29 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=1379
* @param value The breakRuleIndices to add.
* @return This builder for chaining.
*/
@@ -12387,6 +12413,8 @@ public Builder addBreakRuleIndices(int value) {
*
* repeated int32 break_rule_indices = 29 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=1379
* @param values The breakRuleIndices to add.
* @return This builder for chaining.
*/
@@ -12409,6 +12437,8 @@ public Builder addAllBreakRuleIndices(java.lang.Iterable extends java.lang.Int
*
* repeated int32 break_rule_indices = 29 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=1379
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/VehicleOrBuilder.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/VehicleOrBuilder.java
index 238bf3c..5a0e3b6 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/VehicleOrBuilder.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/VehicleOrBuilder.java
@@ -680,8 +680,12 @@ public interface VehicleOrBuilder
* map<string, .google.cloud.optimization.v1.Vehicle.LoadLimit> load_limits = 30;
*
*/
+
+ /* nullable */
com.google.cloud.optimization.v1.Vehicle.LoadLimit getLoadLimitsOrDefault(
- java.lang.String key, com.google.cloud.optimization.v1.Vehicle.LoadLimit defaultValue);
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.optimization.v1.Vehicle.LoadLimit defaultValue);
/**
*
*
@@ -981,8 +985,12 @@ com.google.cloud.optimization.v1.Vehicle.LoadLimit getLoadLimitsOrDefault(
* map<string, .google.protobuf.Duration> extra_visit_duration_for_visit_type = 24;
*
*/
+
+ /* nullable */
com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault(
- java.lang.String key, com.google.protobuf.Duration defaultValue);
+ java.lang.String key,
+ /* nullable */
+ com.google.protobuf.Duration defaultValue);
/**
*
*
@@ -1102,6 +1110,8 @@ com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault(
*
* repeated int32 break_rule_indices = 29 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=1379
* @return A list containing the breakRuleIndices.
*/
@java.lang.Deprecated
@@ -1118,6 +1128,8 @@ com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault(
*
* repeated int32 break_rule_indices = 29 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=1379
* @return The count of breakRuleIndices.
*/
@java.lang.Deprecated
@@ -1134,6 +1146,8 @@ com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault(
*
* repeated int32 break_rule_indices = 29 [deprecated = true];
*
+ * @deprecated google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See
+ * google/cloud/optimization/v1/fleet_routing.proto;l=1379
* @param index The index of the element to return.
* @return The breakRuleIndices at the given index.
*/
diff --git a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Waypoint.java b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Waypoint.java
index 66e0c83..de0b987 100644
--- a/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Waypoint.java
+++ b/proto-google-cloud-optimization-v1/src/main/java/com/google/cloud/optimization/v1/Waypoint.java
@@ -109,6 +109,8 @@ private Waypoint(
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
@@ -840,8 +842,9 @@ public Builder mergeLocation(com.google.cloud.optimization.v1.Location value) {
} else {
if (locationTypeCase_ == 1) {
locationBuilder_.mergeFrom(value);
+ } else {
+ locationBuilder_.setMessage(value);
}
- locationBuilder_.setMessage(value);
}
locationTypeCase_ = 1;
return this;
From 0a6be1ce6277a213e1d2b674a1c148a348f0f950 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate {@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (FleetRoutingClient fleetRoutingClient = FleetRoutingClient.create()) {
* OptimizeToursRequest request =
* OptimizeToursRequest.newBuilder()
@@ -100,6 +102,8 @@
* To customize credentials:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* FleetRoutingSettings fleetRoutingSettings =
* FleetRoutingSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -110,6 +114,8 @@
* To customize the endpoint:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* FleetRoutingSettings fleetRoutingSettings =
* FleetRoutingSettings.newBuilder().setEndpoint(myEndpoint).build();
* FleetRoutingClient fleetRoutingClient = FleetRoutingClient.create(fleetRoutingSettings);
@@ -198,6 +204,8 @@ public final OperationsClient getOperationsClient() {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (FleetRoutingClient fleetRoutingClient = FleetRoutingClient.create()) {
* OptimizeToursRequest request =
* OptimizeToursRequest.newBuilder()
@@ -247,6 +255,8 @@ public final OptimizeToursResponse optimizeTours(OptimizeToursRequest request) {
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (FleetRoutingClient fleetRoutingClient = FleetRoutingClient.create()) {
* OptimizeToursRequest request =
* OptimizeToursRequest.newBuilder()
@@ -292,6 +302,8 @@ public final UnaryCallable optimize
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (FleetRoutingClient fleetRoutingClient = FleetRoutingClient.create()) {
* BatchOptimizeToursRequest request =
* BatchOptimizeToursRequest.newBuilder()
@@ -325,6 +337,8 @@ public final UnaryCallable optimize
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (FleetRoutingClient fleetRoutingClient = FleetRoutingClient.create()) {
* BatchOptimizeToursRequest request =
* BatchOptimizeToursRequest.newBuilder()
@@ -358,6 +372,8 @@ public final UnaryCallable optimize
* Sample code:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (FleetRoutingClient fleetRoutingClient = FleetRoutingClient.create()) {
* BatchOptimizeToursRequest request =
* BatchOptimizeToursRequest.newBuilder()
diff --git a/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/FleetRoutingSettings.java b/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/FleetRoutingSettings.java
index 78d3f37..93da45a 100644
--- a/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/FleetRoutingSettings.java
+++ b/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/FleetRoutingSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -52,6 +52,8 @@
* For example, to set the total timeout of optimizeTours to 30 seconds:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* FleetRoutingSettings.Builder fleetRoutingSettingsBuilder = FleetRoutingSettings.newBuilder();
* fleetRoutingSettingsBuilder
* .optimizeToursSettings()
diff --git a/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/package-info.java b/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/package-info.java
index a580945..2656e18 100644
--- a/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/package-info.java
+++ b/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/package-info.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -36,6 +36,8 @@
* Sample for FleetRoutingClient:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* try (FleetRoutingClient fleetRoutingClient = FleetRoutingClient.create()) {
* OptimizeToursRequest request =
* OptimizeToursRequest.newBuilder()
diff --git a/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/FleetRoutingStub.java b/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/FleetRoutingStub.java
index 836fd87..4d71d13 100644
--- a/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/FleetRoutingStub.java
+++ b/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/FleetRoutingStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/FleetRoutingStubSettings.java b/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/FleetRoutingStubSettings.java
index 3b29fdf..ea19358 100644
--- a/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/FleetRoutingStubSettings.java
+++ b/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/FleetRoutingStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -69,6 +69,8 @@
* For example, to set the total timeout of optimizeTours to 30 seconds:
*
*
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
* FleetRoutingStubSettings.Builder fleetRoutingSettingsBuilder =
* FleetRoutingStubSettings.newBuilder();
* fleetRoutingSettingsBuilder
diff --git a/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/GrpcFleetRoutingCallableFactory.java b/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/GrpcFleetRoutingCallableFactory.java
index e14bb26..1b25fdd 100644
--- a/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/GrpcFleetRoutingCallableFactory.java
+++ b/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/GrpcFleetRoutingCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/GrpcFleetRoutingStub.java b/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/GrpcFleetRoutingStub.java
index f139404..3ed31e3 100644
--- a/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/GrpcFleetRoutingStub.java
+++ b/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/GrpcFleetRoutingStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-optimization/src/test/java/com/google/cloud/optimization/v1/FleetRoutingClientTest.java b/google-cloud-optimization/src/test/java/com/google/cloud/optimization/v1/FleetRoutingClientTest.java
index a0ece33..c8a9460 100644
--- a/google-cloud-optimization/src/test/java/com/google/cloud/optimization/v1/FleetRoutingClientTest.java
+++ b/google-cloud-optimization/src/test/java/com/google/cloud/optimization/v1/FleetRoutingClientTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-optimization/src/test/java/com/google/cloud/optimization/v1/MockFleetRouting.java b/google-cloud-optimization/src/test/java/com/google/cloud/optimization/v1/MockFleetRouting.java
index 3bf487f..0032f02 100644
--- a/google-cloud-optimization/src/test/java/com/google/cloud/optimization/v1/MockFleetRouting.java
+++ b/google-cloud-optimization/src/test/java/com/google/cloud/optimization/v1/MockFleetRouting.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-optimization/src/test/java/com/google/cloud/optimization/v1/MockFleetRoutingImpl.java b/google-cloud-optimization/src/test/java/com/google/cloud/optimization/v1/MockFleetRoutingImpl.java
index 02e31d7..90cfc6b 100644
--- a/google-cloud-optimization/src/test/java/com/google/cloud/optimization/v1/MockFleetRoutingImpl.java
+++ b/google-cloud-optimization/src/test/java/com/google/cloud/optimization/v1/MockFleetRoutingImpl.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
From b5f888f22ab4f4d020966673d04b9f4455c5e650 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Mon, 16 May 2022 19:50:18 +0200
Subject: [PATCH 12/15] chore(deps): update dependency
com.google.cloud:libraries-bom to v25.3.0 (#43)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java)) | `25.2.0` -> `25.3.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-optimization).
---
samples/snippets/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 44790e5..1de8918 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -32,7 +32,7 @@
com.google.cloud
libraries-bom
- 25.2.0
+ 25.3.0
pom
import
From 5c088252f9c096ac3ef82134a5d323d9abc252cb Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Thu, 19 May 2022 20:56:16 +0000
Subject: [PATCH 13/15] feat: add build scripts for native image testing in
Java 17 (#1440) (#45)
Source-Link: https://github.com/googleapis/synthtool/commit/505ce5a7edb58bf6d9d4de10b4bb4e81000ae324
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74
---
.github/.OwlBot.lock.yaml | 4 +--
.kokoro/build.sh | 5 ++++
.kokoro/presubmit/graalvm-native-17.cfg | 33 +++++++++++++++++++++++++
3 files changed, 40 insertions(+), 2 deletions(-)
create mode 100644 .kokoro/presubmit/graalvm-native-17.cfg
diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index f60d774..a79f062 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -13,5 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
- digest: sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813
-# created: 2022-04-06T16:30:03.627422514Z
+ digest: sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74
+# created: 2022-05-19T15:12:45.278246753Z
diff --git a/.kokoro/build.sh b/.kokoro/build.sh
index 80cd273..e44e077 100755
--- a/.kokoro/build.sh
+++ b/.kokoro/build.sh
@@ -74,6 +74,11 @@ graalvm)
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test
RETURN_CODE=$?
;;
+graalvm17)
+ # Run Unit and Integration Tests with Native Image
+ mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test
+ RETURN_CODE=$?
+ ;;
samples)
SAMPLES_DIR=samples
# only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise.
diff --git a/.kokoro/presubmit/graalvm-native-17.cfg b/.kokoro/presubmit/graalvm-native-17.cfg
new file mode 100644
index 0000000..a3f7fb9
--- /dev/null
+++ b/.kokoro/presubmit/graalvm-native-17.cfg
@@ -0,0 +1,33 @@
+# Format: //devtools/kokoro/config/proto/build.proto
+
+# Configure the docker image for kokoro-trampoline.
+env_vars: {
+ key: "TRAMPOLINE_IMAGE"
+ value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17"
+}
+
+env_vars: {
+ key: "JOB_TYPE"
+ value: "graalvm17"
+}
+
+# TODO: remove this after we've migrated all tests and scripts
+env_vars: {
+ key: "GCLOUD_PROJECT"
+ value: "gcloud-devel"
+}
+
+env_vars: {
+ key: "GOOGLE_CLOUD_PROJECT"
+ value: "gcloud-devel"
+}
+
+env_vars: {
+ key: "GOOGLE_APPLICATION_CREDENTIALS"
+ value: "secret_manager/java-it-service-account"
+}
+
+env_vars: {
+ key: "SECRET_MANAGER_KEYS"
+ value: "java-it-service-account"
+}
\ No newline at end of file
From 04c9c0274eee2533a398e526665479f4f0313b3f Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Thu, 19 May 2022 23:10:16 +0200
Subject: [PATCH 14/15] deps: update dependency
com.google.cloud:google-cloud-shared-dependencies to v2.12.0 (#44)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.10.0` -> `2.12.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
googleapis/java-shared-dependencies
### [`v2.12.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#2120-httpsgithubcomgoogleapisjava-shared-dependenciescomparev2110v2120-2022-05-19)
[Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.11.0...v2.12.0)
##### Features
- add build scripts for native image testing in Java 17 ([#1440](https://togithub.com/googleapis/java-shared-dependencies/issues/1440)) ([#697](https://togithub.com/googleapis/java-shared-dependencies/issues/697)) ([f10ec4e](https://togithub.com/googleapis/java-shared-dependencies/commit/f10ec4e664d8fde868effe366b7182a5fad08dd0))
##### Dependencies
- update gax.version to v2.18.1 ([#695](https://togithub.com/googleapis/java-shared-dependencies/issues/695)) ([09bc61c](https://togithub.com/googleapis/java-shared-dependencies/commit/09bc61c9152a99bfe87554a07324f15ae6217d6e))
- update google.core.version to v2.7.1 ([#698](https://togithub.com/googleapis/java-shared-dependencies/issues/698)) ([43de259](https://togithub.com/googleapis/java-shared-dependencies/commit/43de2593f1a6e8fa5e34799364ab683246ddd449))
### [`v2.11.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#2110-httpsgithubcomgoogleapisjava-shared-dependenciescomparev2100v2110-2022-05-18)
[Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.10.0...v2.11.0)
##### Features
- next release from main branch is 2.11.0 ([#674](https://togithub.com/googleapis/java-shared-dependencies/issues/674)) ([611e3b7](https://togithub.com/googleapis/java-shared-dependencies/commit/611e3b7c50108a71efc94415166b85d2bf8647e5))
##### Dependencies
- update dependency com.fasterxml.jackson:jackson-bom to v2.13.3 ([#689](https://togithub.com/googleapis/java-shared-dependencies/issues/689)) ([03897e3](https://togithub.com/googleapis/java-shared-dependencies/commit/03897e30a71f8f1aa37233da2433ee5afccc1d61))
- update dependency com.google.api-client:google-api-client-bom to v1.34.1 ([#685](https://togithub.com/googleapis/java-shared-dependencies/issues/685)) ([9bc0557](https://togithub.com/googleapis/java-shared-dependencies/commit/9bc0557d8ce2f3d8dc7c8ffafdd36fd4c03e2df5))
- update dependency com.google.api:api-common to v2.2.0 ([#690](https://togithub.com/googleapis/java-shared-dependencies/issues/690)) ([47a8736](https://togithub.com/googleapis/java-shared-dependencies/commit/47a87365e51f73132b15b054d85f8c9baa8e89f6))
- update dependency com.google.auth:google-auth-library-bom to v1.7.0 ([#691](https://togithub.com/googleapis/java-shared-dependencies/issues/691)) ([ec6aab7](https://togithub.com/googleapis/java-shared-dependencies/commit/ec6aab72eaed43574efe47a696bba6a612f161bb))
- update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#672](https://togithub.com/googleapis/java-shared-dependencies/issues/672)) ([8c7e530](https://togithub.com/googleapis/java-shared-dependencies/commit/8c7e530d3c7170b2fb76cc27a05164524ba4e00b))
- update dependency com.google.http-client:google-http-client-bom to v1.41.8 ([#684](https://togithub.com/googleapis/java-shared-dependencies/issues/684)) ([1305356](https://togithub.com/googleapis/java-shared-dependencies/commit/1305356775247dbb641b60654ac56da43513088e))
- update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#678](https://togithub.com/googleapis/java-shared-dependencies/issues/678)) ([3e6d4a1](https://togithub.com/googleapis/java-shared-dependencies/commit/3e6d4a1a8e5d45723071a62c99bb1ab87d2b2b84))
- update dependency io.grpc:grpc-bom to v1.46.0 ([#680](https://togithub.com/googleapis/java-shared-dependencies/issues/680)) ([b8a052b](https://togithub.com/googleapis/java-shared-dependencies/commit/b8a052b75a1bc2703500b4f31c5c6dac887ab8be))
- update dependency org.checkerframework:checker-qual to v3.22.0 ([#683](https://togithub.com/googleapis/java-shared-dependencies/issues/683)) ([b0a30cd](https://togithub.com/googleapis/java-shared-dependencies/commit/b0a30cdecae8dcfb3a6d36e3f194c39a0086673e))
- update gax.version to v2.17.0 ([#687](https://togithub.com/googleapis/java-shared-dependencies/issues/687)) ([e0e89ea](https://togithub.com/googleapis/java-shared-dependencies/commit/e0e89eade481effc723c9c7261f2ebf4e5883621))
- update gax.version to v2.18.0 ([#692](https://togithub.com/googleapis/java-shared-dependencies/issues/692)) ([9536612](https://togithub.com/googleapis/java-shared-dependencies/commit/9536612c77af1e4d912c5b63515ea6f750e53810))
- update google.core.version to v2.6.1 ([#671](https://togithub.com/googleapis/java-shared-dependencies/issues/671)) ([e3d1aeb](https://togithub.com/googleapis/java-shared-dependencies/commit/e3d1aebed31f8e91109d5865afd9525ac3595c90))
- update google.core.version to v2.7.0 ([#693](https://togithub.com/googleapis/java-shared-dependencies/issues/693)) ([2171677](https://togithub.com/googleapis/java-shared-dependencies/commit/2171677e16190de9f37dc16c924d829ea8ccd86c))
- update iam.version to v1.3.2 ([#673](https://togithub.com/googleapis/java-shared-dependencies/issues/673)) ([9882baa](https://togithub.com/googleapis/java-shared-dependencies/commit/9882baa3ecc8d7584788af1916f0d8c5ec670b5c))
- update iam.version to v1.3.3 ([#679](https://togithub.com/googleapis/java-shared-dependencies/issues/679)) ([9fe34c8](https://togithub.com/googleapis/java-shared-dependencies/commit/9fe34c89eabed5eeebad986bffeeeb64dbbc38c1))
- update iam.version to v1.3.4 ([#686](https://togithub.com/googleapis/java-shared-dependencies/issues/686)) ([4e95b3a](https://togithub.com/googleapis/java-shared-dependencies/commit/4e95b3a1d4302812338c220df316391c19ef7473))
- update opencensus.version to v0.31.1 ([#682](https://togithub.com/googleapis/java-shared-dependencies/issues/682)) ([5d25746](https://togithub.com/googleapis/java-shared-dependencies/commit/5d25746bc6c9329b240204cbe7b83e2fee4c6cb3))
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, click this checkbox.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-optimization).
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 49ac34d..e182dd8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -85,7 +85,7 @@
com.google.cloud
google-cloud-shared-dependencies
- 2.10.0
+ 2.12.0
pom
import
From ce1ab10abcd2b81a94c6bf6190919e9ba3e0b9b5 Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Tue, 24 May 2022 03:40:15 +0000
Subject: [PATCH 15/15] chore(main): release 1.0.0 (#39)
:robot: I have created a release *beep* *boop*
---
## [1.0.0](https://github.com/googleapis/java-optimization/compare/v0.1.2...v1.0.0) (2022-05-19)
### Features
* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-optimization/issues/1440)) ([#45](https://github.com/googleapis/java-optimization/issues/45)) ([5c08825](https://github.com/googleapis/java-optimization/commit/5c088252f9c096ac3ef82134a5d323d9abc252cb))
* promote to GA ([#38](https://github.com/googleapis/java-optimization/issues/38)) ([1b140c5](https://github.com/googleapis/java-optimization/commit/1b140c53cb296a817eba2421112379191b4539f8))
### Dependencies
* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#44](https://github.com/googleapis/java-optimization/issues/44)) ([04c9c02](https://github.com/googleapis/java-optimization/commit/04c9c0274eee2533a398e526665479f4f0313b3f))
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
---
CHANGELOG.md | 13 +++++++++++++
google-cloud-optimization-bom/pom.xml | 8 ++++----
google-cloud-optimization/pom.xml | 4 ++--
grpc-google-cloud-optimization-v1/pom.xml | 4 ++--
pom.xml | 8 ++++----
proto-google-cloud-optimization-v1/pom.xml | 4 ++--
samples/snapshot/pom.xml | 2 +-
versions.txt | 6 +++---
8 files changed, 31 insertions(+), 18 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b70d9b5..7503481 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,18 @@
# Changelog
+## [1.0.0](https://github.com/googleapis/java-optimization/compare/v0.1.2...v1.0.0) (2022-05-19)
+
+
+### Features
+
+* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-optimization/issues/1440)) ([#45](https://github.com/googleapis/java-optimization/issues/45)) ([5c08825](https://github.com/googleapis/java-optimization/commit/5c088252f9c096ac3ef82134a5d323d9abc252cb))
+* promote to GA ([#38](https://github.com/googleapis/java-optimization/issues/38)) ([1b140c5](https://github.com/googleapis/java-optimization/commit/1b140c53cb296a817eba2421112379191b4539f8))
+
+
+### Dependencies
+
+* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#44](https://github.com/googleapis/java-optimization/issues/44)) ([04c9c02](https://github.com/googleapis/java-optimization/commit/04c9c0274eee2533a398e526665479f4f0313b3f))
+
### [0.1.2](https://github.com/googleapis/java-optimization/compare/v0.1.1...v0.1.2) (2022-04-18)
diff --git a/google-cloud-optimization-bom/pom.xml b/google-cloud-optimization-bom/pom.xml
index badd7e0..b99dad7 100644
--- a/google-cloud-optimization-bom/pom.xml
+++ b/google-cloud-optimization-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-optimization-bom
- 0.1.3-SNAPSHOT
+ 1.0.0
pom
com.google.cloud
@@ -65,17 +65,17 @@
com.google.cloud
google-cloud-optimization
- 0.1.3-SNAPSHOT
+ 1.0.0
com.google.api.grpc
grpc-google-cloud-optimization-v1
- 0.1.3-SNAPSHOT
+ 1.0.0
com.google.api.grpc
proto-google-cloud-optimization-v1
- 0.1.3-SNAPSHOT
+ 1.0.0