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.
 
 
 

163 lines
7.3 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/talent/v4beta1/histogram.proto
  3. package talent // import "google.golang.org/genproto/googleapis/cloud/talent/v4beta1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/golang/protobuf/ptypes/wrappers"
  8. import _ "google.golang.org/genproto/googleapis/api/annotations"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  18. // Input Only.
  19. //
  20. // The histogram request.
  21. type HistogramQuery struct {
  22. // An expression specifies a histogram request against matching resources
  23. // (for example, jobs, profiles) for searches.
  24. //
  25. // See
  26. // [SearchJobsRequest.histogram_queries][google.cloud.talent.v4beta1.SearchJobsRequest.histogram_queries]
  27. // and
  28. // [SearchProfilesRequest.histogram_queries][google.cloud.talent.v4beta1.SearchProfilesRequest.histogram_queries]
  29. // for details about syntax.
  30. HistogramQuery string `protobuf:"bytes,1,opt,name=histogram_query,json=histogramQuery,proto3" json:"histogram_query,omitempty"`
  31. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  32. XXX_unrecognized []byte `json:"-"`
  33. XXX_sizecache int32 `json:"-"`
  34. }
  35. func (m *HistogramQuery) Reset() { *m = HistogramQuery{} }
  36. func (m *HistogramQuery) String() string { return proto.CompactTextString(m) }
  37. func (*HistogramQuery) ProtoMessage() {}
  38. func (*HistogramQuery) Descriptor() ([]byte, []int) {
  39. return fileDescriptor_histogram_9cfe26ea9654e243, []int{0}
  40. }
  41. func (m *HistogramQuery) XXX_Unmarshal(b []byte) error {
  42. return xxx_messageInfo_HistogramQuery.Unmarshal(m, b)
  43. }
  44. func (m *HistogramQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  45. return xxx_messageInfo_HistogramQuery.Marshal(b, m, deterministic)
  46. }
  47. func (dst *HistogramQuery) XXX_Merge(src proto.Message) {
  48. xxx_messageInfo_HistogramQuery.Merge(dst, src)
  49. }
  50. func (m *HistogramQuery) XXX_Size() int {
  51. return xxx_messageInfo_HistogramQuery.Size(m)
  52. }
  53. func (m *HistogramQuery) XXX_DiscardUnknown() {
  54. xxx_messageInfo_HistogramQuery.DiscardUnknown(m)
  55. }
  56. var xxx_messageInfo_HistogramQuery proto.InternalMessageInfo
  57. func (m *HistogramQuery) GetHistogramQuery() string {
  58. if m != nil {
  59. return m.HistogramQuery
  60. }
  61. return ""
  62. }
  63. // Output only.
  64. //
  65. // Histogram result that matches [HistogramSpec][] specified in searches.
  66. type HistogramQueryResult struct {
  67. // Requested histogram expression.
  68. HistogramQuery string `protobuf:"bytes,1,opt,name=histogram_query,json=histogramQuery,proto3" json:"histogram_query,omitempty"`
  69. // A map from the values of the facet associated with distinct values to the
  70. // number of matching entries with corresponding value.
  71. //
  72. // The key format is:
  73. // * (for string histogram) string values stored in the field.
  74. // * (for named numeric bucket) name specified in `bucket()` function, like
  75. // for `bucket(0, MAX, "non-negative")`, the key will be `non-negative`.
  76. // * (for anonymous numeric bucket) range formatted as `<low>-<high>`, for
  77. // example, `0-1000`, `MIN-0`, and `0-MAX`.
  78. Histogram map[string]int64 `protobuf:"bytes,2,rep,name=histogram,proto3" json:"histogram,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  79. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  80. XXX_unrecognized []byte `json:"-"`
  81. XXX_sizecache int32 `json:"-"`
  82. }
  83. func (m *HistogramQueryResult) Reset() { *m = HistogramQueryResult{} }
  84. func (m *HistogramQueryResult) String() string { return proto.CompactTextString(m) }
  85. func (*HistogramQueryResult) ProtoMessage() {}
  86. func (*HistogramQueryResult) Descriptor() ([]byte, []int) {
  87. return fileDescriptor_histogram_9cfe26ea9654e243, []int{1}
  88. }
  89. func (m *HistogramQueryResult) XXX_Unmarshal(b []byte) error {
  90. return xxx_messageInfo_HistogramQueryResult.Unmarshal(m, b)
  91. }
  92. func (m *HistogramQueryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  93. return xxx_messageInfo_HistogramQueryResult.Marshal(b, m, deterministic)
  94. }
  95. func (dst *HistogramQueryResult) XXX_Merge(src proto.Message) {
  96. xxx_messageInfo_HistogramQueryResult.Merge(dst, src)
  97. }
  98. func (m *HistogramQueryResult) XXX_Size() int {
  99. return xxx_messageInfo_HistogramQueryResult.Size(m)
  100. }
  101. func (m *HistogramQueryResult) XXX_DiscardUnknown() {
  102. xxx_messageInfo_HistogramQueryResult.DiscardUnknown(m)
  103. }
  104. var xxx_messageInfo_HistogramQueryResult proto.InternalMessageInfo
  105. func (m *HistogramQueryResult) GetHistogramQuery() string {
  106. if m != nil {
  107. return m.HistogramQuery
  108. }
  109. return ""
  110. }
  111. func (m *HistogramQueryResult) GetHistogram() map[string]int64 {
  112. if m != nil {
  113. return m.Histogram
  114. }
  115. return nil
  116. }
  117. func init() {
  118. proto.RegisterType((*HistogramQuery)(nil), "google.cloud.talent.v4beta1.HistogramQuery")
  119. proto.RegisterType((*HistogramQueryResult)(nil), "google.cloud.talent.v4beta1.HistogramQueryResult")
  120. proto.RegisterMapType((map[string]int64)(nil), "google.cloud.talent.v4beta1.HistogramQueryResult.HistogramEntry")
  121. }
  122. func init() {
  123. proto.RegisterFile("google/cloud/talent/v4beta1/histogram.proto", fileDescriptor_histogram_9cfe26ea9654e243)
  124. }
  125. var fileDescriptor_histogram_9cfe26ea9654e243 = []byte{
  126. // 301 bytes of a gzipped FileDescriptorProto
  127. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4e, 0xcf, 0xcf, 0x4f,
  128. 0xcf, 0x49, 0xd5, 0x4f, 0xce, 0xc9, 0x2f, 0x4d, 0xd1, 0x2f, 0x49, 0xcc, 0x49, 0xcd, 0x2b, 0xd1,
  129. 0x2f, 0x33, 0x49, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0xcf, 0xc8, 0x2c, 0x2e, 0xc9, 0x4f, 0x2f, 0x4a,
  130. 0xcc, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x86, 0x28, 0xd6, 0x03, 0x2b, 0xd6, 0x83,
  131. 0x28, 0xd6, 0x83, 0x2a, 0x96, 0x92, 0x81, 0x9a, 0x94, 0x58, 0x90, 0xa9, 0x9f, 0x98, 0x97, 0x97,
  132. 0x5f, 0x92, 0x58, 0x92, 0x99, 0x9f, 0x57, 0x0c, 0xd1, 0x2a, 0x25, 0x07, 0x95, 0x05, 0xf3, 0x92,
  133. 0x4a, 0xd3, 0xf4, 0xcb, 0x8b, 0x12, 0x0b, 0x0a, 0x52, 0x8b, 0xa0, 0xf2, 0x4a, 0x96, 0x5c, 0x7c,
  134. 0x1e, 0x30, 0xdb, 0x02, 0x4b, 0x53, 0x8b, 0x2a, 0x85, 0xd4, 0xb9, 0xf8, 0xe1, 0xf6, 0xc7, 0x17,
  135. 0x82, 0x84, 0x24, 0x18, 0x15, 0x18, 0x35, 0x38, 0x83, 0xf8, 0x32, 0x50, 0x14, 0x2a, 0xdd, 0x65,
  136. 0xe4, 0x12, 0x41, 0xd5, 0x1b, 0x94, 0x5a, 0x5c, 0x9a, 0x53, 0x42, 0xb4, 0x09, 0x42, 0x71, 0x5c,
  137. 0x9c, 0x70, 0x11, 0x09, 0x26, 0x05, 0x66, 0x0d, 0x6e, 0x23, 0x07, 0x3d, 0x3c, 0x7e, 0xd5, 0xc3,
  138. 0x66, 0x1d, 0x42, 0xd0, 0x35, 0xaf, 0xa4, 0xa8, 0x32, 0x08, 0x61, 0xa4, 0x94, 0x0d, 0x92, 0xe7,
  139. 0xc0, 0x92, 0x42, 0x02, 0x5c, 0xcc, 0xd9, 0xa9, 0x30, 0xe7, 0x80, 0x98, 0x42, 0x22, 0x5c, 0xac,
  140. 0x65, 0x89, 0x39, 0xa5, 0xa9, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x10, 0x8e, 0x15, 0x93,
  141. 0x05, 0xa3, 0x53, 0x0d, 0x97, 0x7c, 0x72, 0x7e, 0x2e, 0x3e, 0xf7, 0x38, 0x21, 0x8c, 0x0f, 0x00,
  142. 0x85, 0x66, 0x00, 0x63, 0x94, 0x23, 0x54, 0x79, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e,
  143. 0x51, 0xba, 0x7e, 0x7a, 0x6a, 0x1e, 0x38, 0xac, 0xf5, 0x21, 0x52, 0x89, 0x05, 0x99, 0xc5, 0x58,
  144. 0xa3, 0xdd, 0x1a, 0xc2, 0x5d, 0xc4, 0xc4, 0xec, 0x1c, 0x12, 0x9c, 0xc4, 0x06, 0xd6, 0x63, 0x0c,
  145. 0x08, 0x00, 0x00, 0xff, 0xff, 0x45, 0x7d, 0x3b, 0x7e, 0x29, 0x02, 0x00, 0x00,
  146. }