aboutsummaryrefslogtreecommitdiff
path: root/alts
diff options
context:
space:
mode:
authorCarl Mastrangelo <notcarl@google.com>2018-04-26 14:48:11 -0700
committerGitHub <noreply@github.com>2018-04-26 14:48:11 -0700
commit6046831e580349d85a5e17f4bf793eb103f757b2 (patch)
tree015348b51e17e36069a98105cf4b54645f4e037d /alts
parent23fcedfb6ff144da3f2d767c3aa67490d2dd7f5d (diff)
downloadgrpc-grpc-java-6046831e580349d85a5e17f4bf793eb103f757b2.tar.gz
alts: make imported files have imports below package, and set licence
Diffstat (limited to 'alts')
-rw-r--r--alts/src/main/proto/grpc/gcp/altscontext.proto18
-rw-r--r--alts/src/main/proto/grpc/gcp/handshaker.proto18
-rw-r--r--alts/src/main/proto/grpc/gcp/transport_security_common.proto14
3 files changed, 46 insertions, 4 deletions
diff --git a/alts/src/main/proto/grpc/gcp/altscontext.proto b/alts/src/main/proto/grpc/gcp/altscontext.proto
index 30cc08272..48c2d6abd 100644
--- a/alts/src/main/proto/grpc/gcp/altscontext.proto
+++ b/alts/src/main/proto/grpc/gcp/altscontext.proto
@@ -1,9 +1,23 @@
-syntax = "proto3";
+// Copyright 2018 gRPC authors.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
-import "grpc/gcp/transport_security_common.proto";
+syntax = "proto3";
package grpc.gcp;
+import "grpc/gcp/transport_security_common.proto";
+
option java_package = "io.grpc.alts.internal";
message AltsContext {
diff --git a/alts/src/main/proto/grpc/gcp/handshaker.proto b/alts/src/main/proto/grpc/gcp/handshaker.proto
index feffe1f2a..b56f07113 100644
--- a/alts/src/main/proto/grpc/gcp/handshaker.proto
+++ b/alts/src/main/proto/grpc/gcp/handshaker.proto
@@ -1,9 +1,23 @@
-syntax = "proto3";
+// Copyright 2018 gRPC authors.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
-import "grpc/gcp/transport_security_common.proto";
+syntax = "proto3";
package grpc.gcp;
+import "grpc/gcp/transport_security_common.proto";
+
option java_package = "io.grpc.alts.internal";
enum HandshakeProtocol {
diff --git a/alts/src/main/proto/grpc/gcp/transport_security_common.proto b/alts/src/main/proto/grpc/gcp/transport_security_common.proto
index 70c090958..d0f861e64 100644
--- a/alts/src/main/proto/grpc/gcp/transport_security_common.proto
+++ b/alts/src/main/proto/grpc/gcp/transport_security_common.proto
@@ -1,3 +1,17 @@
+// Copyright 2018 gRPC authors.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
syntax = "proto3";
package grpc.gcp;