Documentation ¶
Index ¶
- Variables
- type Key
- type Magnitude
- func (*Magnitude) Descriptor() ([]byte, []int)deprecated
- func (x *Magnitude) GetMagnitude() float64
- func (x *Magnitude) GetMagnitudeMethod() string
- func (x *Magnitude) GetMagnitudeType() string
- func (x *Magnitude) GetMagnitudeUncertainty() float64
- func (x *Magnitude) GetStationCount() int64
- func (x *Magnitude) GetStationMagnitude() []*StationMagnitude
- func (*Magnitude) ProtoMessage()
- func (x *Magnitude) ProtoReflect() protoreflect.Message
- func (x *Magnitude) Reset()
- func (x *Magnitude) String() string
- type Phase
- func (*Phase) Descriptor() ([]byte, []int)deprecated
- func (x *Phase) GetAzimuth() float64
- func (x *Phase) GetChannelCode() string
- func (x *Phase) GetDistance() float64
- func (x *Phase) GetEvaluationMode() string
- func (x *Phase) GetEvaluationStatus() string
- func (x *Phase) GetLocationCode() string
- func (x *Phase) GetNetworkCode() string
- func (x *Phase) GetPhase() string
- func (x *Phase) GetResidual() float64
- func (x *Phase) GetStationCode() string
- func (x *Phase) GetTime() *Timestamp
- func (x *Phase) GetWeight() float64
- func (*Phase) ProtoMessage()
- func (x *Phase) ProtoReflect() protoreflect.Message
- func (x *Phase) Reset()
- func (x *Phase) String() string
- type Quake
- func (*Quake) Descriptor() ([]byte, []int)deprecated
- func (x *Quake) GetAgency() string
- func (x *Quake) GetAzimuthalGap() float64
- func (x *Quake) GetDepth() float64
- func (x *Quake) GetDepthType() string
- func (x *Quake) GetDepthUncertainty() float64
- func (x *Quake) GetEarthModel() string
- func (x *Quake) GetEvaluationMode() string
- func (x *Quake) GetEvaluationStatus() string
- func (x *Quake) GetLatitude() float64
- func (x *Quake) GetLatitudeUncertainty() float64
- func (x *Quake) GetLongitude() float64
- func (x *Quake) GetLongitudeUncertainty() float64
- func (x *Quake) GetMagnitude() float64
- func (x *Quake) GetMagnitudeStationCount() int64
- func (x *Quake) GetMagnitudeType() string
- func (x *Quake) GetMagnitudeUncertainty() float64
- func (x *Quake) GetMagnitudes() []*Magnitude
- func (x *Quake) GetMethod() string
- func (x *Quake) GetMinimumDistance() float64
- func (x *Quake) GetModificationTime() *Timestamp
- func (x *Quake) GetPhases() []*Phase
- func (x *Quake) GetPublicID() string
- func (x *Quake) GetQuakeType() string
- func (x *Quake) GetStandardError() float64
- func (x *Quake) GetTime() *Timestamp
- func (x *Quake) GetUsedPhaseCount() int64
- func (x *Quake) GetUsedStationCount() int64
- func (*Quake) ProtoMessage()
- func (x *Quake) ProtoReflect() protoreflect.Message
- func (x *Quake) Reset()
- func (x *Quake) String() string
- type StationMagnitude
- func (*StationMagnitude) Descriptor() ([]byte, []int)deprecated
- func (x *StationMagnitude) GetAmplitude() float64
- func (x *StationMagnitude) GetChannelCode() string
- func (x *StationMagnitude) GetLocationCode() string
- func (x *StationMagnitude) GetMagnitude() float64
- func (x *StationMagnitude) GetMagnitudeType() string
- func (x *StationMagnitude) GetNetworkCode() string
- func (x *StationMagnitude) GetResidual() float64
- func (x *StationMagnitude) GetStationCode() string
- func (x *StationMagnitude) GetWeight() float64
- func (*StationMagnitude) ProtoMessage()
- func (x *StationMagnitude) ProtoReflect() protoreflect.Message
- func (x *StationMagnitude) Reset()
- func (x *StationMagnitude) String() string
- type Timestamp
Constants ¶
This section is empty.
Variables ¶
View Source
var File_quake_key_proto protoreflect.FileDescriptor
View Source
var File_quake_quake_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct { QuakeID string `protobuf:"bytes,1,opt,name=quake_iD,json=quakeID,proto3" json:"quake_iD,omitempty"` // contains filtered or unexported fields }
for Kafka message keys.
func (*Key) Descriptor
deprecated
func (*Key) GetQuakeID ¶
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) ProtoReflect ¶
func (x *Key) ProtoReflect() protoreflect.Message
type Magnitude ¶
type Magnitude struct { // StationMagnitude that have contributed to the Magnitude. StationMagnitude []*StationMagnitude `protobuf:"bytes,1,rep,name=station_magnitude,json=stationMagnitude,proto3" json:"station_magnitude,omitempty"` Magnitude float64 `protobuf:"fixed64,2,opt,name=magnitude,proto3" json:"magnitude,omitempty"` MagnitudeUncertainty float64 `protobuf:"fixed64,3,opt,name=magnitude_uncertainty,json=magnitudeUncertainty,proto3" json:"magnitude_uncertainty,omitempty"` MagnitudeType string `protobuf:"bytes,4,opt,name=magnitude_type,json=magnitudeType,proto3" json:"magnitude_type,omitempty"` MagnitudeMethod string `protobuf:"bytes,5,opt,name=magnitude_method,json=magnitudeMethod,proto3" json:"magnitude_method,omitempty"` StationCount int64 `protobuf:"varint,6,opt,name=station_count,json=stationCount,proto3" json:"station_count,omitempty"` // contains filtered or unexported fields }
Magnitude represents a quake magnitude.
func (*Magnitude) Descriptor
deprecated
func (*Magnitude) GetMagnitude ¶
func (*Magnitude) GetMagnitudeMethod ¶
func (*Magnitude) GetMagnitudeType ¶
func (*Magnitude) GetMagnitudeUncertainty ¶
func (*Magnitude) GetStationCount ¶
func (*Magnitude) GetStationMagnitude ¶
func (x *Magnitude) GetStationMagnitude() []*StationMagnitude
func (*Magnitude) ProtoMessage ¶
func (*Magnitude) ProtoMessage()
func (*Magnitude) ProtoReflect ¶
func (x *Magnitude) ProtoReflect() protoreflect.Message
type Phase ¶
type Phase struct { NetworkCode string `protobuf:"bytes,1,opt,name=network_code,json=networkCode,proto3" json:"network_code,omitempty"` StationCode string `protobuf:"bytes,2,opt,name=station_code,json=stationCode,proto3" json:"station_code,omitempty"` LocationCode string `protobuf:"bytes,3,opt,name=location_code,json=locationCode,proto3" json:"location_code,omitempty"` ChannelCode string `protobuf:"bytes,4,opt,name=channel_code,json=channelCode,proto3" json:"channel_code,omitempty"` Phase string `protobuf:"bytes,5,opt,name=phase,proto3" json:"phase,omitempty"` Time *Timestamp `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"` Residual float64 `protobuf:"fixed64,7,opt,name=residual,proto3" json:"residual,omitempty"` Weight float64 `protobuf:"fixed64,8,opt,name=weight,proto3" json:"weight,omitempty"` Azimuth float64 `protobuf:"fixed64,9,opt,name=azimuth,proto3" json:"azimuth,omitempty"` Distance float64 `protobuf:"fixed64,10,opt,name=distance,proto3" json:"distance,omitempty"` EvaluationMode string `protobuf:"bytes,11,opt,name=evaluation_mode,json=evaluationMode,proto3" json:"evaluation_mode,omitempty"` EvaluationStatus string `protobuf:"bytes,12,opt,name=evaluation_status,json=evaluationStatus,proto3" json:"evaluation_status,omitempty"` // contains filtered or unexported fields }
Phase represents a seismic phase.
func (*Phase) Descriptor
deprecated
func (*Phase) GetAzimuth ¶
func (*Phase) GetChannelCode ¶
func (*Phase) GetDistance ¶
func (*Phase) GetEvaluationMode ¶
func (*Phase) GetEvaluationStatus ¶
func (*Phase) GetLocationCode ¶
func (*Phase) GetNetworkCode ¶
func (*Phase) GetResidual ¶
func (*Phase) GetStationCode ¶
func (*Phase) ProtoMessage ¶
func (*Phase) ProtoMessage()
func (*Phase) ProtoReflect ¶
func (x *Phase) ProtoReflect() protoreflect.Message
type Quake ¶
type Quake struct { // All the Phase used to locate the quake. Phases []*Phase `protobuf:"bytes,1,rep,name=phases,proto3" json:"phases,omitempty"` // Magnitude all the magnitudes associated with the quake. Magnitudes []*Magnitude `protobuf:"bytes,2,rep,name=magnitudes,proto3" json:"magnitudes,omitempty"` PublicID string `protobuf:"bytes,10,opt,name=public_iD,json=publicID,proto3" json:"public_iD,omitempty"` QuakeType string `protobuf:"bytes,11,opt,name=quake_type,json=quakeType,proto3" json:"quake_type,omitempty"` Time *Timestamp `protobuf:"bytes,12,opt,name=time,proto3" json:"time,omitempty"` Latitude float64 `protobuf:"fixed64,13,opt,name=latitude,proto3" json:"latitude,omitempty"` LatitudeUncertainty float64 `protobuf:"fixed64,14,opt,name=latitude_uncertainty,json=latitudeUncertainty,proto3" json:"latitude_uncertainty,omitempty"` Longitude float64 `protobuf:"fixed64,15,opt,name=longitude,proto3" json:"longitude,omitempty"` LongitudeUncertainty float64 `protobuf:"fixed64,16,opt,name=longitude_uncertainty,json=longitudeUncertainty,proto3" json:"longitude_uncertainty,omitempty"` Depth float64 `protobuf:"fixed64,17,opt,name=depth,proto3" json:"depth,omitempty"` DepthUncertainty float64 `protobuf:"fixed64,18,opt,name=depth_uncertainty,json=depthUncertainty,proto3" json:"depth_uncertainty,omitempty"` DepthType string `protobuf:"bytes,19,opt,name=depth_type,json=depthType,proto3" json:"depth_type,omitempty"` Magnitude float64 `protobuf:"fixed64,20,opt,name=magnitude,proto3" json:"magnitude,omitempty"` MagnitudeUncertainty float64 `protobuf:"fixed64,21,opt,name=magnitude_uncertainty,json=magnitudeUncertainty,proto3" json:"magnitude_uncertainty,omitempty"` MagnitudeType string `protobuf:"bytes,22,opt,name=magnitude_type,json=magnitudeType,proto3" json:"magnitude_type,omitempty"` MagnitudeStationCount int64 `` /* 128-byte string literal not displayed */ Method string `protobuf:"bytes,24,opt,name=method,proto3" json:"method,omitempty"` EarthModel string `protobuf:"bytes,25,opt,name=earth_model,json=earthModel,proto3" json:"earth_model,omitempty"` EvaluationMode string `protobuf:"bytes,26,opt,name=evaluation_mode,json=evaluationMode,proto3" json:"evaluation_mode,omitempty"` EvaluationStatus string `protobuf:"bytes,27,opt,name=evaluation_status,json=evaluationStatus,proto3" json:"evaluation_status,omitempty"` UsedPhaseCount int64 `protobuf:"varint,28,opt,name=used_phase_count,json=usedPhaseCount,proto3" json:"used_phase_count,omitempty"` UsedStationCount int64 `protobuf:"varint,29,opt,name=used_station_count,json=usedStationCount,proto3" json:"used_station_count,omitempty"` StandardError float64 `protobuf:"fixed64,30,opt,name=standard_error,json=standardError,proto3" json:"standard_error,omitempty"` AzimuthalGap float64 `protobuf:"fixed64,31,opt,name=azimuthal_gap,json=azimuthalGap,proto3" json:"azimuthal_gap,omitempty"` MinimumDistance float64 `protobuf:"fixed64,32,opt,name=minimum_distance,json=minimumDistance,proto3" json:"minimum_distance,omitempty"` Agency string `protobuf:"bytes,33,opt,name=agency,proto3" json:"agency,omitempty"` ModificationTime *Timestamp `protobuf:"bytes,34,opt,name=modification_time,json=modificationTime,proto3" json:"modification_time,omitempty"` // contains filtered or unexported fields }
Quake is for earthquake information. Field names are chosen to avoid clashes with ksqldb keywords
func (*Quake) Descriptor
deprecated
func (*Quake) GetAzimuthalGap ¶
func (*Quake) GetDepthType ¶
func (*Quake) GetDepthUncertainty ¶
func (*Quake) GetEarthModel ¶
func (*Quake) GetEvaluationMode ¶
func (*Quake) GetEvaluationStatus ¶
func (*Quake) GetLatitude ¶
func (*Quake) GetLatitudeUncertainty ¶
func (*Quake) GetLongitude ¶
func (*Quake) GetLongitudeUncertainty ¶
func (*Quake) GetMagnitude ¶
func (*Quake) GetMagnitudeStationCount ¶
func (*Quake) GetMagnitudeType ¶
func (*Quake) GetMagnitudeUncertainty ¶
func (*Quake) GetMagnitudes ¶
func (*Quake) GetMinimumDistance ¶
func (*Quake) GetModificationTime ¶
func (*Quake) GetPublicID ¶
func (*Quake) GetQuakeType ¶
func (*Quake) GetStandardError ¶
func (*Quake) GetUsedPhaseCount ¶
func (*Quake) GetUsedStationCount ¶
func (*Quake) ProtoMessage ¶
func (*Quake) ProtoMessage()
func (*Quake) ProtoReflect ¶
func (x *Quake) ProtoReflect() protoreflect.Message
type StationMagnitude ¶
type StationMagnitude struct { NetworkCode string `protobuf:"bytes,1,opt,name=network_code,json=networkCode,proto3" json:"network_code,omitempty"` StationCode string `protobuf:"bytes,2,opt,name=station_code,json=stationCode,proto3" json:"station_code,omitempty"` LocationCode string `protobuf:"bytes,3,opt,name=location_code,json=locationCode,proto3" json:"location_code,omitempty"` ChannelCode string `protobuf:"bytes,4,opt,name=channel_code,json=channelCode,proto3" json:"channel_code,omitempty"` Magnitude float64 `protobuf:"fixed64,5,opt,name=magnitude,proto3" json:"magnitude,omitempty"` MagnitudeType string `protobuf:"bytes,6,opt,name=magnitude_type,json=magnitudeType,proto3" json:"magnitude_type,omitempty"` Residual float64 `protobuf:"fixed64,7,opt,name=residual,proto3" json:"residual,omitempty"` Weight float64 `protobuf:"fixed64,8,opt,name=weight,proto3" json:"weight,omitempty"` Amplitude float64 `protobuf:"fixed64,9,opt,name=amplitude,proto3" json:"amplitude,omitempty"` // contains filtered or unexported fields }
StationMagnitude the magnitude calculated at a single station.
func (*StationMagnitude) Descriptor
deprecated
func (*StationMagnitude) Descriptor() ([]byte, []int)
Deprecated: Use StationMagnitude.ProtoReflect.Descriptor instead.
func (*StationMagnitude) GetAmplitude ¶
func (x *StationMagnitude) GetAmplitude() float64
func (*StationMagnitude) GetChannelCode ¶
func (x *StationMagnitude) GetChannelCode() string
func (*StationMagnitude) GetLocationCode ¶
func (x *StationMagnitude) GetLocationCode() string
func (*StationMagnitude) GetMagnitude ¶
func (x *StationMagnitude) GetMagnitude() float64
func (*StationMagnitude) GetMagnitudeType ¶
func (x *StationMagnitude) GetMagnitudeType() string
func (*StationMagnitude) GetNetworkCode ¶
func (x *StationMagnitude) GetNetworkCode() string
func (*StationMagnitude) GetResidual ¶
func (x *StationMagnitude) GetResidual() float64
func (*StationMagnitude) GetStationCode ¶
func (x *StationMagnitude) GetStationCode() string
func (*StationMagnitude) GetWeight ¶
func (x *StationMagnitude) GetWeight() float64
func (*StationMagnitude) ProtoMessage ¶
func (*StationMagnitude) ProtoMessage()
func (*StationMagnitude) ProtoReflect ¶
func (x *StationMagnitude) ProtoReflect() protoreflect.Message
func (*StationMagnitude) Reset ¶
func (x *StationMagnitude) Reset()
func (*StationMagnitude) String ¶
func (x *StationMagnitude) String() string
type Timestamp ¶
type Timestamp struct { // Unix time in seconds Secs int64 `protobuf:"varint,1,opt,name=secs,proto3" json:"secs,omitempty"` // Frational part of time in nanoseconds. Nanos int64 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` // contains filtered or unexported fields }
Timestamp for encoding time stamps.
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.