// Copyright 2025 Google LLC // // 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. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v4.24.4 // source: google/api/expr/conformance/v1alpha1/conformance_service.proto package confpb import ( context "context" reflect "reflect" sync "sync" _ "google.golang.org/genproto/googleapis/api/annotations" v1alpha1 "google.golang.org/genproto/googleapis/api/expr/v1alpha1" status "google.golang.org/genproto/googleapis/rpc/status" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status1 "google.golang.org/grpc/status" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // Severities of issues. type IssueDetails_Severity int32 const ( // An unspecified severity. IssueDetails_SEVERITY_UNSPECIFIED IssueDetails_Severity = 0 // Deprecation issue for statements and method that may no longer be // supported or maintained. IssueDetails_DEPRECATION IssueDetails_Severity = 1 // Warnings such as: unused variables. IssueDetails_WARNING IssueDetails_Severity = 2 // Errors such as: unmatched curly braces or variable redefinition. IssueDetails_ERROR IssueDetails_Severity = 3 ) // Enum value maps for IssueDetails_Severity. var ( IssueDetails_Severity_name = map[int32]string{ 0: "SEVERITY_UNSPECIFIED", 1: "DEPRECATION", 2: "WARNING", 3: "ERROR", } IssueDetails_Severity_value = map[string]int32{ "SEVERITY_UNSPECIFIED": 0, "DEPRECATION": 1, "WARNING": 2, "ERROR": 3, } ) func (x IssueDetails_Severity) Enum() *IssueDetails_Severity { p := new(IssueDetails_Severity) *p = x return p } func (x IssueDetails_Severity) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (IssueDetails_Severity) Descriptor() protoreflect.EnumDescriptor { return file_google_api_expr_conformance_v1alpha1_conformance_service_proto_enumTypes[0].Descriptor() } func (IssueDetails_Severity) Type() protoreflect.EnumType { return &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_enumTypes[0] } func (x IssueDetails_Severity) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use IssueDetails_Severity.Descriptor instead. func (IssueDetails_Severity) EnumDescriptor() ([]byte, []int) { return file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDescGZIP(), []int{7, 0} } // Request message for the Parse method. type ParseRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. Source text in CEL syntax. CelSource string `protobuf:"bytes,1,opt,name=cel_source,json=celSource,proto3" json:"cel_source,omitempty"` // Tag for version of CEL syntax, for future use. SyntaxVersion string `protobuf:"bytes,2,opt,name=syntax_version,json=syntaxVersion,proto3" json:"syntax_version,omitempty"` // File or resource for source text, used in [SourceInfo][google.api.SourceInfo]. SourceLocation string `protobuf:"bytes,3,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"` // Prevent macro expansion. See "Macros" in Language Defiinition. DisableMacros bool `protobuf:"varint,4,opt,name=disable_macros,json=disableMacros,proto3" json:"disable_macros,omitempty"` } func (x *ParseRequest) Reset() { *x = ParseRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ParseRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ParseRequest) ProtoMessage() {} func (x *ParseRequest) ProtoReflect() protoreflect.Message { mi := &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ParseRequest.ProtoReflect.Descriptor instead. func (*ParseRequest) Descriptor() ([]byte, []int) { return file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDescGZIP(), []int{0} } func (x *ParseRequest) GetCelSource() string { if x != nil { return x.CelSource } return "" } func (x *ParseRequest) GetSyntaxVersion() string { if x != nil { return x.SyntaxVersion } return "" } func (x *ParseRequest) GetSourceLocation() string { if x != nil { return x.SourceLocation } return "" } func (x *ParseRequest) GetDisableMacros() bool { if x != nil { return x.DisableMacros } return false } // Response message for the Parse method. type ParseResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The parsed representation, or unset if parsing failed. ParsedExpr *v1alpha1.ParsedExpr `protobuf:"bytes,1,opt,name=parsed_expr,json=parsedExpr,proto3" json:"parsed_expr,omitempty"` // Any number of issues with [StatusDetails][] as the details. Issues []*status.Status `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"` } func (x *ParseResponse) Reset() { *x = ParseResponse{} if protoimpl.UnsafeEnabled { mi := &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ParseResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ParseResponse) ProtoMessage() {} func (x *ParseResponse) ProtoReflect() protoreflect.Message { mi := &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ParseResponse.ProtoReflect.Descriptor instead. func (*ParseResponse) Descriptor() ([]byte, []int) { return file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDescGZIP(), []int{1} } func (x *ParseResponse) GetParsedExpr() *v1alpha1.ParsedExpr { if x != nil { return x.ParsedExpr } return nil } func (x *ParseResponse) GetIssues() []*status.Status { if x != nil { return x.Issues } return nil } // Request message for the Check method. type CheckRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. The parsed representation of the CEL program. ParsedExpr *v1alpha1.ParsedExpr `protobuf:"bytes,1,opt,name=parsed_expr,json=parsedExpr,proto3" json:"parsed_expr,omitempty"` // Declarations of types for external variables and functions. // Required if program uses external variables or functions // not in the default environment. TypeEnv []*v1alpha1.Decl `protobuf:"bytes,2,rep,name=type_env,json=typeEnv,proto3" json:"type_env,omitempty"` // The protocol buffer context. See "Name Resolution" in the // Language Definition. Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"` // If true, use only the declarations in [type_env][google.api.expr.conformance.v1alpha1.CheckRequest.type_env]. If false (default), // add declarations for the standard definitions to the type environment. See // "Standard Definitions" in the Language Definition. NoStdEnv bool `protobuf:"varint,4,opt,name=no_std_env,json=noStdEnv,proto3" json:"no_std_env,omitempty"` } func (x *CheckRequest) Reset() { *x = CheckRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CheckRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckRequest) ProtoMessage() {} func (x *CheckRequest) ProtoReflect() protoreflect.Message { mi := &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead. func (*CheckRequest) Descriptor() ([]byte, []int) { return file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDescGZIP(), []int{2} } func (x *CheckRequest) GetParsedExpr() *v1alpha1.ParsedExpr { if x != nil { return x.ParsedExpr } return nil } func (x *CheckRequest) GetTypeEnv() []*v1alpha1.Decl { if x != nil { return x.TypeEnv } return nil } func (x *CheckRequest) GetContainer() string { if x != nil { return x.Container } return "" } func (x *CheckRequest) GetNoStdEnv() bool { if x != nil { return x.NoStdEnv } return false } // Response message for the Check method. type CheckResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The annotated representation, or unset if checking failed. CheckedExpr *v1alpha1.CheckedExpr `protobuf:"bytes,1,opt,name=checked_expr,json=checkedExpr,proto3" json:"checked_expr,omitempty"` // Any number of issues with [StatusDetails][] as the details. Issues []*status.Status `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"` } func (x *CheckResponse) Reset() { *x = CheckResponse{} if protoimpl.UnsafeEnabled { mi := &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CheckResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckResponse) ProtoMessage() {} func (x *CheckResponse) ProtoReflect() protoreflect.Message { mi := &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead. func (*CheckResponse) Descriptor() ([]byte, []int) { return file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDescGZIP(), []int{3} } func (x *CheckResponse) GetCheckedExpr() *v1alpha1.CheckedExpr { if x != nil { return x.CheckedExpr } return nil } func (x *CheckResponse) GetIssues() []*status.Status { if x != nil { return x.Issues } return nil } // Request message for the Eval method. type EvalRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Required. Either the parsed or annotated representation of the CEL program. // // Types that are assignable to ExprKind: // // *EvalRequest_ParsedExpr // *EvalRequest_CheckedExpr ExprKind isEvalRequest_ExprKind `protobuf_oneof:"expr_kind"` // Bindings for the external variables. The types SHOULD be compatible // with the type environment in [CheckRequest][google.api.expr.conformance.v1alpha1.CheckRequest], if checked. Bindings map[string]*v1alpha1.ExprValue `protobuf:"bytes,3,rep,name=bindings,proto3" json:"bindings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // SHOULD be the same container as used in [CheckRequest][google.api.expr.conformance.v1alpha1.CheckRequest], if checked. Container string `protobuf:"bytes,4,opt,name=container,proto3" json:"container,omitempty"` } func (x *EvalRequest) Reset() { *x = EvalRequest{} if protoimpl.UnsafeEnabled { mi := &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EvalRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*EvalRequest) ProtoMessage() {} func (x *EvalRequest) ProtoReflect() protoreflect.Message { mi := &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EvalRequest.ProtoReflect.Descriptor instead. func (*EvalRequest) Descriptor() ([]byte, []int) { return file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDescGZIP(), []int{4} } func (m *EvalRequest) GetExprKind() isEvalRequest_ExprKind { if m != nil { return m.ExprKind } return nil } func (x *EvalRequest) GetParsedExpr() *v1alpha1.ParsedExpr { if x, ok := x.GetExprKind().(*EvalRequest_ParsedExpr); ok { return x.ParsedExpr } return nil } func (x *EvalRequest) GetCheckedExpr() *v1alpha1.CheckedExpr { if x, ok := x.GetExprKind().(*EvalRequest_CheckedExpr); ok { return x.CheckedExpr } return nil } func (x *EvalRequest) GetBindings() map[string]*v1alpha1.ExprValue { if x != nil { return x.Bindings } return nil } func (x *EvalRequest) GetContainer() string { if x != nil { return x.Container } return "" } type isEvalRequest_ExprKind interface { isEvalRequest_ExprKind() } type EvalRequest_ParsedExpr struct { // Evaluate based on the parsed representation. ParsedExpr *v1alpha1.ParsedExpr `protobuf:"bytes,1,opt,name=parsed_expr,json=parsedExpr,proto3,oneof"` } type EvalRequest_CheckedExpr struct { // Evaluate based on the checked representation. CheckedExpr *v1alpha1.CheckedExpr `protobuf:"bytes,2,opt,name=checked_expr,json=checkedExpr,proto3,oneof"` } func (*EvalRequest_ParsedExpr) isEvalRequest_ExprKind() {} func (*EvalRequest_CheckedExpr) isEvalRequest_ExprKind() {} // Response message for the Eval method. type EvalResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The execution result, or unset if execution couldn't start. Result *v1alpha1.ExprValue `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // Any number of issues with [StatusDetails][] as the details. // Note that CEL execution errors are reified into [ExprValue][]. // Nevertheless, we'll allow out-of-band issues to be raised, // which also makes the replies more regular. Issues []*status.Status `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"` } func (x *EvalResponse) Reset() { *x = EvalResponse{} if protoimpl.UnsafeEnabled { mi := &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EvalResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*EvalResponse) ProtoMessage() {} func (x *EvalResponse) ProtoReflect() protoreflect.Message { mi := &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EvalResponse.ProtoReflect.Descriptor instead. func (*EvalResponse) Descriptor() ([]byte, []int) { return file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDescGZIP(), []int{5} } func (x *EvalResponse) GetResult() *v1alpha1.ExprValue { if x != nil { return x.Result } return nil } func (x *EvalResponse) GetIssues() []*status.Status { if x != nil { return x.Issues } return nil } // A specific position in source. type SourcePosition struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The source location name (e.g. file name). Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // The UTF-8 code unit offset. Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // The 1-based index of the starting line in the source text // where the issue occurs, or 0 if unknown. Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"` // The 0-based index of the starting position within the line of source text // where the issue occurs. Only meaningful if line is nonzero. Column int32 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"` } func (x *SourcePosition) Reset() { *x = SourcePosition{} if protoimpl.UnsafeEnabled { mi := &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *SourcePosition) String() string { return protoimpl.X.MessageStringOf(x) } func (*SourcePosition) ProtoMessage() {} func (x *SourcePosition) ProtoReflect() protoreflect.Message { mi := &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SourcePosition.ProtoReflect.Descriptor instead. func (*SourcePosition) Descriptor() ([]byte, []int) { return file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDescGZIP(), []int{6} } func (x *SourcePosition) GetLocation() string { if x != nil { return x.Location } return "" } func (x *SourcePosition) GetOffset() int32 { if x != nil { return x.Offset } return 0 } func (x *SourcePosition) GetLine() int32 { if x != nil { return x.Line } return 0 } func (x *SourcePosition) GetColumn() int32 { if x != nil { return x.Column } return 0 } // Warnings or errors in service execution are represented by // [google.rpc.Status][google.rpc.Status] messages, with the following message // in the details field. type IssueDetails struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // The severity of the issue. Severity IssueDetails_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=google.api.expr.conformance.v1alpha1.IssueDetails_Severity" json:"severity,omitempty"` // Position in the source, if known. Position *SourcePosition `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` // Expression ID from [Expr][], 0 if unknown. Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` } func (x *IssueDetails) Reset() { *x = IssueDetails{} if protoimpl.UnsafeEnabled { mi := &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *IssueDetails) String() string { return protoimpl.X.MessageStringOf(x) } func (*IssueDetails) ProtoMessage() {} func (x *IssueDetails) ProtoReflect() protoreflect.Message { mi := &file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use IssueDetails.ProtoReflect.Descriptor instead. func (*IssueDetails) Descriptor() ([]byte, []int) { return file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDescGZIP(), []int{7} } func (x *IssueDetails) GetSeverity() IssueDetails_Severity { if x != nil { return x.Severity } return IssueDetails_SEVERITY_UNSPECIFIED } func (x *IssueDetails) GetPosition() *SourcePosition { if x != nil { return x.Position } return nil } func (x *IssueDetails) GetId() int64 { if x != nil { return x.Id } return 0 } var File_google_api_expr_conformance_v1alpha1_conformance_service_proto protoreflect.FileDescriptor var file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDesc = []byte{ 0x0a, 0x3e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x70, 0x72, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x70, 0x72, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x70, 0x72, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x65, 0x76, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x70, 0x72, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa4, 0x01, 0x0a, 0x0c, 0x50, 0x61, 0x72, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x65, 0x6c, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x65, 0x6c, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x61, 0x63, 0x72, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x61, 0x63, 0x72, 0x6f, 0x73, 0x22, 0x82, 0x01, 0x0a, 0x0d, 0x50, 0x61, 0x72, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x73, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x64, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x73, 0x65, 0x64, 0x45, 0x78, 0x70, 0x72, 0x12, 0x2a, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x22, 0xcc, 0x01, 0x0a, 0x0c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x73, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x64, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x73, 0x65, 0x64, 0x45, 0x78, 0x70, 0x72, 0x12, 0x39, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x6e, 0x76, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x6c, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x76, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x0a, 0x6e, 0x6f, 0x5f, 0x73, 0x74, 0x64, 0x5f, 0x65, 0x6e, 0x76, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6e, 0x6f, 0x53, 0x74, 0x64, 0x45, 0x6e, 0x76, 0x22, 0x85, 0x01, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0b, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x70, 0x72, 0x12, 0x2a, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x22, 0x8c, 0x03, 0x0a, 0x0b, 0x45, 0x76, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x73, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x64, 0x45, 0x78, 0x70, 0x72, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x73, 0x65, 0x64, 0x45, 0x78, 0x70, 0x72, 0x12, 0x4a, 0x0a, 0x0c, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x70, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x70, 0x72, 0x12, 0x5b, 0x0a, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x1a, 0x60, 0x0a, 0x0d, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x39, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x65, 0x78, 0x70, 0x72, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x77, 0x0a, 0x0c, 0x45, 0x76, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x2a, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x65, 0x73, 0x22, 0x70, 0x0a, 0x0e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x22, 0x98, 0x02, 0x0a, 0x0c, 0x49, 0x73, 0x73, 0x75, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x57, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x50, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4d, 0x0a, 0x08, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x45, 0x50, 0x52, 0x45, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x32, 0x84, 0x03, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x72, 0x0a, 0x05, 0x50, 0x61, 0x72, 0x73, 0x65, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x72, 0x0a, 0x05, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x04, 0x45, 0x76, 0x61, 0x6c, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x1a, 0x15, 0xca, 0x41, 0x12, 0x63, 0x65, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x42, 0x94, 0x01, 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x43, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x70, 0x72, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x63, 0x6f, 0x6e, 0x66, 0x70, 0x62, 0xf8, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDescOnce sync.Once file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDescData = file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDesc ) func file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDescGZIP() []byte { file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDescOnce.Do(func() { file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDescData) }) return file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDescData } var file_google_api_expr_conformance_v1alpha1_conformance_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_google_api_expr_conformance_v1alpha1_conformance_service_proto_goTypes = []interface{}{ (IssueDetails_Severity)(0), // 0: google.api.expr.conformance.v1alpha1.IssueDetails.Severity (*ParseRequest)(nil), // 1: google.api.expr.conformance.v1alpha1.ParseRequest (*ParseResponse)(nil), // 2: google.api.expr.conformance.v1alpha1.ParseResponse (*CheckRequest)(nil), // 3: google.api.expr.conformance.v1alpha1.CheckRequest (*CheckResponse)(nil), // 4: google.api.expr.conformance.v1alpha1.CheckResponse (*EvalRequest)(nil), // 5: google.api.expr.conformance.v1alpha1.EvalRequest (*EvalResponse)(nil), // 6: google.api.expr.conformance.v1alpha1.EvalResponse (*SourcePosition)(nil), // 7: google.api.expr.conformance.v1alpha1.SourcePosition (*IssueDetails)(nil), // 8: google.api.expr.conformance.v1alpha1.IssueDetails nil, // 9: google.api.expr.conformance.v1alpha1.EvalRequest.BindingsEntry (*v1alpha1.ParsedExpr)(nil), // 10: google.api.expr.v1alpha1.ParsedExpr (*status.Status)(nil), // 11: google.rpc.Status (*v1alpha1.Decl)(nil), // 12: google.api.expr.v1alpha1.Decl (*v1alpha1.CheckedExpr)(nil), // 13: google.api.expr.v1alpha1.CheckedExpr (*v1alpha1.ExprValue)(nil), // 14: google.api.expr.v1alpha1.ExprValue } var file_google_api_expr_conformance_v1alpha1_conformance_service_proto_depIdxs = []int32{ 10, // 0: google.api.expr.conformance.v1alpha1.ParseResponse.parsed_expr:type_name -> google.api.expr.v1alpha1.ParsedExpr 11, // 1: google.api.expr.conformance.v1alpha1.ParseResponse.issues:type_name -> google.rpc.Status 10, // 2: google.api.expr.conformance.v1alpha1.CheckRequest.parsed_expr:type_name -> google.api.expr.v1alpha1.ParsedExpr 12, // 3: google.api.expr.conformance.v1alpha1.CheckRequest.type_env:type_name -> google.api.expr.v1alpha1.Decl 13, // 4: google.api.expr.conformance.v1alpha1.CheckResponse.checked_expr:type_name -> google.api.expr.v1alpha1.CheckedExpr 11, // 5: google.api.expr.conformance.v1alpha1.CheckResponse.issues:type_name -> google.rpc.Status 10, // 6: google.api.expr.conformance.v1alpha1.EvalRequest.parsed_expr:type_name -> google.api.expr.v1alpha1.ParsedExpr 13, // 7: google.api.expr.conformance.v1alpha1.EvalRequest.checked_expr:type_name -> google.api.expr.v1alpha1.CheckedExpr 9, // 8: google.api.expr.conformance.v1alpha1.EvalRequest.bindings:type_name -> google.api.expr.conformance.v1alpha1.EvalRequest.BindingsEntry 14, // 9: google.api.expr.conformance.v1alpha1.EvalResponse.result:type_name -> google.api.expr.v1alpha1.ExprValue 11, // 10: google.api.expr.conformance.v1alpha1.EvalResponse.issues:type_name -> google.rpc.Status 0, // 11: google.api.expr.conformance.v1alpha1.IssueDetails.severity:type_name -> google.api.expr.conformance.v1alpha1.IssueDetails.Severity 7, // 12: google.api.expr.conformance.v1alpha1.IssueDetails.position:type_name -> google.api.expr.conformance.v1alpha1.SourcePosition 14, // 13: google.api.expr.conformance.v1alpha1.EvalRequest.BindingsEntry.value:type_name -> google.api.expr.v1alpha1.ExprValue 1, // 14: google.api.expr.conformance.v1alpha1.ConformanceService.Parse:input_type -> google.api.expr.conformance.v1alpha1.ParseRequest 3, // 15: google.api.expr.conformance.v1alpha1.ConformanceService.Check:input_type -> google.api.expr.conformance.v1alpha1.CheckRequest 5, // 16: google.api.expr.conformance.v1alpha1.ConformanceService.Eval:input_type -> google.api.expr.conformance.v1alpha1.EvalRequest 2, // 17: google.api.expr.conformance.v1alpha1.ConformanceService.Parse:output_type -> google.api.expr.conformance.v1alpha1.ParseResponse 4, // 18: google.api.expr.conformance.v1alpha1.ConformanceService.Check:output_type -> google.api.expr.conformance.v1alpha1.CheckResponse 6, // 19: google.api.expr.conformance.v1alpha1.ConformanceService.Eval:output_type -> google.api.expr.conformance.v1alpha1.EvalResponse 17, // [17:20] is the sub-list for method output_type 14, // [14:17] is the sub-list for method input_type 14, // [14:14] is the sub-list for extension type_name 14, // [14:14] is the sub-list for extension extendee 0, // [0:14] is the sub-list for field type_name } func init() { file_google_api_expr_conformance_v1alpha1_conformance_service_proto_init() } func file_google_api_expr_conformance_v1alpha1_conformance_service_proto_init() { if File_google_api_expr_conformance_v1alpha1_conformance_service_proto != nil { return } if !protoimpl.UnsafeEnabled { file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ParseRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ParseResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CheckRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CheckResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EvalRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EvalResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SourcePosition); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IssueDetails); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes[4].OneofWrappers = []interface{}{ (*EvalRequest_ParsedExpr)(nil), (*EvalRequest_CheckedExpr)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDesc, NumEnums: 1, NumMessages: 9, NumExtensions: 0, NumServices: 1, }, GoTypes: file_google_api_expr_conformance_v1alpha1_conformance_service_proto_goTypes, DependencyIndexes: file_google_api_expr_conformance_v1alpha1_conformance_service_proto_depIdxs, EnumInfos: file_google_api_expr_conformance_v1alpha1_conformance_service_proto_enumTypes, MessageInfos: file_google_api_expr_conformance_v1alpha1_conformance_service_proto_msgTypes, }.Build() File_google_api_expr_conformance_v1alpha1_conformance_service_proto = out.File file_google_api_expr_conformance_v1alpha1_conformance_service_proto_rawDesc = nil file_google_api_expr_conformance_v1alpha1_conformance_service_proto_goTypes = nil file_google_api_expr_conformance_v1alpha1_conformance_service_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // ConformanceServiceClient is the client API for ConformanceService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type ConformanceServiceClient interface { // Transforms CEL source text into a parsed representation. Parse(ctx context.Context, in *ParseRequest, opts ...grpc.CallOption) (*ParseResponse, error) // Runs static checks on a parsed CEL representation and return // an annotated representation, or a set of issues. Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) // Evaluates a parsed or annotation CEL representation given // values of external bindings. Eval(ctx context.Context, in *EvalRequest, opts ...grpc.CallOption) (*EvalResponse, error) } type conformanceServiceClient struct { cc grpc.ClientConnInterface } func NewConformanceServiceClient(cc grpc.ClientConnInterface) ConformanceServiceClient { return &conformanceServiceClient{cc} } func (c *conformanceServiceClient) Parse(ctx context.Context, in *ParseRequest, opts ...grpc.CallOption) (*ParseResponse, error) { out := new(ParseResponse) err := c.cc.Invoke(ctx, "/google.api.expr.conformance.v1alpha1.ConformanceService/Parse", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *conformanceServiceClient) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) { out := new(CheckResponse) err := c.cc.Invoke(ctx, "/google.api.expr.conformance.v1alpha1.ConformanceService/Check", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *conformanceServiceClient) Eval(ctx context.Context, in *EvalRequest, opts ...grpc.CallOption) (*EvalResponse, error) { out := new(EvalResponse) err := c.cc.Invoke(ctx, "/google.api.expr.conformance.v1alpha1.ConformanceService/Eval", in, out, opts...) if err != nil { return nil, err } return out, nil } // ConformanceServiceServer is the server API for ConformanceService service. type ConformanceServiceServer interface { // Transforms CEL source text into a parsed representation. Parse(context.Context, *ParseRequest) (*ParseResponse, error) // Runs static checks on a parsed CEL representation and return // an annotated representation, or a set of issues. Check(context.Context, *CheckRequest) (*CheckResponse, error) // Evaluates a parsed or annotation CEL representation given // values of external bindings. Eval(context.Context, *EvalRequest) (*EvalResponse, error) } // UnimplementedConformanceServiceServer can be embedded to have forward compatible implementations. type UnimplementedConformanceServiceServer struct { } func (*UnimplementedConformanceServiceServer) Parse(context.Context, *ParseRequest) (*ParseResponse, error) { return nil, status1.Errorf(codes.Unimplemented, "method Parse not implemented") } func (*UnimplementedConformanceServiceServer) Check(context.Context, *CheckRequest) (*CheckResponse, error) { return nil, status1.Errorf(codes.Unimplemented, "method Check not implemented") } func (*UnimplementedConformanceServiceServer) Eval(context.Context, *EvalRequest) (*EvalResponse, error) { return nil, status1.Errorf(codes.Unimplemented, "method Eval not implemented") } func RegisterConformanceServiceServer(s *grpc.Server, srv ConformanceServiceServer) { s.RegisterService(&_ConformanceService_serviceDesc, srv) } func _ConformanceService_Parse_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ParseRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ConformanceServiceServer).Parse(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.api.expr.conformance.v1alpha1.ConformanceService/Parse", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ConformanceServiceServer).Parse(ctx, req.(*ParseRequest)) } return interceptor(ctx, in, info, handler) } func _ConformanceService_Check_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CheckRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ConformanceServiceServer).Check(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.api.expr.conformance.v1alpha1.ConformanceService/Check", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ConformanceServiceServer).Check(ctx, req.(*CheckRequest)) } return interceptor(ctx, in, info, handler) } func _ConformanceService_Eval_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(EvalRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ConformanceServiceServer).Eval(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/google.api.expr.conformance.v1alpha1.ConformanceService/Eval", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ConformanceServiceServer).Eval(ctx, req.(*EvalRequest)) } return interceptor(ctx, in, info, handler) } var _ConformanceService_serviceDesc = grpc.ServiceDesc{ ServiceName: "google.api.expr.conformance.v1alpha1.ConformanceService", HandlerType: (*ConformanceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Parse", Handler: _ConformanceService_Parse_Handler, }, { MethodName: "Check", Handler: _ConformanceService_Check_Handler, }, { MethodName: "Eval", Handler: _ConformanceService_Eval_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/api/expr/conformance/v1alpha1/conformance_service.proto", }