frostfs-api-go/v2/object/grpc/status.pb.go
Leonard Lyubich 27798eaacb [#350] Compile protobuf files with status returns
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-11-17 12:15:42 +03:00

250 lines
8.3 KiB
Go
Generated

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.18.0
// source: v2/object/grpc/status.proto
package object
import (
grpc "github.com/nspcc-dev/neofs-api-go/v2/status/grpc"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
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)
)
type StatusCommon int32
const (
StatusCommon_ACCESS_DENIED StatusCommon = 0
)
// Enum value maps for StatusCommon.
var (
StatusCommon_name = map[int32]string{
0: "ACCESS_DENIED",
}
StatusCommon_value = map[string]int32{
"ACCESS_DENIED": 0,
}
)
func (x StatusCommon) Enum() *StatusCommon {
p := new(StatusCommon)
*p = x
return p
}
func (x StatusCommon) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (StatusCommon) Descriptor() protoreflect.EnumDescriptor {
return file_v2_object_grpc_status_proto_enumTypes[0].Descriptor()
}
func (StatusCommon) Type() protoreflect.EnumType {
return &file_v2_object_grpc_status_proto_enumTypes[0]
}
func (x StatusCommon) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use StatusCommon.Descriptor instead.
func (StatusCommon) EnumDescriptor() ([]byte, []int) {
return file_v2_object_grpc_status_proto_rawDescGZIP(), []int{0}
}
type StatusPut int32
const (
StatusPut_STATUS_PUT_INCOMPLETE StatusPut = 0
)
// Enum value maps for StatusPut.
var (
StatusPut_name = map[int32]string{
0: "STATUS_PUT_INCOMPLETE",
}
StatusPut_value = map[string]int32{
"STATUS_PUT_INCOMPLETE": 0,
}
)
func (x StatusPut) Enum() *StatusPut {
p := new(StatusPut)
*p = x
return p
}
func (x StatusPut) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (StatusPut) Descriptor() protoreflect.EnumDescriptor {
return file_v2_object_grpc_status_proto_enumTypes[1].Descriptor()
}
func (StatusPut) Type() protoreflect.EnumType {
return &file_v2_object_grpc_status_proto_enumTypes[1]
}
func (x StatusPut) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use StatusPut.Descriptor instead.
func (StatusPut) EnumDescriptor() ([]byte, []int) {
return file_v2_object_grpc_status_proto_rawDescGZIP(), []int{1}
}
type PutIncompleteDetail struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Statuses []*grpc.Status `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"`
}
func (x *PutIncompleteDetail) Reset() {
*x = PutIncompleteDetail{}
if protoimpl.UnsafeEnabled {
mi := &file_v2_object_grpc_status_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PutIncompleteDetail) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PutIncompleteDetail) ProtoMessage() {}
func (x *PutIncompleteDetail) ProtoReflect() protoreflect.Message {
mi := &file_v2_object_grpc_status_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 PutIncompleteDetail.ProtoReflect.Descriptor instead.
func (*PutIncompleteDetail) Descriptor() ([]byte, []int) {
return file_v2_object_grpc_status_proto_rawDescGZIP(), []int{0}
}
func (x *PutIncompleteDetail) GetStatuses() []*grpc.Status {
if x != nil {
return x.Statuses
}
return nil
}
var File_v2_object_grpc_status_proto protoreflect.FileDescriptor
var file_v2_object_grpc_status_proto_rawDesc = []byte{
0x0a, 0x1b, 0x76, 0x32, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63,
0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6e,
0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x1a,
0x1a, 0x76, 0x32, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f,
0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x13, 0x50,
0x75, 0x74, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61,
0x69, 0x6c, 0x12, 0x34, 0x0a, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x01,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32,
0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x08,
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x2a, 0x21, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74,
0x75, 0x73, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x43, 0x43, 0x45,
0x53, 0x53, 0x5f, 0x44, 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x00, 0x2a, 0x26, 0x0a, 0x09, 0x53,
0x74, 0x61, 0x74, 0x75, 0x73, 0x50, 0x75, 0x74, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x54, 0x41, 0x54,
0x55, 0x53, 0x5f, 0x50, 0x55, 0x54, 0x5f, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54,
0x45, 0x10, 0x00, 0x42, 0x56, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
0x6d, 0x2f, 0x6e, 0x73, 0x70, 0x63, 0x63, 0x2d, 0x64, 0x65, 0x76, 0x2f, 0x6e, 0x65, 0x6f, 0x66,
0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x6f, 0x62, 0x6a, 0x65,
0x63, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0xaa, 0x02,
0x1a, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
0x2e, 0x41, 0x50, 0x49, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (
file_v2_object_grpc_status_proto_rawDescOnce sync.Once
file_v2_object_grpc_status_proto_rawDescData = file_v2_object_grpc_status_proto_rawDesc
)
func file_v2_object_grpc_status_proto_rawDescGZIP() []byte {
file_v2_object_grpc_status_proto_rawDescOnce.Do(func() {
file_v2_object_grpc_status_proto_rawDescData = protoimpl.X.CompressGZIP(file_v2_object_grpc_status_proto_rawDescData)
})
return file_v2_object_grpc_status_proto_rawDescData
}
var file_v2_object_grpc_status_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_v2_object_grpc_status_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_v2_object_grpc_status_proto_goTypes = []interface{}{
(StatusCommon)(0), // 0: neo.fs.v2.object.StatusCommon
(StatusPut)(0), // 1: neo.fs.v2.object.StatusPut
(*PutIncompleteDetail)(nil), // 2: neo.fs.v2.object.PutIncompleteDetail
(*grpc.Status)(nil), // 3: neo.fs.v2.status.Status
}
var file_v2_object_grpc_status_proto_depIdxs = []int32{
3, // 0: neo.fs.v2.object.PutIncompleteDetail.statuses:type_name -> neo.fs.v2.status.Status
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_v2_object_grpc_status_proto_init() }
func file_v2_object_grpc_status_proto_init() {
if File_v2_object_grpc_status_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_v2_object_grpc_status_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PutIncompleteDetail); 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_v2_object_grpc_status_proto_rawDesc,
NumEnums: 2,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_v2_object_grpc_status_proto_goTypes,
DependencyIndexes: file_v2_object_grpc_status_proto_depIdxs,
EnumInfos: file_v2_object_grpc_status_proto_enumTypes,
MessageInfos: file_v2_object_grpc_status_proto_msgTypes,
}.Build()
File_v2_object_grpc_status_proto = out.File
file_v2_object_grpc_status_proto_rawDesc = nil
file_v2_object_grpc_status_proto_goTypes = nil
file_v2_object_grpc_status_proto_depIdxs = nil
}