Files
temporal/api/namespace/v1/message.pb.go
Alex Shtin 91893f1064 Remove license header from every file (#7689)
## 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`.
2025-05-01 18:50:21 -07:00

139 lines
5.2 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// plugins:
// protoc-gen-go
// protoc
// source: temporal/server/api/namespace/v1/message.proto
package namespace
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)
)
type NamespaceCacheInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "in" and "by" are needed here. --)
ItemsInCacheByIdCount int64 `protobuf:"varint,1,opt,name=items_in_cache_by_id_count,json=itemsInCacheByIdCount,proto3" json:"items_in_cache_by_id_count,omitempty"`
// (-- api-linter: core::0140::prepositions=disabled
//
// aip.dev/not-precedent: "in" and "by" are needed here. --)
ItemsInCacheByNameCount int64 `protobuf:"varint,2,opt,name=items_in_cache_by_name_count,json=itemsInCacheByNameCount,proto3" json:"items_in_cache_by_name_count,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *NamespaceCacheInfo) Reset() {
*x = NamespaceCacheInfo{}
mi := &file_temporal_server_api_namespace_v1_message_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *NamespaceCacheInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NamespaceCacheInfo) ProtoMessage() {}
func (x *NamespaceCacheInfo) ProtoReflect() protoreflect.Message {
mi := &file_temporal_server_api_namespace_v1_message_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 NamespaceCacheInfo.ProtoReflect.Descriptor instead.
func (*NamespaceCacheInfo) Descriptor() ([]byte, []int) {
return file_temporal_server_api_namespace_v1_message_proto_rawDescGZIP(), []int{0}
}
func (x *NamespaceCacheInfo) GetItemsInCacheByIdCount() int64 {
if x != nil {
return x.ItemsInCacheByIdCount
}
return 0
}
func (x *NamespaceCacheInfo) GetItemsInCacheByNameCount() int64 {
if x != nil {
return x.ItemsInCacheByNameCount
}
return 0
}
var File_temporal_server_api_namespace_v1_message_proto protoreflect.FileDescriptor
const file_temporal_server_api_namespace_v1_message_proto_rawDesc = "" +
"\n" +
".temporal/server/api/namespace/v1/message.proto\x12 temporal.server.api.namespace.v1\"\x8e\x01\n" +
"\x12NamespaceCacheInfo\x129\n" +
"\x1aitems_in_cache_by_id_count\x18\x01 \x01(\x03R\x15itemsInCacheByIdCount\x12=\n" +
"\x1citems_in_cache_by_name_count\x18\x02 \x01(\x03R\x17itemsInCacheByNameCountB2Z0go.temporal.io/server/api/namespace/v1;namespaceb\x06proto3"
var (
file_temporal_server_api_namespace_v1_message_proto_rawDescOnce sync.Once
file_temporal_server_api_namespace_v1_message_proto_rawDescData []byte
)
func file_temporal_server_api_namespace_v1_message_proto_rawDescGZIP() []byte {
file_temporal_server_api_namespace_v1_message_proto_rawDescOnce.Do(func() {
file_temporal_server_api_namespace_v1_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_temporal_server_api_namespace_v1_message_proto_rawDesc), len(file_temporal_server_api_namespace_v1_message_proto_rawDesc)))
})
return file_temporal_server_api_namespace_v1_message_proto_rawDescData
}
var file_temporal_server_api_namespace_v1_message_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_temporal_server_api_namespace_v1_message_proto_goTypes = []any{
(*NamespaceCacheInfo)(nil), // 0: temporal.server.api.namespace.v1.NamespaceCacheInfo
}
var file_temporal_server_api_namespace_v1_message_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_temporal_server_api_namespace_v1_message_proto_init() }
func file_temporal_server_api_namespace_v1_message_proto_init() {
if File_temporal_server_api_namespace_v1_message_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_namespace_v1_message_proto_rawDesc), len(file_temporal_server_api_namespace_v1_message_proto_rawDesc)),
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_temporal_server_api_namespace_v1_message_proto_goTypes,
DependencyIndexes: file_temporal_server_api_namespace_v1_message_proto_depIdxs,
MessageInfos: file_temporal_server_api_namespace_v1_message_proto_msgTypes,
}.Build()
File_temporal_server_api_namespace_v1_message_proto = out.File
file_temporal_server_api_namespace_v1_message_proto_goTypes = nil
file_temporal_server_api_namespace_v1_message_proto_depIdxs = nil
}