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

Commit

Permalink
Browse files Browse the repository at this point in the history
fix!: Apply namespace/package options to RecommendationEngine resourc…
…es proto. (#210)

This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/f70b7d14-4ed7-499c-9ce1-e6883a1adbf6/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 341987835
Source-Link: googleapis/googleapis@7e17784
  • Loading branch information
yoshi-automation committed Nov 12, 2020
1 parent b6d9a0a commit d3fd7c3
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 34 deletions.
Expand Up @@ -17,9 +17,9 @@
<method>boolean has*(*)</method>
</difference>

<!-- TODO: remove after 0.3.0 released -->
<!-- TODO: remove after 0.4.0 released -->
<difference>
<differenceType>8001</differenceType>
<className>com/google/api/HttpBody*</className>
<className>google/cloud/recommendationengine/v1beta1/RecommendationengineResources</className>
</difference>
</differences>
Expand Up @@ -157,7 +157,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.recommendationengine.v1beta1.Catalog.getDescriptor(),
com.google.cloud.recommendationengine.v1beta1.Import.getDescriptor(),
google.cloud.recommendationengine.v1beta1.RecommendationengineResources
com.google.cloud.recommendationengine.v1beta1.RecommendationengineResources
.getDescriptor(),
com.google.longrunning.OperationsProto.getDescriptor(),
com.google.protobuf.EmptyProto.getDescriptor(),
Expand Down Expand Up @@ -228,7 +228,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.recommendationengine.v1beta1.Catalog.getDescriptor();
com.google.cloud.recommendationengine.v1beta1.Import.getDescriptor();
google.cloud.recommendationengine.v1beta1.RecommendationengineResources.getDescriptor();
com.google.cloud.recommendationengine.v1beta1.RecommendationengineResources.getDescriptor();
com.google.longrunning.OperationsProto.getDescriptor();
com.google.protobuf.EmptyProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
Expand Down
Expand Up @@ -156,7 +156,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.recommendationengine.v1beta1.Catalog.getDescriptor(),
com.google.cloud.recommendationengine.v1beta1.UserEventOuterClass.getDescriptor(),
google.cloud.recommendationengine.v1beta1.RecommendationengineResources
com.google.cloud.recommendationengine.v1beta1.RecommendationengineResources
.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
com.google.rpc.StatusProto.getDescriptor(),
Expand Down Expand Up @@ -265,7 +265,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.recommendationengine.v1beta1.Catalog.getDescriptor();
com.google.cloud.recommendationengine.v1beta1.UserEventOuterClass.getDescriptor();
google.cloud.recommendationengine.v1beta1.RecommendationengineResources.getDescriptor();
com.google.cloud.recommendationengine.v1beta1.RecommendationengineResources.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
com.google.rpc.StatusProto.getDescriptor();
com.google.api.AnnotationsProto.getDescriptor();
Expand Down
Expand Up @@ -128,7 +128,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ResourceProto.getDescriptor(),
com.google.protobuf.EmptyProto.getDescriptor(),
com.google.api.ClientProto.getDescriptor(),
google.cloud.recommendationengine.v1beta1.RecommendationengineResources
com.google.cloud.recommendationengine.v1beta1.RecommendationengineResources
.getDescriptor(),
});
internal_static_google_cloud_recommendationengine_v1beta1_PredictionApiKeyRegistration_descriptor =
Expand Down Expand Up @@ -186,7 +186,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ResourceProto.getDescriptor();
com.google.protobuf.EmptyProto.getDescriptor();
com.google.api.ClientProto.getDescriptor();
google.cloud.recommendationengine.v1beta1.RecommendationengineResources.getDescriptor();
com.google.cloud.recommendationengine.v1beta1.RecommendationengineResources.getDescriptor();
}

// @@protoc_insertion_point(outer_class_scope)
Expand Down
Expand Up @@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto

package google.cloud.recommendationengine.v1beta1;
package com.google.cloud.recommendationengine.v1beta1;

public final class RecommendationengineResources {
private RecommendationengineResources() {}
Expand All @@ -38,27 +38,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\nNgoogle/cloud/recommendationengine/v1be"
+ "ta1/recommendationengine_resources.proto"
+ "\022)google.cloud.recommendationengine.v1be"
+ "ta1\032\031google/api/resource.protoB\214\006\352Ai\n+re"
+ "commendationengine.googleapis.com/Catalo"
+ "g\022:projects/{project}/locations/{locatio"
+ "n}/catalogs/{catalog}\352A\225\001\n3recommendatio"
+ "nengine.googleapis.com/CatalogItemPath\022^"
+ "projects/{project}/locations/{location}/"
+ "catalogs/{catalog}/catalogItems/{catalog"
+ "_item_path=**}\352A\206\001\n.recommendationengine"
+ ".googleapis.com/EventStore\022Tprojects/{pr"
+ "oject}/locations/{location}/catalogs/{ca"
+ "talog}/eventStores/{event_store}\352A\331\001\n@re"
+ "commendationengine.googleapis.com/Predic"
+ "tionApiKeyRegistration\022\224\001projects/{proje"
+ "ct}/locations/{location}/catalogs/{catal"
+ "og}/eventStores/{event_store}/prediction"
+ "ApiKeyRegistrations/{prediction_api_key_"
+ "registration}\352A\234\001\n-recommendationengine."
+ "googleapis.com/Placement\022kprojects/{proj"
+ "ect}/locations/{location}/catalogs/{cata"
+ "log}/eventStores/{event_store}/placement"
+ "s/{placement}b\006proto3"
+ "ta1\032\031google/api/resource.protoB\253\010\n-com.g"
+ "oogle.cloud.recommendationengine.v1beta1"
+ "P\001Z]google.golang.org/genproto/googleapi"
+ "s/cloud/recommendationengine/v1beta1;rec"
+ "ommendationengine\242\002\005RECAI\252\002)Google.Cloud"
+ ".RecommendationEngine.V1Beta1\312\002)Google\\C"
+ "loud\\RecommendationEngine\\V1beta1\352\002,Goog"
+ "le::Cloud::RecommendationEngine::V1beta1"
+ "\352Ai\n+recommendationengine.googleapis.com"
+ "/Catalog\022:projects/{project}/locations/{"
+ "location}/catalogs/{catalog}\352A\225\001\n3recomm"
+ "endationengine.googleapis.com/CatalogIte"
+ "mPath\022^projects/{project}/locations/{loc"
+ "ation}/catalogs/{catalog}/catalogItems/{"
+ "catalog_item_path=**}\352A\206\001\n.recommendatio"
+ "nengine.googleapis.com/EventStore\022Tproje"
+ "cts/{project}/locations/{location}/catal"
+ "ogs/{catalog}/eventStores/{event_store}\352"
+ "A\331\001\n@recommendationengine.googleapis.com"
+ "/PredictionApiKeyRegistration\022\224\001projects"
+ "/{project}/locations/{location}/catalogs"
+ "/{catalog}/eventStores/{event_store}/pre"
+ "dictionApiKeyRegistrations/{prediction_a"
+ "pi_key_registration}\352A\234\001\n-recommendation"
+ "engine.googleapis.com/Placement\022kproject"
+ "s/{project}/locations/{location}/catalog"
+ "s/{catalog}/eventStores/{event_store}/pl"
+ "acements/{placement}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down
Expand Up @@ -18,6 +18,14 @@ syntax = "proto3";

package google.cloud.recommendationengine.v1beta1;

option csharp_namespace = "Google.Cloud.RecommendationEngine.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/cloud/recommendationengine/v1beta1;recommendationengine";
option java_multiple_files = true;
option java_package = "com.google.cloud.recommendationengine.v1beta1";
option objc_class_prefix = "RECAI";
option php_namespace = "Google\\Cloud\\RecommendationEngine\\V1beta1";
option ruby_package = "Google::Cloud::RecommendationEngine::V1beta1";

import "google/api/resource.proto";

option (google.api.resource_definition) = {
Expand Down
8 changes: 4 additions & 4 deletions synth.metadata
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-recommendations-ai.git",
"sha": "29e752dfb8e80ed9cf96ebf7163828938ecfa851"
"sha": "b6d9a0a66c96f3ba85ee87bbde32c027266b36e2"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "c1ba5ba3f24307ca5a6df350d0137c29d69983d5",
"internalRef": "316715576"
"sha": "7e17784e6465431981f36806e6376d69de1fc424",
"internalRef": "341987835"
}
},
{
Expand Down Expand Up @@ -224,6 +224,7 @@
"proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PurgeUserEventsRequestOrBuilder.java",
"proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PurgeUserEventsResponse.java",
"proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PurgeUserEventsResponseOrBuilder.java",
"proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/RecommendationengineResources.java",
"proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UpdateCatalogItemRequest.java",
"proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UpdateCatalogItemRequestOrBuilder.java",
"proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEvent.java",
Expand All @@ -238,7 +239,6 @@
"proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserInfoOrBuilder.java",
"proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/WriteUserEventRequest.java",
"proto-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/WriteUserEventRequestOrBuilder.java",
"proto-google-cloud-recommendations-ai-v1beta1/src/main/java/google/cloud/recommendationengine/v1beta1/RecommendationengineResources.java",
"proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/catalog.proto",
"proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/catalog_service.proto",
"proto-google-cloud-recommendations-ai-v1beta1/src/main/proto/google/cloud/recommendationengine/v1beta1/common.proto",
Expand Down

0 comments on commit d3fd7c3

Please sign in to comment.