| // Copyright 2018 The LUCI Authors. |
| // |
| // 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.25.0-devel |
| // protoc v3.12.1 |
| // source: go.chromium.org/luci/appengine/mapper/messages.proto |
| |
| package mapper |
| |
| import ( |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| reflect "reflect" |
| sync "sync" |
| ) |
| |
| 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) |
| ) |
| |
| // State of a job or one of its shards. |
| type State int32 |
| |
| const ( |
| State_STATE_UNSPECIFIED State = 0 |
| State_STARTING State = 1 |
| State_RUNNING State = 2 |
| State_ABORTING State = 3 |
| State_SUCCESS State = 4 |
| State_FAIL State = 5 |
| State_ABORTED State = 6 |
| ) |
| |
| // Enum value maps for State. |
| var ( |
| State_name = map[int32]string{ |
| 0: "STATE_UNSPECIFIED", |
| 1: "STARTING", |
| 2: "RUNNING", |
| 3: "ABORTING", |
| 4: "SUCCESS", |
| 5: "FAIL", |
| 6: "ABORTED", |
| } |
| State_value = map[string]int32{ |
| "STATE_UNSPECIFIED": 0, |
| "STARTING": 1, |
| "RUNNING": 2, |
| "ABORTING": 3, |
| "SUCCESS": 4, |
| "FAIL": 5, |
| "ABORTED": 6, |
| } |
| ) |
| |
| func (x State) Enum() *State { |
| p := new(State) |
| *p = x |
| return p |
| } |
| |
| func (x State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (State) Descriptor() protoreflect.EnumDescriptor { |
| return file_go_chromium_org_luci_appengine_mapper_messages_proto_enumTypes[0].Descriptor() |
| } |
| |
| func (State) Type() protoreflect.EnumType { |
| return &file_go_chromium_org_luci_appengine_mapper_messages_proto_enumTypes[0] |
| } |
| |
| func (x State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use State.Descriptor instead. |
| func (State) EnumDescriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_appengine_mapper_messages_proto_rawDescGZIP(), []int{0} |
| } |
| |
| // Information about some single shard of a job. |
| type ShardInfo struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // zero-based index of the shard |
| State State `protobuf:"varint,2,opt,name=state,proto3,enum=appengine.mapper.messages.State" json:"state,omitempty"` |
| Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // human readable error message, for failed shards only |
| Created *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created,proto3" json:"created,omitempty"` // when it was created |
| Updated *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated,proto3" json:"updated,omitempty"` // when it was updated last time |
| Eta *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=eta,proto3" json:"eta,omitempty"` // when it finishes (if tracking progress) |
| ProcessedEntities int64 `protobuf:"varint,7,opt,name=processed_entities,json=processedEntities,proto3" json:"processed_entities,omitempty"` // number of processed entities thus far |
| TotalEntities int64 `protobuf:"varint,8,opt,name=total_entities,json=totalEntities,proto3" json:"total_entities,omitempty"` // total number of entities or -1 if unknown |
| EntitiesPerSec float32 `protobuf:"fixed32,9,opt,name=entities_per_sec,json=entitiesPerSec,proto3" json:"entities_per_sec,omitempty"` // rate of processing, entities per second |
| } |
| |
| func (x *ShardInfo) Reset() { |
| *x = ShardInfo{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_appengine_mapper_messages_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *ShardInfo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ShardInfo) ProtoMessage() {} |
| |
| func (x *ShardInfo) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_appengine_mapper_messages_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 ShardInfo.ProtoReflect.Descriptor instead. |
| func (*ShardInfo) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_appengine_mapper_messages_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *ShardInfo) GetIndex() int32 { |
| if x != nil { |
| return x.Index |
| } |
| return 0 |
| } |
| |
| func (x *ShardInfo) GetState() State { |
| if x != nil { |
| return x.State |
| } |
| return State_STATE_UNSPECIFIED |
| } |
| |
| func (x *ShardInfo) GetError() string { |
| if x != nil { |
| return x.Error |
| } |
| return "" |
| } |
| |
| func (x *ShardInfo) GetCreated() *timestamppb.Timestamp { |
| if x != nil { |
| return x.Created |
| } |
| return nil |
| } |
| |
| func (x *ShardInfo) GetUpdated() *timestamppb.Timestamp { |
| if x != nil { |
| return x.Updated |
| } |
| return nil |
| } |
| |
| func (x *ShardInfo) GetEta() *timestamppb.Timestamp { |
| if x != nil { |
| return x.Eta |
| } |
| return nil |
| } |
| |
| func (x *ShardInfo) GetProcessedEntities() int64 { |
| if x != nil { |
| return x.ProcessedEntities |
| } |
| return 0 |
| } |
| |
| func (x *ShardInfo) GetTotalEntities() int64 { |
| if x != nil { |
| return x.TotalEntities |
| } |
| return 0 |
| } |
| |
| func (x *ShardInfo) GetEntitiesPerSec() float32 { |
| if x != nil { |
| return x.EntitiesPerSec |
| } |
| return 0 |
| } |
| |
| // Information about a job. |
| type JobInfo struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // unique job identifier |
| State State `protobuf:"varint,2,opt,name=state,proto3,enum=appengine.mapper.messages.State" json:"state,omitempty"` // overall state of the job |
| Created *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"` // when it was created |
| Updated *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated,proto3" json:"updated,omitempty"` // when it was updated last time |
| Eta *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=eta,proto3" json:"eta,omitempty"` // when it finishes (if tracking progress) |
| ProcessedEntities int64 `protobuf:"varint,6,opt,name=processed_entities,json=processedEntities,proto3" json:"processed_entities,omitempty"` // number of processed entities thus far |
| TotalEntities int64 `protobuf:"varint,7,opt,name=total_entities,json=totalEntities,proto3" json:"total_entities,omitempty"` // total number of entities or -1 if unknown |
| EntitiesPerSec float32 `protobuf:"fixed32,8,opt,name=entities_per_sec,json=entitiesPerSec,proto3" json:"entities_per_sec,omitempty"` // rate of processing, entities per second |
| Shards []*ShardInfo `protobuf:"bytes,20,rep,name=shards,proto3" json:"shards,omitempty"` // state of all job's shards |
| } |
| |
| func (x *JobInfo) Reset() { |
| *x = JobInfo{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_go_chromium_org_luci_appengine_mapper_messages_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *JobInfo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*JobInfo) ProtoMessage() {} |
| |
| func (x *JobInfo) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_appengine_mapper_messages_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 JobInfo.ProtoReflect.Descriptor instead. |
| func (*JobInfo) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_appengine_mapper_messages_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *JobInfo) GetId() int64 { |
| if x != nil { |
| return x.Id |
| } |
| return 0 |
| } |
| |
| func (x *JobInfo) GetState() State { |
| if x != nil { |
| return x.State |
| } |
| return State_STATE_UNSPECIFIED |
| } |
| |
| func (x *JobInfo) GetCreated() *timestamppb.Timestamp { |
| if x != nil { |
| return x.Created |
| } |
| return nil |
| } |
| |
| func (x *JobInfo) GetUpdated() *timestamppb.Timestamp { |
| if x != nil { |
| return x.Updated |
| } |
| return nil |
| } |
| |
| func (x *JobInfo) GetEta() *timestamppb.Timestamp { |
| if x != nil { |
| return x.Eta |
| } |
| return nil |
| } |
| |
| func (x *JobInfo) GetProcessedEntities() int64 { |
| if x != nil { |
| return x.ProcessedEntities |
| } |
| return 0 |
| } |
| |
| func (x *JobInfo) GetTotalEntities() int64 { |
| if x != nil { |
| return x.TotalEntities |
| } |
| return 0 |
| } |
| |
| func (x *JobInfo) GetEntitiesPerSec() float32 { |
| if x != nil { |
| return x.EntitiesPerSec |
| } |
| return 0 |
| } |
| |
| func (x *JobInfo) GetShards() []*ShardInfo { |
| if x != nil { |
| return x.Shards |
| } |
| return nil |
| } |
| |
| var File_go_chromium_org_luci_appengine_mapper_messages_proto protoreflect.FileDescriptor |
| |
| var file_go_chromium_org_luci_appengine_mapper_messages_proto_rawDesc = []byte{ |
| 0x0a, 0x34, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, |
| 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, |
| 0x2f, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, |
| 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, |
| 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, |
| 0x73, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, |
| 0x74, 0x6f, 0x22, 0x89, 0x03, 0x0a, 0x09, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, |
| 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, |
| 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x36, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, |
| 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, |
| 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, |
| 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, |
| 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, |
| 0x72, 0x72, 0x6f, 0x72, 0x12, 0x34, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, |
| 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, |
| 0x70, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x34, 0x0a, 0x07, 0x75, 0x70, |
| 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, |
| 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, |
| 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, |
| 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, |
| 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, |
| 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x03, 0x65, 0x74, 0x61, 0x12, 0x2d, |
| 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, |
| 0x74, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x63, |
| 0x65, 0x73, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x25, 0x0a, |
| 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, |
| 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x74, 0x69, |
| 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, |
| 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0e, |
| 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 0x63, 0x22, 0xa9, |
| 0x03, 0x0a, 0x07, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, |
| 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x36, 0x0a, 0x05, 0x73, 0x74, |
| 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x61, 0x70, 0x70, 0x65, |
| 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x6d, 0x65, 0x73, |
| 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, |
| 0x74, 0x65, 0x12, 0x34, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, |
| 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, |
| 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x34, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, |
| 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, |
| 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2c, |
| 0x0a, 0x03, 0x65, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, |
| 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, |
| 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x03, 0x65, 0x74, 0x61, 0x12, 0x2d, 0x0a, 0x12, |
| 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, |
| 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, |
| 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x74, |
| 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, |
| 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, |
| 0x65, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x5f, 0x70, |
| 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x08, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0e, 0x65, 0x6e, |
| 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 0x63, 0x12, 0x3c, 0x0a, 0x06, |
| 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x61, |
| 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, |
| 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, |
| 0x66, 0x6f, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x2a, 0x6b, 0x0a, 0x05, 0x53, 0x74, |
| 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, |
| 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x54, |
| 0x41, 0x52, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, |
| 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x49, 0x4e, |
| 0x47, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x04, |
| 0x12, 0x08, 0x0a, 0x04, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x42, |
| 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x06, 0x42, 0x27, 0x5a, 0x25, 0x67, 0x6f, 0x2e, 0x63, 0x68, |
| 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, |
| 0x61, 0x70, 0x70, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x72, |
| 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_go_chromium_org_luci_appengine_mapper_messages_proto_rawDescOnce sync.Once |
| file_go_chromium_org_luci_appengine_mapper_messages_proto_rawDescData = file_go_chromium_org_luci_appengine_mapper_messages_proto_rawDesc |
| ) |
| |
| func file_go_chromium_org_luci_appengine_mapper_messages_proto_rawDescGZIP() []byte { |
| file_go_chromium_org_luci_appengine_mapper_messages_proto_rawDescOnce.Do(func() { |
| file_go_chromium_org_luci_appengine_mapper_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_appengine_mapper_messages_proto_rawDescData) |
| }) |
| return file_go_chromium_org_luci_appengine_mapper_messages_proto_rawDescData |
| } |
| |
| var file_go_chromium_org_luci_appengine_mapper_messages_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| var file_go_chromium_org_luci_appengine_mapper_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| var file_go_chromium_org_luci_appengine_mapper_messages_proto_goTypes = []interface{}{ |
| (State)(0), // 0: appengine.mapper.messages.State |
| (*ShardInfo)(nil), // 1: appengine.mapper.messages.ShardInfo |
| (*JobInfo)(nil), // 2: appengine.mapper.messages.JobInfo |
| (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp |
| } |
| var file_go_chromium_org_luci_appengine_mapper_messages_proto_depIdxs = []int32{ |
| 0, // 0: appengine.mapper.messages.ShardInfo.state:type_name -> appengine.mapper.messages.State |
| 3, // 1: appengine.mapper.messages.ShardInfo.created:type_name -> google.protobuf.Timestamp |
| 3, // 2: appengine.mapper.messages.ShardInfo.updated:type_name -> google.protobuf.Timestamp |
| 3, // 3: appengine.mapper.messages.ShardInfo.eta:type_name -> google.protobuf.Timestamp |
| 0, // 4: appengine.mapper.messages.JobInfo.state:type_name -> appengine.mapper.messages.State |
| 3, // 5: appengine.mapper.messages.JobInfo.created:type_name -> google.protobuf.Timestamp |
| 3, // 6: appengine.mapper.messages.JobInfo.updated:type_name -> google.protobuf.Timestamp |
| 3, // 7: appengine.mapper.messages.JobInfo.eta:type_name -> google.protobuf.Timestamp |
| 1, // 8: appengine.mapper.messages.JobInfo.shards:type_name -> appengine.mapper.messages.ShardInfo |
| 9, // [9:9] is the sub-list for method output_type |
| 9, // [9:9] is the sub-list for method input_type |
| 9, // [9:9] is the sub-list for extension type_name |
| 9, // [9:9] is the sub-list for extension extendee |
| 0, // [0:9] is the sub-list for field type_name |
| } |
| |
| func init() { file_go_chromium_org_luci_appengine_mapper_messages_proto_init() } |
| func file_go_chromium_org_luci_appengine_mapper_messages_proto_init() { |
| if File_go_chromium_org_luci_appengine_mapper_messages_proto != nil { |
| return |
| } |
| if !protoimpl.UnsafeEnabled { |
| file_go_chromium_org_luci_appengine_mapper_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*ShardInfo); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_go_chromium_org_luci_appengine_mapper_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*JobInfo); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_go_chromium_org_luci_appengine_mapper_messages_proto_rawDesc, |
| NumEnums: 1, |
| NumMessages: 2, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_go_chromium_org_luci_appengine_mapper_messages_proto_goTypes, |
| DependencyIndexes: file_go_chromium_org_luci_appengine_mapper_messages_proto_depIdxs, |
| EnumInfos: file_go_chromium_org_luci_appengine_mapper_messages_proto_enumTypes, |
| MessageInfos: file_go_chromium_org_luci_appengine_mapper_messages_proto_msgTypes, |
| }.Build() |
| File_go_chromium_org_luci_appengine_mapper_messages_proto = out.File |
| file_go_chromium_org_luci_appengine_mapper_messages_proto_rawDesc = nil |
| file_go_chromium_org_luci_appengine_mapper_messages_proto_goTypes = nil |
| file_go_chromium_org_luci_appengine_mapper_messages_proto_depIdxs = nil |
| } |