Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
feat: Sustainability Projection (#720)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

Incorporate above new features, as well as update .bazel files.

PiperOrigin-RevId: 427821134

Source-Link: googleapis/googleapis@44d6bef

Source-Link: googleapis/googleapis-gen@dd8ca79
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZGQ4Y2E3OTM3ZThlOGUxZTM3MzIyYjhjYzdkZDA4YjlkNzUyM2MzYiJ9
  • Loading branch information
gcf-owl-bot[bot] committed Feb 11, 2022
1 parent f662b7c commit 2e6b524
Show file tree
Hide file tree
Showing 14 changed files with 1,404 additions and 79 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,47 @@ public interface ImpactOrBuilder
*/
com.google.cloud.recommender.v1beta1.SecurityProjectionOrBuilder getSecurityProjectionOrBuilder();

/**
*
*
* <pre>
* Use with CategoryType.SUSTAINABILITY
* </pre>
*
* <code>
* .google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;
* </code>
*
* @return Whether the sustainabilityProjection field is set.
*/
boolean hasSustainabilityProjection();
/**
*
*
* <pre>
* Use with CategoryType.SUSTAINABILITY
* </pre>
*
* <code>
* .google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;
* </code>
*
* @return The sustainabilityProjection.
*/
com.google.cloud.recommender.v1beta1.SustainabilityProjection getSustainabilityProjection();
/**
*
*
* <pre>
* Use with CategoryType.SUSTAINABILITY
* </pre>
*
* <code>
* .google.cloud.recommender.v1beta1.SustainabilityProjection sustainability_projection = 102;
* </code>
*/
com.google.cloud.recommender.v1beta1.SustainabilityProjectionOrBuilder
getSustainabilityProjectionOrBuilder();

public com.google.cloud.recommender.v1beta1.Impact.ProjectionCase getProjectionCase();
}
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ public interface RecommendationReferenceOrBuilder
*
* <pre>
* Recommendation resource name, e.g.
* `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]`
* projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]
* </pre>
*
* <code>string recommendation = 1;</code>
Expand All @@ -672,7 +672,7 @@ public interface RecommendationReferenceOrBuilder
*
* <pre>
* Recommendation resource name, e.g.
* `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]`
* projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]
* </pre>
*
* <code>string recommendation = 1;</code>
Expand Down Expand Up @@ -781,7 +781,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* <pre>
* Recommendation resource name, e.g.
* `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]`
* projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]
* </pre>
*
* <code>string recommendation = 1;</code>
Expand All @@ -805,7 +805,7 @@ public java.lang.String getRecommendation() {
*
* <pre>
* Recommendation resource name, e.g.
* `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]`
* projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]
* </pre>
*
* <code>string recommendation = 1;</code>
Expand Down Expand Up @@ -1163,7 +1163,7 @@ public Builder mergeFrom(
*
* <pre>
* Recommendation resource name, e.g.
* `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]`
* projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]
* </pre>
*
* <code>string recommendation = 1;</code>
Expand All @@ -1186,7 +1186,7 @@ public java.lang.String getRecommendation() {
*
* <pre>
* Recommendation resource name, e.g.
* `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]`
* projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]
* </pre>
*
* <code>string recommendation = 1;</code>
Expand All @@ -1209,7 +1209,7 @@ public com.google.protobuf.ByteString getRecommendationBytes() {
*
* <pre>
* Recommendation resource name, e.g.
* `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]`
* projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]
* </pre>
*
* <code>string recommendation = 1;</code>
Expand All @@ -1231,7 +1231,7 @@ public Builder setRecommendation(java.lang.String value) {
*
* <pre>
* Recommendation resource name, e.g.
* `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]`
* projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]
* </pre>
*
* <code>string recommendation = 1;</code>
Expand All @@ -1249,7 +1249,7 @@ public Builder clearRecommendation() {
*
* <pre>
* Recommendation resource name, e.g.
* `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]`
* projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/recommendations/[RECOMMENDATION_ID]
* </pre>
*
* <code>string recommendation = 1;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ public int getAnnotationsCount() {
* separated by a slash (/).
* Prefix must be a DNS subdomain.
* Name must be 63 characters or less, begin and end with alphanumerics,
* with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
* with dashes (-), underscores (_), dots (.), and alphanumerics between.
* </pre>
*
* <code>map&lt;string, string&gt; annotations = 6;</code>
Expand Down Expand Up @@ -528,7 +528,7 @@ public java.util.Map<java.lang.String, java.lang.String> getAnnotations() {
* separated by a slash (/).
* Prefix must be a DNS subdomain.
* Name must be 63 characters or less, begin and end with alphanumerics,
* with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
* with dashes (-), underscores (_), dots (.), and alphanumerics between.
* </pre>
*
* <code>map&lt;string, string&gt; annotations = 6;</code>
Expand All @@ -548,7 +548,7 @@ public java.util.Map<java.lang.String, java.lang.String> getAnnotationsMap() {
* separated by a slash (/).
* Prefix must be a DNS subdomain.
* Name must be 63 characters or less, begin and end with alphanumerics,
* with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
* with dashes (-), underscores (_), dots (.), and alphanumerics between.
* </pre>
*
* <code>map&lt;string, string&gt; annotations = 6;</code>
Expand All @@ -573,7 +573,7 @@ public java.lang.String getAnnotationsOrDefault(
* separated by a slash (/).
* Prefix must be a DNS subdomain.
* Name must be 63 characters or less, begin and end with alphanumerics,
* with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
* with dashes (-), underscores (_), dots (.), and alphanumerics between.
* </pre>
*
* <code>map&lt;string, string&gt; annotations = 6;</code>
Expand Down Expand Up @@ -1906,7 +1906,7 @@ public int getAnnotationsCount() {
* separated by a slash (/).
* Prefix must be a DNS subdomain.
* Name must be 63 characters or less, begin and end with alphanumerics,
* with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
* with dashes (-), underscores (_), dots (.), and alphanumerics between.
* </pre>
*
* <code>map&lt;string, string&gt; annotations = 6;</code>
Expand Down Expand Up @@ -1935,7 +1935,7 @@ public java.util.Map<java.lang.String, java.lang.String> getAnnotations() {
* separated by a slash (/).
* Prefix must be a DNS subdomain.
* Name must be 63 characters or less, begin and end with alphanumerics,
* with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
* with dashes (-), underscores (_), dots (.), and alphanumerics between.
* </pre>
*
* <code>map&lt;string, string&gt; annotations = 6;</code>
Expand All @@ -1955,7 +1955,7 @@ public java.util.Map<java.lang.String, java.lang.String> getAnnotationsMap() {
* separated by a slash (/).
* Prefix must be a DNS subdomain.
* Name must be 63 characters or less, begin and end with alphanumerics,
* with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
* with dashes (-), underscores (_), dots (.), and alphanumerics between.
* </pre>
*
* <code>map&lt;string, string&gt; annotations = 6;</code>
Expand All @@ -1980,7 +1980,7 @@ public java.lang.String getAnnotationsOrDefault(
* separated by a slash (/).
* Prefix must be a DNS subdomain.
* Name must be 63 characters or less, begin and end with alphanumerics,
* with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
* with dashes (-), underscores (_), dots (.), and alphanumerics between.
* </pre>
*
* <code>map&lt;string, string&gt; annotations = 6;</code>
Expand Down Expand Up @@ -2012,7 +2012,7 @@ public Builder clearAnnotations() {
* separated by a slash (/).
* Prefix must be a DNS subdomain.
* Name must be 63 characters or less, begin and end with alphanumerics,
* with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
* with dashes (-), underscores (_), dots (.), and alphanumerics between.
* </pre>
*
* <code>map&lt;string, string&gt; annotations = 6;</code>
Expand Down Expand Up @@ -2040,7 +2040,7 @@ public java.util.Map<java.lang.String, java.lang.String> getMutableAnnotations()
* separated by a slash (/).
* Prefix must be a DNS subdomain.
* Name must be 63 characters or less, begin and end with alphanumerics,
* with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
* with dashes (-), underscores (_), dots (.), and alphanumerics between.
* </pre>
*
* <code>map&lt;string, string&gt; annotations = 6;</code>
Expand All @@ -2066,7 +2066,7 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
* separated by a slash (/).
* Prefix must be a DNS subdomain.
* Name must be 63 characters or less, begin and end with alphanumerics,
* with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
* with dashes (-), underscores (_), dots (.), and alphanumerics between.
* </pre>
*
* <code>map&lt;string, string&gt; annotations = 6;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public interface InsightTypeConfigOrBuilder
* separated by a slash (/).
* Prefix must be a DNS subdomain.
* Name must be 63 characters or less, begin and end with alphanumerics,
* with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
* with dashes (-), underscores (_), dots (.), and alphanumerics between.
* </pre>
*
* <code>map&lt;string, string&gt; annotations = 6;</code>
Expand All @@ -220,7 +220,7 @@ public interface InsightTypeConfigOrBuilder
* separated by a slash (/).
* Prefix must be a DNS subdomain.
* Name must be 63 characters or less, begin and end with alphanumerics,
* with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
* with dashes (-), underscores (_), dots (.), and alphanumerics between.
* </pre>
*
* <code>map&lt;string, string&gt; annotations = 6;</code>
Expand All @@ -240,7 +240,7 @@ public interface InsightTypeConfigOrBuilder
* separated by a slash (/).
* Prefix must be a DNS subdomain.
* Name must be 63 characters or less, begin and end with alphanumerics,
* with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
* with dashes (-), underscores (_), dots (.), and alphanumerics between.
* </pre>
*
* <code>map&lt;string, string&gt; annotations = 6;</code>
Expand All @@ -257,7 +257,7 @@ public interface InsightTypeConfigOrBuilder
* separated by a slash (/).
* Prefix must be a DNS subdomain.
* Name must be 63 characters or less, begin and end with alphanumerics,
* with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
* with dashes (-), underscores (_), dots (.), and alphanumerics between.
* </pre>
*
* <code>map&lt;string, string&gt; annotations = 6;</code>
Expand All @@ -274,7 +274,7 @@ public interface InsightTypeConfigOrBuilder
* separated by a slash (/).
* Prefix must be a DNS subdomain.
* Name must be 63 characters or less, begin and end with alphanumerics,
* with dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
* with dashes (-), underscores (_), dots (.), and alphanumerics between.
* </pre>
*
* <code>map&lt;string, string&gt; annotations = 6;</code>
Expand Down
Loading

0 comments on commit 2e6b524

Please sign in to comment.