mirror of
https://github.com/temporalio/temporal.git
synced 2026-08-30 18:41:49 -07:00
## What changed?
<!-- Describe what has changed in this PR -->
Remove license header from every file. Because it is really hard to
follow in this PR here is the summary:
1. License header is removed from all `.go` and `.proto` files
:fireworks::fireworks:🎆.
2. `LICENSE` file in the root directory has only Temporal and Uber
copyrights.
3. 5 other `LICENSE` files added to the packages which have copyrights
different from Temporal and Uber: Datadog, Xargin, "Mat Ryer, Tyler
Bunnell and contributors".
4. `license_file` flag is removed from all code generation tools.
5. `copyright_file` flag is removed from `go:generate mockgen`
directive.
6. All copyright related targets are removed from `Makefile`.
7. Updated Temporal copyright year to 2025 everywhere.
## Why?
<!-- Tell your future self why have you made these changes -->
I double checked with legal department that it is not needed to have
license header in every file. One file per repo is enough. I put all
copyrights to the root `LICENSE` file and removed header from all other
files. Also updated tools and `Makefile`.
130 lines
5.4 KiB
Go
130 lines
5.4 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// plugins:
|
|
// protoc-gen-go
|
|
// protoc
|
|
// source: temporal/server/api/persistence/v1/queue_metadata.proto
|
|
|
|
package persistence
|
|
|
|
import (
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
)
|
|
|
|
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)
|
|
)
|
|
|
|
// data column
|
|
type QueueMetadata struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ClusterAckLevels map[string]int64 `protobuf:"bytes,1,rep,name=cluster_ack_levels,json=clusterAckLevels,proto3" json:"cluster_ack_levels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *QueueMetadata) Reset() {
|
|
*x = QueueMetadata{}
|
|
mi := &file_temporal_server_api_persistence_v1_queue_metadata_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *QueueMetadata) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueueMetadata) ProtoMessage() {}
|
|
|
|
func (x *QueueMetadata) ProtoReflect() protoreflect.Message {
|
|
mi := &file_temporal_server_api_persistence_v1_queue_metadata_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use QueueMetadata.ProtoReflect.Descriptor instead.
|
|
func (*QueueMetadata) Descriptor() ([]byte, []int) {
|
|
return file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *QueueMetadata) GetClusterAckLevels() map[string]int64 {
|
|
if x != nil {
|
|
return x.ClusterAckLevels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_temporal_server_api_persistence_v1_queue_metadata_proto protoreflect.FileDescriptor
|
|
|
|
const file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDesc = "" +
|
|
"\n" +
|
|
"7temporal/server/api/persistence/v1/queue_metadata.proto\x12\"temporal.server.api.persistence.v1\"\xcb\x01\n" +
|
|
"\rQueueMetadata\x12u\n" +
|
|
"\x12cluster_ack_levels\x18\x01 \x03(\v2G.temporal.server.api.persistence.v1.QueueMetadata.ClusterAckLevelsEntryR\x10clusterAckLevels\x1aC\n" +
|
|
"\x15ClusterAckLevelsEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
"\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01B6Z4go.temporal.io/server/api/persistence/v1;persistenceb\x06proto3"
|
|
|
|
var (
|
|
file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDescOnce sync.Once
|
|
file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDescGZIP() []byte {
|
|
file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDescOnce.Do(func() {
|
|
file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDesc), len(file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDesc)))
|
|
})
|
|
return file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDescData
|
|
}
|
|
|
|
var file_temporal_server_api_persistence_v1_queue_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
var file_temporal_server_api_persistence_v1_queue_metadata_proto_goTypes = []any{
|
|
(*QueueMetadata)(nil), // 0: temporal.server.api.persistence.v1.QueueMetadata
|
|
nil, // 1: temporal.server.api.persistence.v1.QueueMetadata.ClusterAckLevelsEntry
|
|
}
|
|
var file_temporal_server_api_persistence_v1_queue_metadata_proto_depIdxs = []int32{
|
|
1, // 0: temporal.server.api.persistence.v1.QueueMetadata.cluster_ack_levels:type_name -> temporal.server.api.persistence.v1.QueueMetadata.ClusterAckLevelsEntry
|
|
1, // [1:1] is the sub-list for method output_type
|
|
1, // [1:1] is the sub-list for method input_type
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
0, // [0:1] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_temporal_server_api_persistence_v1_queue_metadata_proto_init() }
|
|
func file_temporal_server_api_persistence_v1_queue_metadata_proto_init() {
|
|
if File_temporal_server_api_persistence_v1_queue_metadata_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDesc), len(file_temporal_server_api_persistence_v1_queue_metadata_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 2,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_temporal_server_api_persistence_v1_queue_metadata_proto_goTypes,
|
|
DependencyIndexes: file_temporal_server_api_persistence_v1_queue_metadata_proto_depIdxs,
|
|
MessageInfos: file_temporal_server_api_persistence_v1_queue_metadata_proto_msgTypes,
|
|
}.Build()
|
|
File_temporal_server_api_persistence_v1_queue_metadata_proto = out.File
|
|
file_temporal_server_api_persistence_v1_queue_metadata_proto_goTypes = nil
|
|
file_temporal_server_api_persistence_v1_queue_metadata_proto_depIdxs = nil
|
|
}
|