| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
package talentpb |
| 22 |
|
| 23 |
import ( |
| 24 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 25 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 26 |
reflect "reflect" |
| 27 |
sync "sync" |
| 28 |
) |
| 29 |
|
| 30 |
const ( |
| 31 |
|
| 32 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 33 |
|
| 34 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 35 |
) |
| 36 |
|
| 37 |
|
| 38 |
type HistogramQuery struct { |
| 39 |
state protoimpl.MessageState |
| 40 |
sizeCache protoimpl.SizeCache |
| 41 |
unknownFields protoimpl.UnknownFields |
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
HistogramQuery string `protobuf:"bytes,1,opt,name=histogram_query,json=histogramQuery,proto3" json:"histogram_query,omitempty"` |
| 52 |
} |
| 53 |
|
| 54 |
func (x *HistogramQuery) Reset() { |
| 55 |
*x = HistogramQuery{} |
| 56 |
mi := &file_google_cloud_talent_v4beta1_histogram_proto_msgTypes[0] |
| 57 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 58 |
ms.StoreMessageInfo(mi) |
| 59 |
} |
| 60 |
|
| 61 |
func (x *HistogramQuery) String() string { |
| 62 |
return protoimpl.X.MessageStringOf(x) |
| 63 |
} |
| 64 |
|
| 65 |
func (*HistogramQuery) ProtoMessage() {} |
| 66 |
|
| 67 |
func (x *HistogramQuery) ProtoReflect() protoreflect.Message { |
| 68 |
mi := &file_google_cloud_talent_v4beta1_histogram_proto_msgTypes[0] |
| 69 |
if x != nil { |
| 70 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 71 |
if ms.LoadMessageInfo() == nil { |
| 72 |
ms.StoreMessageInfo(mi) |
| 73 |
} |
| 74 |
return ms |
| 75 |
} |
| 76 |
return mi.MessageOf(x) |
| 77 |
} |
| 78 |
|
| 79 |
|
| 80 |
func (*HistogramQuery) Descriptor() ([]byte, []int) { |
| 81 |
return file_google_cloud_talent_v4beta1_histogram_proto_rawDescGZIP(), []int{0} |
| 82 |
} |
| 83 |
|
| 84 |
func (x *HistogramQuery) GetHistogramQuery() string { |
| 85 |
if x != nil { |
| 86 |
return x.HistogramQuery |
| 87 |
} |
| 88 |
return "" |
| 89 |
} |
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
type HistogramQueryResult struct { |
| 95 |
state protoimpl.MessageState |
| 96 |
sizeCache protoimpl.SizeCache |
| 97 |
unknownFields protoimpl.UnknownFields |
| 98 |
|
| 99 |
|
| 100 |
HistogramQuery string `protobuf:"bytes,1,opt,name=histogram_query,json=histogramQuery,proto3" json:"histogram_query,omitempty"` |
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
|
| 108 |
|
| 109 |
|
| 110 |
|
| 111 |
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"` |
| 112 |
} |
| 113 |
|
| 114 |
func (x *HistogramQueryResult) Reset() { |
| 115 |
*x = HistogramQueryResult{} |
| 116 |
mi := &file_google_cloud_talent_v4beta1_histogram_proto_msgTypes[1] |
| 117 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 118 |
ms.StoreMessageInfo(mi) |
| 119 |
} |
| 120 |
|
| 121 |
func (x *HistogramQueryResult) String() string { |
| 122 |
return protoimpl.X.MessageStringOf(x) |
| 123 |
} |
| 124 |
|
| 125 |
func (*HistogramQueryResult) ProtoMessage() {} |
| 126 |
|
| 127 |
func (x *HistogramQueryResult) ProtoReflect() protoreflect.Message { |
| 128 |
mi := &file_google_cloud_talent_v4beta1_histogram_proto_msgTypes[1] |
| 129 |
if x != nil { |
| 130 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 131 |
if ms.LoadMessageInfo() == nil { |
| 132 |
ms.StoreMessageInfo(mi) |
| 133 |
} |
| 134 |
return ms |
| 135 |
} |
| 136 |
return mi.MessageOf(x) |
| 137 |
} |
| 138 |
|
| 139 |
|
| 140 |
func (*HistogramQueryResult) Descriptor() ([]byte, []int) { |
| 141 |
return file_google_cloud_talent_v4beta1_histogram_proto_rawDescGZIP(), []int{1} |
| 142 |
} |
| 143 |
|
| 144 |
func (x *HistogramQueryResult) GetHistogramQuery() string { |
| 145 |
if x != nil { |
| 146 |
return x.HistogramQuery |
| 147 |
} |
| 148 |
return "" |
| 149 |
} |
| 150 |
|
| 151 |
func (x *HistogramQueryResult) GetHistogram() map[string]int64 { |
| 152 |
if x != nil { |
| 153 |
return x.Histogram |
| 154 |
} |
| 155 |
return nil |
| 156 |
} |
| 157 |
|
| 158 |
var File_google_cloud_talent_v4beta1_histogram_proto protoreflect.FileDescriptor |
| 159 |
|
| 160 |
var file_google_cloud_talent_v4beta1_histogram_proto_rawDesc = []byte{ |
| 161 |
0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74, |
| 162 |
0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x68, 0x69, |
| 163 |
0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, |
| 164 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, |
| 165 |
0x6e, 0x74, 0x2e, 0x76, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x22, 0x39, 0x0a, 0x0e, 0x48, 0x69, |
| 166 |
0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x27, 0x0a, 0x0f, |
| 167 |
0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, |
| 168 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, |
| 169 |
0x51, 0x75, 0x65, 0x72, 0x79, 0x22, 0xdd, 0x01, 0x0a, 0x14, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, |
| 170 |
0x72, 0x61, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x27, |
| 171 |
0x0a, 0x0f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x71, 0x75, 0x65, 0x72, |
| 172 |
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, |
| 173 |
0x61, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x5e, 0x0a, 0x09, 0x68, 0x69, 0x73, 0x74, 0x6f, |
| 174 |
0x67, 0x72, 0x61, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, |
| 175 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, |
| 176 |
0x2e, 0x76, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, |
| 177 |
0x61, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x48, 0x69, |
| 178 |
0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x68, 0x69, |
| 179 |
0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x1a, 0x3c, 0x0a, 0x0e, 0x48, 0x69, 0x73, 0x74, 0x6f, |
| 180 |
0x67, 0x72, 0x61, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, |
| 181 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, |
| 182 |
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, |
| 183 |
0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x72, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, |
| 184 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, |
| 185 |
0x2e, 0x76, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, |
| 186 |
0x72, 0x61, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x63, 0x6c, 0x6f, 0x75, |
| 187 |
0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, |
| 188 |
0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x34, 0x62, 0x65, 0x74, 0x61, |
| 189 |
0x31, 0x2f, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x3b, 0x74, 0x61, 0x6c, 0x65, 0x6e, |
| 190 |
0x74, 0x70, 0x62, 0xa2, 0x02, 0x03, 0x43, 0x54, 0x53, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 191 |
0x33, |
| 192 |
} |
| 193 |
|
| 194 |
var ( |
| 195 |
file_google_cloud_talent_v4beta1_histogram_proto_rawDescOnce sync.Once |
| 196 |
file_google_cloud_talent_v4beta1_histogram_proto_rawDescData = file_google_cloud_talent_v4beta1_histogram_proto_rawDesc |
| 197 |
) |
| 198 |
|
| 199 |
func file_google_cloud_talent_v4beta1_histogram_proto_rawDescGZIP() []byte { |
| 200 |
file_google_cloud_talent_v4beta1_histogram_proto_rawDescOnce.Do(func() { |
| 201 |
file_google_cloud_talent_v4beta1_histogram_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_talent_v4beta1_histogram_proto_rawDescData) |
| 202 |
}) |
| 203 |
return file_google_cloud_talent_v4beta1_histogram_proto_rawDescData |
| 204 |
} |
| 205 |
|
| 206 |
var file_google_cloud_talent_v4beta1_histogram_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
| 207 |
var file_google_cloud_talent_v4beta1_histogram_proto_goTypes = []any{ |
| 208 |
(*HistogramQuery)(nil), |
| 209 |
(*HistogramQueryResult)(nil), |
| 210 |
nil, |
| 211 |
} |
| 212 |
var file_google_cloud_talent_v4beta1_histogram_proto_depIdxs = []int32{ |
| 213 |
2, |
| 214 |
1, |
| 215 |
1, |
| 216 |
1, |
| 217 |
1, |
| 218 |
0, |
| 219 |
} |
| 220 |
|
| 221 |
func init() { file_google_cloud_talent_v4beta1_histogram_proto_init() } |
| 222 |
func file_google_cloud_talent_v4beta1_histogram_proto_init() { |
| 223 |
if File_google_cloud_talent_v4beta1_histogram_proto != nil { |
| 224 |
return |
| 225 |
} |
| 226 |
type x struct{} |
| 227 |
out := protoimpl.TypeBuilder{ |
| 228 |
File: protoimpl.DescBuilder{ |
| 229 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 230 |
RawDescriptor: file_google_cloud_talent_v4beta1_histogram_proto_rawDesc, |
| 231 |
NumEnums: 0, |
| 232 |
NumMessages: 3, |
| 233 |
NumExtensions: 0, |
| 234 |
NumServices: 0, |
| 235 |
}, |
| 236 |
GoTypes: file_google_cloud_talent_v4beta1_histogram_proto_goTypes, |
| 237 |
DependencyIndexes: file_google_cloud_talent_v4beta1_histogram_proto_depIdxs, |
| 238 |
MessageInfos: file_google_cloud_talent_v4beta1_histogram_proto_msgTypes, |
| 239 |
}.Build() |
| 240 |
File_google_cloud_talent_v4beta1_histogram_proto = out.File |
| 241 |
file_google_cloud_talent_v4beta1_histogram_proto_rawDesc = nil |
| 242 |
file_google_cloud_talent_v4beta1_histogram_proto_goTypes = nil |
| 243 |
file_google_cloud_talent_v4beta1_histogram_proto_depIdxs = nil |
| 244 |
} |