Documentation ¶
Index ¶
- Variables
- func RegisterIncidentServiceServer(s grpc.ServiceRegistrar, srv IncidentServiceServer)
- type GetIncidentsByAnimalGroupRequest
- func (*GetIncidentsByAnimalGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIncidentsByAnimalGroupRequest) GetGroup() string
- func (*GetIncidentsByAnimalGroupRequest) ProtoMessage()
- func (x *GetIncidentsByAnimalGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetIncidentsByAnimalGroupRequest) Reset()
- func (x *GetIncidentsByAnimalGroupRequest) String() string
- type GetIncidentsStatsRequest
- func (*GetIncidentsStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIncidentsStatsRequest) GetYear() int32
- func (*GetIncidentsStatsRequest) ProtoMessage()
- func (x *GetIncidentsStatsRequest) ProtoReflect() protoreflect.Message
- func (x *GetIncidentsStatsRequest) Reset()
- func (x *GetIncidentsStatsRequest) String() string
- type GetIncidentsStatsResponse
- func (*GetIncidentsStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetIncidentsStatsResponse) GetGroups() []*GetIncidentsStatsResponse_GroupStats
- func (x *GetIncidentsStatsResponse) GetIncidents() int32
- func (x *GetIncidentsStatsResponse) GetYear() int32
- func (*GetIncidentsStatsResponse) ProtoMessage()
- func (x *GetIncidentsStatsResponse) ProtoReflect() protoreflect.Message
- func (x *GetIncidentsStatsResponse) Reset()
- func (x *GetIncidentsStatsResponse) String() string
- type GetIncidentsStatsResponse_GroupStats
- func (*GetIncidentsStatsResponse_GroupStats) Descriptor() ([]byte, []int)deprecated
- func (x *GetIncidentsStatsResponse_GroupStats) GetAnimalGroup() string
- func (x *GetIncidentsStatsResponse_GroupStats) GetIncidents() int32
- func (*GetIncidentsStatsResponse_GroupStats) ProtoMessage()
- func (x *GetIncidentsStatsResponse_GroupStats) ProtoReflect() protoreflect.Message
- func (x *GetIncidentsStatsResponse_GroupStats) Reset()
- func (x *GetIncidentsStatsResponse_GroupStats) String() string
- type Incident
- func (*Incident) Descriptor() ([]byte, []int)deprecated
- func (x *Incident) GetAddress() *Incident_Address
- func (x *Incident) GetAnimalGroup() string
- func (x *Incident) GetCallDatetime() string
- func (x *Incident) GetFinalDescription() string
- func (x *Incident) GetIncidentHourlyCost() int32
- func (x *Incident) GetIncidentNotionalCost() int32
- func (x *Incident) GetNumber() int64
- func (x *Incident) GetOrigin() *Incident_Call
- func (x *Incident) GetProperty() *Incident_Property
- func (x *Incident) GetPumpCount() int32
- func (x *Incident) GetPumpHoursTotal() int32
- func (x *Incident) GetSpecialService() *Incident_SpecialService
- func (x *Incident) GetType() string
- func (x *Incident) GetWard() *Incident_Ward
- func (x *Incident) GetYear() int32
- func (*Incident) ProtoMessage()
- func (x *Incident) ProtoReflect() protoreflect.Message
- func (x *Incident) Reset()
- func (x *Incident) String() string
- type IncidentList
- type IncidentServiceClient
- type IncidentServiceServer
- type Incident_Address
- func (*Incident_Address) Descriptor() ([]byte, []int)deprecated
- func (x *Incident_Address) GetBoroughInfo() *Incident_Address_Borough
- func (x *Incident_Address) GetLatitude() float64
- func (x *Incident_Address) GetLongitude() float64
- func (x *Incident_Address) GetPostcodeDistrict() string
- func (x *Incident_Address) GetStreet() string
- func (x *Incident_Address) GetUsrn() string
- func (*Incident_Address) ProtoMessage()
- func (x *Incident_Address) ProtoReflect() protoreflect.Message
- func (x *Incident_Address) Reset()
- func (x *Incident_Address) String() string
- type Incident_Address_Borough
- func (*Incident_Address_Borough) Descriptor() ([]byte, []int)deprecated
- func (x *Incident_Address_Borough) GetCode() string
- func (x *Incident_Address_Borough) GetName() string
- func (x *Incident_Address_Borough) GetStnGroundName() string
- func (*Incident_Address_Borough) ProtoMessage()
- func (x *Incident_Address_Borough) ProtoReflect() protoreflect.Message
- func (x *Incident_Address_Borough) Reset()
- func (x *Incident_Address_Borough) String() string
- type Incident_Call
- type Incident_Property
- func (*Incident_Property) Descriptor() ([]byte, []int)deprecated
- func (x *Incident_Property) GetCategory() string
- func (x *Incident_Property) GetType() string
- func (*Incident_Property) ProtoMessage()
- func (x *Incident_Property) ProtoReflect() protoreflect.Message
- func (x *Incident_Property) Reset()
- func (x *Incident_Property) String() string
- type Incident_SpecialService
- func (*Incident_SpecialService) Descriptor() ([]byte, []int)deprecated
- func (x *Incident_SpecialService) GetCategory() string
- func (x *Incident_SpecialService) GetType() string
- func (*Incident_SpecialService) ProtoMessage()
- func (x *Incident_SpecialService) ProtoReflect() protoreflect.Message
- func (x *Incident_SpecialService) Reset()
- func (x *Incident_SpecialService) String() string
- type Incident_Ward
- func (*Incident_Ward) Descriptor() ([]byte, []int)deprecated
- func (x *Incident_Ward) GetCode() string
- func (x *Incident_Ward) GetName() string
- func (*Incident_Ward) ProtoMessage()
- func (x *Incident_Ward) ProtoReflect() protoreflect.Message
- func (x *Incident_Ward) Reset()
- func (x *Incident_Ward) String() string
- type UnimplementedIncidentServiceServer
- func (UnimplementedIncidentServiceServer) GetIncidentsByAnimalGroup(context.Context, *GetIncidentsByAnimalGroupRequest) (*IncidentList, error)
- func (UnimplementedIncidentServiceServer) GetYearStats(context.Context, *GetIncidentsStatsRequest) (*GetIncidentsStatsResponse, error)
- func (UnimplementedIncidentServiceServer) ListIncidents(context.Context, *emptypb.Empty) (*IncidentList, error)
- type UnsafeIncidentServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_internal_protobuf_schema_incident_proto protoreflect.FileDescriptor
var IncidentService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "incident.IncidentService", HandlerType: (*IncidentServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListIncidents", Handler: _IncidentService_ListIncidents_Handler, }, { MethodName: "GetIncidentsByAnimalGroup", Handler: _IncidentService_GetIncidentsByAnimalGroup_Handler, }, { MethodName: "GetYearStats", Handler: _IncidentService_GetYearStats_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "internal/protobuf/schema/incident.proto", }
IncidentService_ServiceDesc is the grpc.ServiceDesc for IncidentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIncidentServiceServer ¶
func RegisterIncidentServiceServer(s grpc.ServiceRegistrar, srv IncidentServiceServer)
Types ¶
type GetIncidentsByAnimalGroupRequest ¶
type GetIncidentsByAnimalGroupRequest struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*GetIncidentsByAnimalGroupRequest) Descriptor
deprecated
func (*GetIncidentsByAnimalGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIncidentsByAnimalGroupRequest.ProtoReflect.Descriptor instead.
func (*GetIncidentsByAnimalGroupRequest) GetGroup ¶
func (x *GetIncidentsByAnimalGroupRequest) GetGroup() string
func (*GetIncidentsByAnimalGroupRequest) ProtoMessage ¶
func (*GetIncidentsByAnimalGroupRequest) ProtoMessage()
func (*GetIncidentsByAnimalGroupRequest) ProtoReflect ¶
func (x *GetIncidentsByAnimalGroupRequest) ProtoReflect() protoreflect.Message
func (*GetIncidentsByAnimalGroupRequest) Reset ¶
func (x *GetIncidentsByAnimalGroupRequest) Reset()
func (*GetIncidentsByAnimalGroupRequest) String ¶
func (x *GetIncidentsByAnimalGroupRequest) String() string
type GetIncidentsStatsRequest ¶
type GetIncidentsStatsRequest struct { Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` // contains filtered or unexported fields }
func (*GetIncidentsStatsRequest) Descriptor
deprecated
func (*GetIncidentsStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIncidentsStatsRequest.ProtoReflect.Descriptor instead.
func (*GetIncidentsStatsRequest) GetYear ¶
func (x *GetIncidentsStatsRequest) GetYear() int32
func (*GetIncidentsStatsRequest) ProtoMessage ¶
func (*GetIncidentsStatsRequest) ProtoMessage()
func (*GetIncidentsStatsRequest) ProtoReflect ¶
func (x *GetIncidentsStatsRequest) ProtoReflect() protoreflect.Message
func (*GetIncidentsStatsRequest) Reset ¶
func (x *GetIncidentsStatsRequest) Reset()
func (*GetIncidentsStatsRequest) String ¶
func (x *GetIncidentsStatsRequest) String() string
type GetIncidentsStatsResponse ¶
type GetIncidentsStatsResponse struct { Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` Incidents int32 `protobuf:"varint,2,opt,name=incidents,proto3" json:"incidents,omitempty"` Groups []*GetIncidentsStatsResponse_GroupStats `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*GetIncidentsStatsResponse) Descriptor
deprecated
func (*GetIncidentsStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIncidentsStatsResponse.ProtoReflect.Descriptor instead.
func (*GetIncidentsStatsResponse) GetGroups ¶
func (x *GetIncidentsStatsResponse) GetGroups() []*GetIncidentsStatsResponse_GroupStats
func (*GetIncidentsStatsResponse) GetIncidents ¶
func (x *GetIncidentsStatsResponse) GetIncidents() int32
func (*GetIncidentsStatsResponse) GetYear ¶
func (x *GetIncidentsStatsResponse) GetYear() int32
func (*GetIncidentsStatsResponse) ProtoMessage ¶
func (*GetIncidentsStatsResponse) ProtoMessage()
func (*GetIncidentsStatsResponse) ProtoReflect ¶
func (x *GetIncidentsStatsResponse) ProtoReflect() protoreflect.Message
func (*GetIncidentsStatsResponse) Reset ¶
func (x *GetIncidentsStatsResponse) Reset()
func (*GetIncidentsStatsResponse) String ¶
func (x *GetIncidentsStatsResponse) String() string
type GetIncidentsStatsResponse_GroupStats ¶
type GetIncidentsStatsResponse_GroupStats struct { AnimalGroup string `protobuf:"bytes,1,opt,name=animal_group,json=animalGroup,proto3" json:"animal_group,omitempty"` Incidents int32 `protobuf:"varint,2,opt,name=incidents,proto3" json:"incidents,omitempty"` // contains filtered or unexported fields }
func (*GetIncidentsStatsResponse_GroupStats) Descriptor
deprecated
func (*GetIncidentsStatsResponse_GroupStats) Descriptor() ([]byte, []int)
Deprecated: Use GetIncidentsStatsResponse_GroupStats.ProtoReflect.Descriptor instead.
func (*GetIncidentsStatsResponse_GroupStats) GetAnimalGroup ¶
func (x *GetIncidentsStatsResponse_GroupStats) GetAnimalGroup() string
func (*GetIncidentsStatsResponse_GroupStats) GetIncidents ¶
func (x *GetIncidentsStatsResponse_GroupStats) GetIncidents() int32
func (*GetIncidentsStatsResponse_GroupStats) ProtoMessage ¶
func (*GetIncidentsStatsResponse_GroupStats) ProtoMessage()
func (*GetIncidentsStatsResponse_GroupStats) ProtoReflect ¶
func (x *GetIncidentsStatsResponse_GroupStats) ProtoReflect() protoreflect.Message
func (*GetIncidentsStatsResponse_GroupStats) Reset ¶
func (x *GetIncidentsStatsResponse_GroupStats) Reset()
func (*GetIncidentsStatsResponse_GroupStats) String ¶
func (x *GetIncidentsStatsResponse_GroupStats) String() string
type Incident ¶
type Incident struct { Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` CallDatetime string `protobuf:"bytes,2,opt,name=call_datetime,json=callDatetime,proto3" json:"call_datetime,omitempty"` Year int32 `protobuf:"varint,3,opt,name=year,proto3" json:"year,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` PumpCount int32 `protobuf:"varint,5,opt,name=pump_count,json=pumpCount,proto3" json:"pump_count,omitempty"` PumpHoursTotal int32 `protobuf:"varint,6,opt,name=pump_hours_total,json=pumpHoursTotal,proto3" json:"pump_hours_total,omitempty"` IncidentHourlyCost int32 `protobuf:"varint,7,opt,name=incident_hourly_cost,json=incidentHourlyCost,proto3" json:"incident_hourly_cost,omitempty"` IncidentNotionalCost int32 `protobuf:"varint,8,opt,name=incident_notional_cost,json=incidentNotionalCost,proto3" json:"incident_notional_cost,omitempty"` AnimalGroup string `protobuf:"bytes,10,opt,name=animal_group,json=animalGroup,proto3" json:"animal_group,omitempty"` FinalDescription string `protobuf:"bytes,11,opt,name=final_description,json=finalDescription,proto3" json:"final_description,omitempty"` Origin *Incident_Call `protobuf:"bytes,12,opt,name=origin,proto3" json:"origin,omitempty"` Property *Incident_Property `protobuf:"bytes,13,opt,name=property,proto3" json:"property,omitempty"` SpecialService *Incident_SpecialService `protobuf:"bytes,14,opt,name=special_service,json=specialService,proto3" json:"special_service,omitempty"` Ward *Incident_Ward `protobuf:"bytes,15,opt,name=ward,proto3" json:"ward,omitempty"` Address *Incident_Address `protobuf:"bytes,16,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*Incident) Descriptor
deprecated
func (*Incident) GetAddress ¶
func (x *Incident) GetAddress() *Incident_Address
func (*Incident) GetAnimalGroup ¶
func (*Incident) GetCallDatetime ¶
func (*Incident) GetFinalDescription ¶
func (*Incident) GetIncidentHourlyCost ¶
func (*Incident) GetIncidentNotionalCost ¶
func (*Incident) GetOrigin ¶
func (x *Incident) GetOrigin() *Incident_Call
func (*Incident) GetProperty ¶
func (x *Incident) GetProperty() *Incident_Property
func (*Incident) GetPumpCount ¶
func (*Incident) GetPumpHoursTotal ¶
func (*Incident) GetSpecialService ¶
func (x *Incident) GetSpecialService() *Incident_SpecialService
func (*Incident) GetWard ¶
func (x *Incident) GetWard() *Incident_Ward
func (*Incident) ProtoMessage ¶
func (*Incident) ProtoMessage()
func (*Incident) ProtoReflect ¶
func (x *Incident) ProtoReflect() protoreflect.Message
type IncidentList ¶
type IncidentList struct { Incidents []*Incident `protobuf:"bytes,1,rep,name=incidents,proto3" json:"incidents,omitempty"` // contains filtered or unexported fields }
func (*IncidentList) Descriptor
deprecated
func (*IncidentList) Descriptor() ([]byte, []int)
Deprecated: Use IncidentList.ProtoReflect.Descriptor instead.
func (*IncidentList) GetIncidents ¶
func (x *IncidentList) GetIncidents() []*Incident
func (*IncidentList) ProtoMessage ¶
func (*IncidentList) ProtoMessage()
func (*IncidentList) ProtoReflect ¶
func (x *IncidentList) ProtoReflect() protoreflect.Message
func (*IncidentList) Reset ¶
func (x *IncidentList) Reset()
func (*IncidentList) String ¶
func (x *IncidentList) String() string
type IncidentServiceClient ¶
type IncidentServiceClient interface { ListIncidents(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*IncidentList, error) GetIncidentsByAnimalGroup(ctx context.Context, in *GetIncidentsByAnimalGroupRequest, opts ...grpc.CallOption) (*IncidentList, error) GetYearStats(ctx context.Context, in *GetIncidentsStatsRequest, opts ...grpc.CallOption) (*GetIncidentsStatsResponse, error) }
IncidentServiceClient is the client API for IncidentService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewIncidentServiceClient ¶
func NewIncidentServiceClient(cc grpc.ClientConnInterface) IncidentServiceClient
type IncidentServiceServer ¶
type IncidentServiceServer interface { ListIncidents(context.Context, *emptypb.Empty) (*IncidentList, error) GetIncidentsByAnimalGroup(context.Context, *GetIncidentsByAnimalGroupRequest) (*IncidentList, error) GetYearStats(context.Context, *GetIncidentsStatsRequest) (*GetIncidentsStatsResponse, error) // contains filtered or unexported methods }
IncidentServiceServer is the server API for IncidentService service. All implementations must embed UnimplementedIncidentServiceServer for forward compatibility
type Incident_Address ¶
type Incident_Address struct { BoroughInfo *Incident_Address_Borough `protobuf:"bytes,1,opt,name=borough_info,json=boroughInfo,proto3" json:"borough_info,omitempty"` Street string `protobuf:"bytes,2,opt,name=street,proto3" json:"street,omitempty"` Usrn string `protobuf:"bytes,3,opt,name=usrn,proto3" json:"usrn,omitempty"` PostcodeDistrict string `protobuf:"bytes,4,opt,name=postcode_district,json=postcodeDistrict,proto3" json:"postcode_district,omitempty"` Latitude float64 `protobuf:"fixed64,5,opt,name=latitude,proto3" json:"latitude,omitempty"` Longitude float64 `protobuf:"fixed64,6,opt,name=longitude,proto3" json:"longitude,omitempty"` // contains filtered or unexported fields }
func (*Incident_Address) Descriptor
deprecated
func (*Incident_Address) Descriptor() ([]byte, []int)
Deprecated: Use Incident_Address.ProtoReflect.Descriptor instead.
func (*Incident_Address) GetBoroughInfo ¶
func (x *Incident_Address) GetBoroughInfo() *Incident_Address_Borough
func (*Incident_Address) GetLatitude ¶
func (x *Incident_Address) GetLatitude() float64
func (*Incident_Address) GetLongitude ¶
func (x *Incident_Address) GetLongitude() float64
func (*Incident_Address) GetPostcodeDistrict ¶
func (x *Incident_Address) GetPostcodeDistrict() string
func (*Incident_Address) GetStreet ¶
func (x *Incident_Address) GetStreet() string
func (*Incident_Address) GetUsrn ¶
func (x *Incident_Address) GetUsrn() string
func (*Incident_Address) ProtoMessage ¶
func (*Incident_Address) ProtoMessage()
func (*Incident_Address) ProtoReflect ¶
func (x *Incident_Address) ProtoReflect() protoreflect.Message
func (*Incident_Address) Reset ¶
func (x *Incident_Address) Reset()
func (*Incident_Address) String ¶
func (x *Incident_Address) String() string
type Incident_Address_Borough ¶
type Incident_Address_Borough struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` StnGroundName string `protobuf:"bytes,3,opt,name=stn_ground_name,json=stnGroundName,proto3" json:"stn_ground_name,omitempty"` // contains filtered or unexported fields }
func (*Incident_Address_Borough) Descriptor
deprecated
func (*Incident_Address_Borough) Descriptor() ([]byte, []int)
Deprecated: Use Incident_Address_Borough.ProtoReflect.Descriptor instead.
func (*Incident_Address_Borough) GetCode ¶
func (x *Incident_Address_Borough) GetCode() string
func (*Incident_Address_Borough) GetName ¶
func (x *Incident_Address_Borough) GetName() string
func (*Incident_Address_Borough) GetStnGroundName ¶
func (x *Incident_Address_Borough) GetStnGroundName() string
func (*Incident_Address_Borough) ProtoMessage ¶
func (*Incident_Address_Borough) ProtoMessage()
func (*Incident_Address_Borough) ProtoReflect ¶
func (x *Incident_Address_Borough) ProtoReflect() protoreflect.Message
func (*Incident_Address_Borough) Reset ¶
func (x *Incident_Address_Borough) Reset()
func (*Incident_Address_Borough) String ¶
func (x *Incident_Address_Borough) String() string
type Incident_Call ¶
type Incident_Call struct { Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
func (*Incident_Call) Descriptor
deprecated
func (*Incident_Call) Descriptor() ([]byte, []int)
Deprecated: Use Incident_Call.ProtoReflect.Descriptor instead.
func (*Incident_Call) GetOrigin ¶
func (x *Incident_Call) GetOrigin() string
func (*Incident_Call) ProtoMessage ¶
func (*Incident_Call) ProtoMessage()
func (*Incident_Call) ProtoReflect ¶
func (x *Incident_Call) ProtoReflect() protoreflect.Message
func (*Incident_Call) Reset ¶
func (x *Incident_Call) Reset()
func (*Incident_Call) String ¶
func (x *Incident_Call) String() string
type Incident_Property ¶
type Incident_Property struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` // contains filtered or unexported fields }
func (*Incident_Property) Descriptor
deprecated
func (*Incident_Property) Descriptor() ([]byte, []int)
Deprecated: Use Incident_Property.ProtoReflect.Descriptor instead.
func (*Incident_Property) GetCategory ¶
func (x *Incident_Property) GetCategory() string
func (*Incident_Property) GetType ¶
func (x *Incident_Property) GetType() string
func (*Incident_Property) ProtoMessage ¶
func (*Incident_Property) ProtoMessage()
func (*Incident_Property) ProtoReflect ¶
func (x *Incident_Property) ProtoReflect() protoreflect.Message
func (*Incident_Property) Reset ¶
func (x *Incident_Property) Reset()
func (*Incident_Property) String ¶
func (x *Incident_Property) String() string
type Incident_SpecialService ¶
type Incident_SpecialService struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` // contains filtered or unexported fields }
func (*Incident_SpecialService) Descriptor
deprecated
func (*Incident_SpecialService) Descriptor() ([]byte, []int)
Deprecated: Use Incident_SpecialService.ProtoReflect.Descriptor instead.
func (*Incident_SpecialService) GetCategory ¶
func (x *Incident_SpecialService) GetCategory() string
func (*Incident_SpecialService) GetType ¶
func (x *Incident_SpecialService) GetType() string
func (*Incident_SpecialService) ProtoMessage ¶
func (*Incident_SpecialService) ProtoMessage()
func (*Incident_SpecialService) ProtoReflect ¶
func (x *Incident_SpecialService) ProtoReflect() protoreflect.Message
func (*Incident_SpecialService) Reset ¶
func (x *Incident_SpecialService) Reset()
func (*Incident_SpecialService) String ¶
func (x *Incident_SpecialService) String() string
type Incident_Ward ¶
type Incident_Ward struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Incident_Ward) Descriptor
deprecated
func (*Incident_Ward) Descriptor() ([]byte, []int)
Deprecated: Use Incident_Ward.ProtoReflect.Descriptor instead.
func (*Incident_Ward) GetCode ¶
func (x *Incident_Ward) GetCode() string
func (*Incident_Ward) GetName ¶
func (x *Incident_Ward) GetName() string
func (*Incident_Ward) ProtoMessage ¶
func (*Incident_Ward) ProtoMessage()
func (*Incident_Ward) ProtoReflect ¶
func (x *Incident_Ward) ProtoReflect() protoreflect.Message
func (*Incident_Ward) Reset ¶
func (x *Incident_Ward) Reset()
func (*Incident_Ward) String ¶
func (x *Incident_Ward) String() string
type UnimplementedIncidentServiceServer ¶
type UnimplementedIncidentServiceServer struct { }
UnimplementedIncidentServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIncidentServiceServer) GetIncidentsByAnimalGroup ¶
func (UnimplementedIncidentServiceServer) GetIncidentsByAnimalGroup(context.Context, *GetIncidentsByAnimalGroupRequest) (*IncidentList, error)
func (UnimplementedIncidentServiceServer) GetYearStats ¶
func (UnimplementedIncidentServiceServer) GetYearStats(context.Context, *GetIncidentsStatsRequest) (*GetIncidentsStatsResponse, error)
func (UnimplementedIncidentServiceServer) ListIncidents ¶
func (UnimplementedIncidentServiceServer) ListIncidents(context.Context, *emptypb.Empty) (*IncidentList, error)
type UnsafeIncidentServiceServer ¶
type UnsafeIncidentServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIncidentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IncidentServiceServer will result in compilation errors.