From 5c35263ba8e53a27973205b9caed2116a9a9e028 Mon Sep 17 00:00:00 2001 From: Menghan Li Date: Thu, 21 May 2020 13:20:06 -0700 Subject: [PATCH] internal: update rls.pb.go (#3637) --- .../internal/proto/grpc_lookup_v1/rls.pb.go | 60 +++++++------------ 1 file changed, 23 insertions(+), 37 deletions(-) diff --git a/balancer/rls/internal/proto/grpc_lookup_v1/rls.pb.go b/balancer/rls/internal/proto/grpc_lookup_v1/rls.pb.go index 57cb1c93..a3a3f811 100644 --- a/balancer/rls/internal/proto/grpc_lookup_v1/rls.pb.go +++ b/balancer/rls/internal/proto/grpc_lookup_v1/rls.pb.go @@ -95,15 +95,9 @@ func (m *RouteLookupRequest) GetKeyMap() map[string]string { } type RouteLookupResponse struct { - // Actual addressable entity to use for routing decision, using syntax - // requested by the request target_type. - // This field is deprecated in favor of the new "targets" field, below. - Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // Deprecated: Do not use. // Prioritized list (best one first) of addressable entities to use // for routing, using syntax requested by the request target_type. // The targets will be tried in order until a healthy one is found. - // If present, it should be used by proxy/gRPC client code instead of - // "target" (which is deprecated). Targets []string `protobuf:"bytes,3,rep,name=targets,proto3" json:"targets,omitempty"` // Optional header value to pass along to AFE in the X-Google-RLS-Data header. // Cached with "target" and sent with all requests that match the request key. @@ -139,14 +133,6 @@ func (m *RouteLookupResponse) XXX_DiscardUnknown() { var xxx_messageInfo_RouteLookupResponse proto.InternalMessageInfo -// Deprecated: Do not use. -func (m *RouteLookupResponse) GetTarget() string { - if m != nil { - return m.Target - } - return "" -} - func (m *RouteLookupResponse) GetTargets() []string { if m != nil { return m.Targets @@ -170,29 +156,29 @@ func init() { func init() { proto.RegisterFile("grpc/lookup/v1/rls.proto", fileDescriptor_3bab962d3362f3ca) } var fileDescriptor_3bab962d3362f3ca = []byte{ - // 343 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0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 0xe7, 0x58, 0x77, 0x09, 0x1b, 0x49, 0x0e, 0xe1, 0x77, 0xc5, 0x45, 0x89, 0x5d, 0x3e, 0x67, - 0x2e, 0x7b, 0xe7, 0x5e, 0x24, 0xe0, 0x60, 0xaf, 0x89, 0x51, 0xb2, 0x30, 0x48, 0x46, 0x10, 0xb8, - 0xa0, 0xee, 0x2b, 0xf3, 0x1e, 0xf5, 0x92, 0x8e, 0x10, 0x0a, 0x03, 0xa7, 0x0c, 0xf5, 0xc7, 0xfe, - 0x64, 0x98, 0x7c, 0xd8, 0x66, 0xe2, 0x0d, 0xf2, 0x35, 0xea, 0x74, 0xcd, 0x2d, 0xef, 0x9a, 0x81, - 0x43, 0x57, 0xdc, 0xf2, 0x59, 0xb1, 0xb7, 0xd4, 0x7b, 0xd4, 0xd5, 0x76, 0x85, 0xe4, 0x11, 0xc2, - 0x1d, 0x4a, 0xa2, 0x9f, 0xb7, 0x30, 0x3a, 0xf9, 0xf6, 0x8d, 0x1b, 0x22, 0xfa, 0x35, 0x5f, 0xc0, - 0xff, 0xad, 0xfc, 0xf4, 0x74, 0xfe, 0x27, 0x11, 0x66, 0xd9, 0xfc, 0xf4, 0xa5, 0xf7, 0x74, 0x9a, - 0x49, 0x99, 0x09, 0x64, 0x99, 0x14, 0xbc, 0xc8, 0x98, 0xd4, 0x59, 0xbc, 0x7b, 0x22, 0x8d, 0x4e, - 0x9d, 0x4e, 0xab, 0xe9, 0x73, 0xd0, 0xde, 0xca, 0xd9, 0x7b, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf5, - 0x11, 0x43, 0x0e, 0x47, 0x02, 0x00, 0x00, + // 341 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xd1, 0x4b, 0xeb, 0x30, + 0x14, 0xc6, 0x6f, 0xd7, 0xdd, 0x6e, 0x3b, 0x85, 0xcb, 0x6e, 0xee, 0x45, 0xca,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x9d, 0xf0, 0x09, 0xfe, 0xed, 0x5d, 0xa2, 0xa5, 0xc8, 0x35, 0x92, 0x00, + 0x7a, 0x16, 0x54, 0x07, 0xee, 0xd8, 0x9d, 0x0c, 0xe2, 0x0f, 0x5b, 0x4f, 0xb5, 0x41, 0xb6, 0x46, + 0x95, 0xac, 0x99, 0x61, 0xed, 0x81, 0x60, 0xa3, 0x0b, 0x66, 0xd8, 0x75, 0xb7, 0xef, 0x0c, 0x3b, + 0xb1, 0x67, 0xfb, 0x67, 0xf9, 0xde, 0x33, 0xde, 0xa1, 0x2a, 0xb7, 0x2b, 0x24, 0x0f, 0xe0, 0xef, + 0xa4, 0x24, 0xfc, 0x79, 0xee, 0xd1, 0xd1, 0xb7, 0x3d, 0x16, 0x3b, 0xfc, 0x35, 0x5f, 0xc0, 0xdf, + 0xad, 0xf8, 0xd4, 0x3a, 0xef, 0xc7, 0x99, 0x5e, 0xd6, 0xdf, 0xbc, 0x74, 0x1e, 0x8f, 0xb9, 0x10, + 0x3c, 0x43, 0xca, 0x45, 0xc6, 0x72, 0x4e, 0x85, 0xe2, 0xd1, 0xee, 0x52, 0xd4, 0x3a, 0xb1, 0x3a, + 0x29, 0xa7, 0xcf, 0x5e, 0xb3, 0x1d, 0x27, 0xef, 0x01, 0x00, 0x00, 0xff, 0xff, 0xca, 0x8d, 0x5c, + 0xc7, 0x39, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used.