Skip to content

Commit

Permalink
credentials/alts: change ALTS protos to match the golden version (#1908)
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarghali authored Mar 8, 2018
1 parent 0843fd0 commit efcc755
Show file tree
Hide file tree
Showing 6 changed files with 126 additions and 113 deletions.
38 changes: 19 additions & 19 deletions credentials/alts/core/proto/grpc_gcp/altscontext.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion credentials/alts/core/proto/grpc_gcp/altscontext.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import "transport_security_common.proto";

package grpc.gcp;

option java_package = "io.grpc.alts";
option java_package = "io.grpc.alts.internal";

message AltsContext {
// The application protocol negotiated for this connection.
Expand Down
151 changes: 80 additions & 71 deletions credentials/alts/core/proto/grpc_gcp/handshaker.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions credentials/alts/core/proto/grpc_gcp/handshaker.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import "transport_security_common.proto";

package grpc.gcp;

option java_package = "io.grpc.alts";
option java_package = "io.grpc.alts.internal";

enum HandshakeProtocol {
// Default value.
Expand Down Expand Up @@ -212,8 +212,12 @@ message HandshakerResp {
}

service HandshakerService {
// Accepts a stream of handshaker request, returning a stream of handshaker
// response.
// Handshaker service accepts a stream of handshaker request, returning a
// stream of handshaker response. Client is expected to send exactly one
// message with either client_start or server_start followed by one or more
// messages with next. Each time client sends a request, the handshaker
// service expects to respond. Client does not have to wait for service's
// response before sending next request.
rpc DoHandshake(stream HandshakerReq)
returns (stream HandshakerResp) {
}
Expand Down
Loading

0 comments on commit efcc755

Please sign in to comment.