You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

158 lines
6.1 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/api/expr/v1alpha1/explain.proto
  3. package expr // import "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  16. // Values of intermediate expressions produced when evaluating expression.
  17. // Deprecated, use `EvalState` instead.
  18. //
  19. // Deprecated: Do not use.
  20. type Explain struct {
  21. // All of the observed values.
  22. //
  23. // The field value_index is an index in the values list.
  24. // Separating values from steps is needed to remove redundant values.
  25. Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
  26. // List of steps.
  27. //
  28. // Repeated evaluations of the same expression generate new ExprStep
  29. // instances. The order of such ExprStep instances matches the order of
  30. // elements returned by Comprehension.iter_range.
  31. ExprSteps []*Explain_ExprStep `protobuf:"bytes,2,rep,name=expr_steps,json=exprSteps,proto3" json:"expr_steps,omitempty"`
  32. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  33. XXX_unrecognized []byte `json:"-"`
  34. XXX_sizecache int32 `json:"-"`
  35. }
  36. func (m *Explain) Reset() { *m = Explain{} }
  37. func (m *Explain) String() string { return proto.CompactTextString(m) }
  38. func (*Explain) ProtoMessage() {}
  39. func (*Explain) Descriptor() ([]byte, []int) {
  40. return fileDescriptor_explain_fcb87931845c5427, []int{0}
  41. }
  42. func (m *Explain) XXX_Unmarshal(b []byte) error {
  43. return xxx_messageInfo_Explain.Unmarshal(m, b)
  44. }
  45. func (m *Explain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  46. return xxx_messageInfo_Explain.Marshal(b, m, deterministic)
  47. }
  48. func (dst *Explain) XXX_Merge(src proto.Message) {
  49. xxx_messageInfo_Explain.Merge(dst, src)
  50. }
  51. func (m *Explain) XXX_Size() int {
  52. return xxx_messageInfo_Explain.Size(m)
  53. }
  54. func (m *Explain) XXX_DiscardUnknown() {
  55. xxx_messageInfo_Explain.DiscardUnknown(m)
  56. }
  57. var xxx_messageInfo_Explain proto.InternalMessageInfo
  58. func (m *Explain) GetValues() []*Value {
  59. if m != nil {
  60. return m.Values
  61. }
  62. return nil
  63. }
  64. func (m *Explain) GetExprSteps() []*Explain_ExprStep {
  65. if m != nil {
  66. return m.ExprSteps
  67. }
  68. return nil
  69. }
  70. // ID and value index of one step.
  71. type Explain_ExprStep struct {
  72. // ID of corresponding Expr node.
  73. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  74. // Index of the value in the values list.
  75. ValueIndex int32 `protobuf:"varint,2,opt,name=value_index,json=valueIndex,proto3" json:"value_index,omitempty"`
  76. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  77. XXX_unrecognized []byte `json:"-"`
  78. XXX_sizecache int32 `json:"-"`
  79. }
  80. func (m *Explain_ExprStep) Reset() { *m = Explain_ExprStep{} }
  81. func (m *Explain_ExprStep) String() string { return proto.CompactTextString(m) }
  82. func (*Explain_ExprStep) ProtoMessage() {}
  83. func (*Explain_ExprStep) Descriptor() ([]byte, []int) {
  84. return fileDescriptor_explain_fcb87931845c5427, []int{0, 0}
  85. }
  86. func (m *Explain_ExprStep) XXX_Unmarshal(b []byte) error {
  87. return xxx_messageInfo_Explain_ExprStep.Unmarshal(m, b)
  88. }
  89. func (m *Explain_ExprStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  90. return xxx_messageInfo_Explain_ExprStep.Marshal(b, m, deterministic)
  91. }
  92. func (dst *Explain_ExprStep) XXX_Merge(src proto.Message) {
  93. xxx_messageInfo_Explain_ExprStep.Merge(dst, src)
  94. }
  95. func (m *Explain_ExprStep) XXX_Size() int {
  96. return xxx_messageInfo_Explain_ExprStep.Size(m)
  97. }
  98. func (m *Explain_ExprStep) XXX_DiscardUnknown() {
  99. xxx_messageInfo_Explain_ExprStep.DiscardUnknown(m)
  100. }
  101. var xxx_messageInfo_Explain_ExprStep proto.InternalMessageInfo
  102. func (m *Explain_ExprStep) GetId() int64 {
  103. if m != nil {
  104. return m.Id
  105. }
  106. return 0
  107. }
  108. func (m *Explain_ExprStep) GetValueIndex() int32 {
  109. if m != nil {
  110. return m.ValueIndex
  111. }
  112. return 0
  113. }
  114. func init() {
  115. proto.RegisterType((*Explain)(nil), "google.api.expr.v1alpha1.Explain")
  116. proto.RegisterType((*Explain_ExprStep)(nil), "google.api.expr.v1alpha1.Explain.ExprStep")
  117. }
  118. func init() {
  119. proto.RegisterFile("google/api/expr/v1alpha1/explain.proto", fileDescriptor_explain_fcb87931845c5427)
  120. }
  121. var fileDescriptor_explain_fcb87931845c5427 = []byte{
  122. // 261 bytes of a gzipped FileDescriptorProto
  123. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0xb1, 0x4b, 0x03, 0x31,
  124. 0x14, 0xc6, 0x79, 0x29, 0x56, 0x7d, 0x15, 0x87, 0x4c, 0xa1, 0x08, 0x3d, 0x44, 0xe4, 0x70, 0x48,
  125. 0xa8, 0x0e, 0x82, 0x75, 0x2a, 0x38, 0x74, 0x2b, 0x27, 0x38, 0xb8, 0x94, 0xe8, 0x85, 0x18, 0x88,
  126. 0x97, 0x70, 0x39, 0x4b, 0xff, 0x4a, 0xff, 0x1e, 0x47, 0x49, 0x2e, 0x37, 0x95, 0x9b, 0xee, 0xde,
  127. 0xfb, 0x7e, 0xdf, 0xf7, 0x91, 0x87, 0xb7, 0xda, 0x39, 0x6d, 0x95, 0x90, 0xde, 0x08, 0x75, 0xf0,
  128. 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0xb9,
  139. 0x9e, 0xb2, 0x01, 0x00, 0x00,
  140. }