aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-10-29 01:26:30 +0200
committerGravatar David Garcia Quintas <dgq@google.com>2016-10-29 01:26:30 +0200
commit41752d6e7bb3b414139e854678bae2a962f0d82e (patch)
tree4de1a567770c2391c0bf12f4c5f6b5b382a38482 /src
parent2a23c60a4b7734623f3c1ae49478d182a25b6421 (diff)
Added max length comments for some lb proto fields
Diffstat (limited to 'src')
-rw-r--r--src/proto/grpc/lb/v1/load_balancer.proto6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/proto/grpc/lb/v1/load_balancer.proto b/src/proto/grpc/lb/v1/load_balancer.proto
index b6849c10d7..7736a14b9a 100644
--- a/src/proto/grpc/lb/v1/load_balancer.proto
+++ b/src/proto/grpc/lb/v1/load_balancer.proto
@@ -63,7 +63,8 @@ message LoadBalanceRequest {
}
message InitialLoadBalanceRequest {
- // Name of load balanced service (IE, service.grpc.gslb.google.com)
+ // Name of load balanced service (IE, service.grpc.gslb.google.com). Its
+ // length should be less than 128 bytes.
string name = 1;
}
@@ -95,7 +96,8 @@ message InitialLoadBalanceResponse {
// This is an application layer redirect that indicates the client should use
// the specified server for load balancing. When this field is non-empty in
// the response, the client should open a separate connection to the
- // load_balancer_delegate and call the BalanceLoad method.
+ // load_balancer_delegate and call the BalanceLoad method. Its length should
+ // be less than 64 bytes.
string load_balancer_delegate = 1;
// This interval defines how often the client should send the client stats