Skip to content

Commit

Permalink
Merge pull request #202 from yuanchunchen/Change_Google_Api_Proto_Fil…
Browse files Browse the repository at this point in the history
…e_Depand_to_Google.Api.CommonProtos

Change google api proto file depend, from Google.Api.CommonProtos.
  • Loading branch information
shubhamranjan committed Feb 4, 2024
2 parents 8e0a4db + 30f44ef commit cc49189
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 1,333 deletions.
1 change: 1 addition & 0 deletions dotnet-etcd/dotnet-etcd.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
</TargetFrameworks>
<TargetFrameworks Condition="'$(LibraryFrameworks)'!=''">$(LibraryFrameworks)</TargetFrameworks>
<RootNamespace>dotnet_etcd</RootNamespace>
<IncludeGoogleApiCommonProtos>True</IncludeGoogleApiCommonProtos>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<RepositoryUrl>https://github.com/shubhamranjan/dotnet-etcd</RepositoryUrl>
Expand Down
2 changes: 1 addition & 1 deletion dotnet-etcd/grpc/proto/etcd/election.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "grpc/proto/etcd/rpc.proto";
import "grpc/proto/etcd/kv.proto";

// for grpc-gateway
import "grpc/proto/google/api/annotations.proto";
import "google/api/annotations.proto";

option (gogoproto.marshaler_all) = true;
option (gogoproto.unmarshaler_all) = true;
Expand Down
2 changes: 1 addition & 1 deletion dotnet-etcd/grpc/proto/etcd/lock.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "grpc/proto/gogoproto/gogo.proto";
import "grpc/proto/etcd/rpc.proto";

// for grpc-gateway
import "grpc/proto/google/api/annotations.proto";
import "google/api/annotations.proto";

option (gogoproto.marshaler_all) = true;
option (gogoproto.unmarshaler_all) = true;
Expand Down
2 changes: 1 addition & 1 deletion dotnet-etcd/grpc/proto/etcd/rpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "grpc/proto/etcd/auth.proto";
import "grpc/proto/etcd/version.proto";

// for grpc-gateway
import "grpc/proto/google/api/annotations.proto";
import "google/api/annotations.proto";

option (gogoproto.marshaler_all) = true;
option (gogoproto.unmarshaler_all) = true;
Expand Down
2 changes: 1 addition & 1 deletion dotnet-etcd/grpc/proto/etcd/version.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package versionpb;

import "grpc/proto/gogoproto/gogo.proto";
import "grpc/proto/google/protobuf/descriptor.proto";
import "google/protobuf/descriptor.proto";

option (gogoproto.marshaler_all) = true;
option (gogoproto.unmarshaler_all) = true;
Expand Down
2 changes: 1 addition & 1 deletion dotnet-etcd/grpc/proto/gogoproto/gogo.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
syntax = "proto2";
package gogoproto;

import "grpc/proto/google/protobuf/descriptor.proto";
import "google/protobuf/descriptor.proto";

option java_package = "com.google.protobuf";
option java_outer_classname = "GoGoProtos";
Expand Down
32 changes: 0 additions & 32 deletions dotnet-etcd/grpc/proto/google/api/annotations.proto

This file was deleted.

0 comments on commit cc49189

Please sign in to comment.