Skip to content

Commit

Permalink
chore: remove unused proto imports (#521)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 468735472

Source-Link: googleapis/googleapis@cfa1b37

Source-Link: https://github.com/googleapis/googleapis-gen/commit/09b7666656510f5b00b893f003a0ba5766f9e250
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDliNzY2NjY1NjUxMGY1YjAwYjg5M2YwMDNhMGJhNTc2NmY5ZTI1MCJ9
  • Loading branch information
gcf-owl-bot[bot] authored Aug 22, 2022
1 parent dc52906 commit ed07607
Show file tree
Hide file tree
Showing 20 changed files with 353 additions and 390 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ public int getPageSize() {
* <code>string page_token = 4 [deprecated = true];</code>
*
* @deprecated google.cloud.retail.v2.PredictRequest.page_token is deprecated. See
* google/cloud/retail/v2/prediction_service.proto;l=94
* google/cloud/retail/v2/prediction_service.proto;l=93
* @return The pageToken.
*/
@java.lang.Override
Expand All @@ -417,7 +417,7 @@ public java.lang.String getPageToken() {
* <code>string page_token = 4 [deprecated = true];</code>
*
* @deprecated google.cloud.retail.v2.PredictRequest.page_token is deprecated. See
* google/cloud/retail/v2/prediction_service.proto;l=94
* google/cloud/retail/v2/prediction_service.proto;l=93
* @return The bytes for pageToken.
*/
@java.lang.Override
Expand Down Expand Up @@ -1936,7 +1936,7 @@ public Builder clearPageSize() {
* <code>string page_token = 4 [deprecated = true];</code>
*
* @deprecated google.cloud.retail.v2.PredictRequest.page_token is deprecated. See
* google/cloud/retail/v2/prediction_service.proto;l=94
* google/cloud/retail/v2/prediction_service.proto;l=93
* @return The pageToken.
*/
@java.lang.Deprecated
Expand All @@ -1961,7 +1961,7 @@ public java.lang.String getPageToken() {
* <code>string page_token = 4 [deprecated = true];</code>
*
* @deprecated google.cloud.retail.v2.PredictRequest.page_token is deprecated. See
* google/cloud/retail/v2/prediction_service.proto;l=94
* google/cloud/retail/v2/prediction_service.proto;l=93
* @return The bytes for pageToken.
*/
@java.lang.Deprecated
Expand All @@ -1986,7 +1986,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
* <code>string page_token = 4 [deprecated = true];</code>
*
* @deprecated google.cloud.retail.v2.PredictRequest.page_token is deprecated. See
* google/cloud/retail/v2/prediction_service.proto;l=94
* google/cloud/retail/v2/prediction_service.proto;l=93
* @param value The pageToken to set.
* @return This builder for chaining.
*/
Expand All @@ -2010,7 +2010,7 @@ public Builder setPageToken(java.lang.String value) {
* <code>string page_token = 4 [deprecated = true];</code>
*
* @deprecated google.cloud.retail.v2.PredictRequest.page_token is deprecated. See
* google/cloud/retail/v2/prediction_service.proto;l=94
* google/cloud/retail/v2/prediction_service.proto;l=93
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand All @@ -2030,7 +2030,7 @@ public Builder clearPageToken() {
* <code>string page_token = 4 [deprecated = true];</code>
*
* @deprecated google.cloud.retail.v2.PredictRequest.page_token is deprecated. See
* google/cloud/retail/v2/prediction_service.proto;l=94
* google/cloud/retail/v2/prediction_service.proto;l=93
* @param value The bytes for pageToken to set.
* @return This builder for chaining.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public interface PredictRequestOrBuilder
* <code>string page_token = 4 [deprecated = true];</code>
*
* @deprecated google.cloud.retail.v2.PredictRequest.page_token is deprecated. See
* google/cloud/retail/v2/prediction_service.proto;l=94
* google/cloud/retail/v2/prediction_service.proto;l=93
* @return The pageToken.
*/
@java.lang.Deprecated
Expand All @@ -190,7 +190,7 @@ public interface PredictRequestOrBuilder
* <code>string page_token = 4 [deprecated = true];</code>
*
* @deprecated google.cloud.retail.v2.PredictRequest.page_token is deprecated. See
* google/cloud/retail/v2/prediction_service.proto;l=94
* google/cloud/retail/v2/prediction_service.proto;l=93
* @return The bytes for pageToken.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,43 +64,43 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ice.proto\022\026google.cloud.retail.v2\032\034googl"
+ "e/api/annotations.proto\032\027google/api/clie"
+ "nt.proto\032\037google/api/field_behavior.prot"
+ "o\032\031google/api/resource.proto\032\'google/clo"
+ "ud/retail/v2/user_event.proto\032\034google/pr"
+ "otobuf/struct.proto\"\264\003\n\016PredictRequest\022\026"
+ "\n\tplacement\030\001 \001(\tB\003\340A\002\022:\n\nuser_event\030\002 \001"
+ "(\0132!.google.cloud.retail.v2.UserEventB\003\340"
+ "A\002\022\021\n\tpage_size\030\003 \001(\005\022\026\n\npage_token\030\004 \001("
+ "\tB\002\030\001\022\016\n\006filter\030\005 \001(\t\022\025\n\rvalidate_only\030\006"
+ " \001(\010\022B\n\006params\030\007 \003(\01322.google.cloud.reta"
+ "il.v2.PredictRequest.ParamsEntry\022B\n\006labe"
+ "ls\030\010 \003(\01322.google.cloud.retail.v2.Predic"
+ "tRequest.LabelsEntry\032E\n\013ParamsEntry\022\013\n\003k"
+ "ey\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.google.protobu"
+ "f.Value:\0028\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022"
+ "\r\n\005value\030\002 \001(\t:\0028\001\"\347\002\n\017PredictResponse\022I"
+ "\n\007results\030\001 \003(\01328.google.cloud.retail.v2"
+ ".PredictResponse.PredictionResult\022\031\n\021att"
+ "ribution_token\030\002 \001(\t\022\023\n\013missing_ids\030\003 \003("
+ "\t\022\025\n\rvalidate_only\030\004 \001(\010\032\301\001\n\020PredictionR"
+ "esult\022\n\n\002id\030\001 \001(\t\022X\n\010metadata\030\002 \003(\0132F.go"
+ "ogle.cloud.retail.v2.PredictResponse.Pre"
+ "dictionResult.MetadataEntry\032G\n\rMetadataE"
+ "ntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.googl"
+ "e.protobuf.Value:\0028\0012\341\002\n\021PredictionServi"
+ "ce\022\200\002\n\007Predict\022&.google.cloud.retail.v2."
+ "PredictRequest\032\'.google.cloud.retail.v2."
+ "PredictResponse\"\243\001\202\323\344\223\002\234\001\"F/v2/{placemen"
+ "t=projects/*/locations/*/catalogs/*/plac"
+ "ements/*}:predict:\001*ZO\"J/v2/{placement=p"
+ "rojects/*/locations/*/catalogs/*/serving"
+ "Configs/*}:predict:\001*\032I\312A\025retail.googlea"
+ "pis.com\322A.https://www.googleapis.com/aut"
+ "h/cloud-platformB\313\001\n\032com.google.cloud.re"
+ "tail.v2B\026PredictionServiceProtoP\001Z<googl"
+ "e.golang.org/genproto/googleapis/cloud/r"
+ "etail/v2;retail\242\002\006RETAIL\252\002\026Google.Cloud."
+ "Retail.V2\312\002\026Google\\Cloud\\Retail\\V2\352\002\031Goo"
+ "gle::Cloud::Retail::V2b\006proto3"
+ "o\032\'google/cloud/retail/v2/user_event.pro"
+ "to\032\034google/protobuf/struct.proto\"\264\003\n\016Pre"
+ "dictRequest\022\026\n\tplacement\030\001 \001(\tB\003\340A\002\022:\n\nu"
+ "ser_event\030\002 \001(\0132!.google.cloud.retail.v2"
+ ".UserEventB\003\340A\002\022\021\n\tpage_size\030\003 \001(\005\022\026\n\npa"
+ "ge_token\030\004 \001(\tB\002\030\001\022\016\n\006filter\030\005 \001(\t\022\025\n\rva"
+ "lidate_only\030\006 \001(\010\022B\n\006params\030\007 \003(\01322.goog"
+ "le.cloud.retail.v2.PredictRequest.Params"
+ "Entry\022B\n\006labels\030\010 \003(\01322.google.cloud.ret"
+ "ail.v2.PredictRequest.LabelsEntry\032E\n\013Par"
+ "amsEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.g"
+ "oogle.protobuf.Value:\0028\001\032-\n\013LabelsEntry\022"
+ "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\347\002\n\017Pred"
+ "ictResponse\022I\n\007results\030\001 \003(\01328.google.cl"
+ "oud.retail.v2.PredictResponse.Prediction"
+ "Result\022\031\n\021attribution_token\030\002 \001(\t\022\023\n\013mis"
+ "sing_ids\030\003 \003(\t\022\025\n\rvalidate_only\030\004 \001(\010\032\301\001"
+ "\n\020PredictionResult\022\n\n\002id\030\001 \001(\t\022X\n\010metada"
+ "ta\030\002 \003(\0132F.google.cloud.retail.v2.Predic"
+ "tResponse.PredictionResult.MetadataEntry"
+ "\032G\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030"
+ "\002 \001(\0132\026.google.protobuf.Value:\0028\0012\341\002\n\021Pr"
+ "edictionService\022\200\002\n\007Predict\022&.google.clo"
+ "ud.retail.v2.PredictRequest\032\'.google.clo"
+ "ud.retail.v2.PredictResponse\"\243\001\202\323\344\223\002\234\001\"F"
+ "/v2/{placement=projects/*/locations/*/ca"
+ "talogs/*/placements/*}:predict:\001*ZO\"J/v2"
+ "/{placement=projects/*/locations/*/catal"
+ "ogs/*/servingConfigs/*}:predict:\001*\032I\312A\025r"
+ "etail.googleapis.com\322A.https://www.googl"
+ "eapis.com/auth/cloud-platformB\313\001\n\032com.go"
+ "ogle.cloud.retail.v2B\026PredictionServiceP"
+ "rotoP\001Z<google.golang.org/genproto/googl"
+ "eapis/cloud/retail/v2;retail\242\002\006RETAIL\252\002\026"
+ "Google.Cloud.Retail.V2\312\002\026Google\\Cloud\\Re"
+ "tail\\V2\352\002\031Google::Cloud::Retail::V2b\006pro"
+ "to3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand All @@ -109,7 +109,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.ClientProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.retail.v2.UserEventProto.getDescriptor(),
com.google.protobuf.StructProto.getDescriptor(),
});
Expand Down Expand Up @@ -181,7 +180,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.AnnotationsProto.getDescriptor();
com.google.api.ClientProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.retail.v2.UserEventProto.getDescriptor();
com.google.protobuf.StructProto.getDescriptor();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,62 +60,61 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ice.proto\022\026google.cloud.retail.v2\032\034googl"
+ "e/api/annotations.proto\032\027google/api/clie"
+ "nt.proto\032\037google/api/field_behavior.prot"
+ "o\032\031google/api/httpbody.proto\032\031google/api"
+ "/resource.proto\032*google/cloud/retail/v2/"
+ "import_config.proto\032)google/cloud/retail"
+ "/v2/purge_config.proto\032\'google/cloud/ret"
+ "ail/v2/user_event.proto\032#google/longrunn"
+ "ing/operations.proto\"h\n\025WriteUserEventRe"
+ "quest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022:\n\nuser_event"
+ "\030\002 \001(\0132!.google.cloud.retail.v2.UserEven"
+ "tB\003\340A\002\"a\n\027CollectUserEventRequest\022\023\n\006par"
+ "ent\030\001 \001(\tB\003\340A\002\022\027\n\nuser_event\030\002 \001(\tB\003\340A\002\022"
+ "\013\n\003uri\030\003 \001(\t\022\013\n\003ets\030\004 \001(\003\"\376\001\n\027RejoinUser"
+ "EventsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022e\n\027us"
+ "er_event_rejoin_scope\030\002 \001(\0162D.google.clo"
+ "ud.retail.v2.RejoinUserEventsRequest.Use"
+ "rEventRejoinScope\"g\n\024UserEventRejoinScop"
+ "e\022\'\n#USER_EVENT_REJOIN_SCOPE_UNSPECIFIED"
+ "\020\000\022\021\n\rJOINED_EVENTS\020\001\022\023\n\017UNJOINED_EVENTS"
+ "\020\002\">\n\030RejoinUserEventsResponse\022\"\n\032rejoin"
+ "ed_user_events_count\030\001 \001(\003\"\032\n\030RejoinUser"
+ "EventsMetadata2\277\t\n\020UserEventService\022\267\001\n\016"
+ "WriteUserEvent\022-.google.cloud.retail.v2."
+ "WriteUserEventRequest\032!.google.cloud.ret"
+ "ail.v2.UserEvent\"S\202\323\344\223\002M\"?/v2/{parent=pr"
+ "ojects/*/locations/*/catalogs/*}/userEve"
+ "nts:write:\nuser_event\022\244\001\n\020CollectUserEve"
+ "nt\022/.google.cloud.retail.v2.CollectUserE"
+ "ventRequest\032\024.google.api.HttpBody\"I\202\323\344\223\002"
+ "C\022A/v2/{parent=projects/*/locations/*/ca"
+ "talogs/*}/userEvents:collect\022\206\002\n\017PurgeUs"
+ "erEvents\022..google.cloud.retail.v2.PurgeU"
+ "o\032\031google/api/httpbody.proto\032*google/clo"
+ "ud/retail/v2/import_config.proto\032)google"
+ "/cloud/retail/v2/purge_config.proto\032\'goo"
+ "gle/cloud/retail/v2/user_event.proto\032#go"
+ "ogle/longrunning/operations.proto\"h\n\025Wri"
+ "teUserEventRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022"
+ ":\n\nuser_event\030\002 \001(\0132!.google.cloud.retai"
+ "l.v2.UserEventB\003\340A\002\"a\n\027CollectUserEventR"
+ "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\027\n\nuser_even"
+ "t\030\002 \001(\tB\003\340A\002\022\013\n\003uri\030\003 \001(\t\022\013\n\003ets\030\004 \001(\003\"\376"
+ "\001\n\027RejoinUserEventsRequest\022\023\n\006parent\030\001 \001"
+ "(\tB\003\340A\002\022e\n\027user_event_rejoin_scope\030\002 \001(\016"
+ "2D.google.cloud.retail.v2.RejoinUserEven"
+ "tsRequest.UserEventRejoinScope\"g\n\024UserEv"
+ "entRejoinScope\022\'\n#USER_EVENT_REJOIN_SCOP"
+ "E_UNSPECIFIED\020\000\022\021\n\rJOINED_EVENTS\020\001\022\023\n\017UN"
+ "JOINED_EVENTS\020\002\">\n\030RejoinUserEventsRespo"
+ "nse\022\"\n\032rejoined_user_events_count\030\001 \001(\003\""
+ "\032\n\030RejoinUserEventsMetadata2\277\t\n\020UserEven"
+ "tService\022\267\001\n\016WriteUserEvent\022-.google.clo"
+ "ud.retail.v2.WriteUserEventRequest\032!.goo"
+ "gle.cloud.retail.v2.UserEvent\"S\202\323\344\223\002M\"?/"
+ "v2/{parent=projects/*/locations/*/catalo"
+ "gs/*}/userEvents:write:\nuser_event\022\244\001\n\020C"
+ "ollectUserEvent\022/.google.cloud.retail.v2"
+ ".CollectUserEventRequest\032\024.google.api.Ht"
+ "tpBody\"I\202\323\344\223\002C\022A/v2/{parent=projects/*/l"
+ "ocations/*/catalogs/*}/userEvents:collec"
+ "t\022\206\002\n\017PurgeUserEvents\022..google.cloud.ret"
+ "ail.v2.PurgeUserEventsRequest\032\035.google.l"
+ "ongrunning.Operation\"\243\001\202\323\344\223\002D\"?/v2/{pare"
+ "nt=projects/*/locations/*/catalogs/*}/us"
+ "erEvents:purge:\001*\312AV\n.google.cloud.retai"
+ "l.v2.PurgeUserEventsResponse\022$google.clo"
+ "ud.retail.v2.PurgeMetadata\022\213\002\n\020ImportUse"
+ "rEvents\022/.google.cloud.retail.v2.ImportU"
+ "serEventsRequest\032\035.google.longrunning.Op"
+ "eration\"\243\001\202\323\344\223\002D\"?/v2/{parent=projects/*"
+ "/locations/*/catalogs/*}/userEvents:purg"
+ "e:\001*\312AV\n.google.cloud.retail.v2.PurgeUse"
+ "rEventsResponse\022$google.cloud.retail.v2."
+ "PurgeMetadata\022\213\002\n\020ImportUserEvents\022/.goo"
+ "gle.cloud.retail.v2.ImportUserEventsRequ"
+ "est\032\035.google.longrunning.Operation\"\246\001\202\323\344"
+ "\223\002E\"@/v2/{parent=projects/*/locations/*/"
+ "catalogs/*}/userEvents:import:\001*\312AX\n/goo"
+ "gle.cloud.retail.v2.ImportUserEventsResp"
+ "onse\022%google.cloud.retail.v2.ImportMetad"
+ "ata\022\347\001\n\020RejoinUserEvents\022/.google.cloud."
+ "retail.v2.RejoinUserEventsRequest\032\035.goog"
+ "le.longrunning.Operation\"\202\001\202\323\344\223\002E\"@/v2/{"
+ "parent=projects/*/locations/*/catalogs/*"
+ "}/userEvents:rejoin:\001*\312A4\n\030RejoinUserEve"
+ "ntsResponse\022\030RejoinUserEventsMetadata\032I\312"
+ "A\025retail.googleapis.com\322A.https://www.go"
+ "ogleapis.com/auth/cloud-platformB\312\001\n\032com"
+ ".google.cloud.retail.v2B\025UserEventServic"
+ "eProtoP\001Z<google.golang.org/genproto/goo"
+ "gleapis/cloud/retail/v2;retail\242\002\006RETAIL\252"
+ "\002\026Google.Cloud.Retail.V2\312\002\026Google\\Cloud\\"
+ "Retail\\V2\352\002\031Google::Cloud::Retail::V2b\006p"
+ "roto3"
+ "eration\"\246\001\202\323\344\223\002E\"@/v2/{parent=projects/*"
+ "/locations/*/catalogs/*}/userEvents:impo"
+ "rt:\001*\312AX\n/google.cloud.retail.v2.ImportU"
+ "serEventsResponse\022%google.cloud.retail.v"
+ "2.ImportMetadata\022\347\001\n\020RejoinUserEvents\022/."
+ "google.cloud.retail.v2.RejoinUserEventsR"
+ "equest\032\035.google.longrunning.Operation\"\202\001"
+ "\202\323\344\223\002E\"@/v2/{parent=projects/*/locations"
+ "/*/catalogs/*}/userEvents:rejoin:\001*\312A4\n\030"
+ "RejoinUserEventsResponse\022\030RejoinUserEven"
+ "tsMetadata\032I\312A\025retail.googleapis.com\322A.h"
+ "ttps://www.googleapis.com/auth/cloud-pla"
+ "tformB\312\001\n\032com.google.cloud.retail.v2B\025Us"
+ "erEventServiceProtoP\001Z<google.golang.org"
+ "/genproto/googleapis/cloud/retail/v2;ret"
+ "ail\242\002\006RETAIL\252\002\026Google.Cloud.Retail.V2\312\002\026"
+ "Google\\Cloud\\Retail\\V2\352\002\031Google::Cloud::"
+ "Retail::V2b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand All @@ -125,7 +124,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ClientProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.HttpBodyProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.retail.v2.ImportConfigProto.getDescriptor(),
com.google.cloud.retail.v2.PurgeConfigProto.getDescriptor(),
com.google.cloud.retail.v2.UserEventProto.getDescriptor(),
Expand Down Expand Up @@ -182,7 +180,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.ClientProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.HttpBodyProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.retail.v2.ImportConfigProto.getDescriptor();
com.google.cloud.retail.v2.PurgeConfigProto.getDescriptor();
com.google.cloud.retail.v2.UserEventProto.getDescriptor();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ package google.cloud.retail.v2;
import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/cloud/retail/v2/user_event.proto";
import "google/protobuf/struct.proto";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/api/field_behavior.proto";
import "google/api/httpbody.proto";
import "google/api/resource.proto";
import "google/cloud/retail/v2/import_config.proto";
import "google/cloud/retail/v2/purge_config.proto";
import "google/cloud/retail/v2/user_event.proto";
Expand Down
Loading

0 comments on commit ed07607

Please sign in to comment.