2020-10-19 18:51:59 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
2022-09-17 09:59:54 +00:00
|
|
|
// protoc-gen-go v1.28.0
|
|
|
|
// protoc v3.21.6
|
2021-11-17 09:35:56 +00:00
|
|
|
// source: container/grpc/types.proto
|
2020-08-12 09:57:28 +00:00
|
|
|
|
2020-08-13 12:43:47 +00:00
|
|
|
package container
|
2020-08-12 09:57:28 +00:00
|
|
|
|
|
|
|
import (
|
2020-08-20 07:49:12 +00:00
|
|
|
grpc1 "github.com/nspcc-dev/neofs-api-go/v2/netmap/grpc"
|
|
|
|
grpc "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc"
|
2020-10-19 18:51:59 +00:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2020-08-12 09:57:28 +00:00
|
|
|
)
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
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)
|
|
|
|
)
|
2020-08-12 09:57:28 +00:00
|
|
|
|
2020-10-19 12:34:51 +00:00
|
|
|
// Container is a structure that defines object placement behaviour. Objects can
|
|
|
|
// be stored only within containers. They define placement rule, attributes and
|
2022-06-15 17:30:22 +00:00
|
|
|
// access control information. An ID of a container is a 32 byte long SHA256 hash
|
2020-10-19 12:34:51 +00:00
|
|
|
// of stable-marshalled container message.
|
2020-08-12 09:57:28 +00:00
|
|
|
type Container struct {
|
2020-10-19 18:51:59 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2022-06-15 17:30:22 +00:00
|
|
|
// Container format version. Effectively, the version of API library used to
|
|
|
|
// create the container.
|
2020-08-17 11:29:50 +00:00
|
|
|
Version *grpc.Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
2020-10-19 12:34:51 +00:00
|
|
|
// Identifier of the container owner
|
|
|
|
OwnerId *grpc.OwnerID `protobuf:"bytes,2,opt,name=owner_id,json=ownerID,proto3" json:"owner_id,omitempty"`
|
2020-12-10 07:48:09 +00:00
|
|
|
// Nonce is a 16 byte UUIDv4, used to avoid collisions of `ContainerID`s
|
2020-08-17 11:29:50 +00:00
|
|
|
Nonce []byte `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
|
2022-06-15 17:30:22 +00:00
|
|
|
// `BasicACL` contains access control rules for the owner, system and others groups,
|
|
|
|
// as well as permission bits for `BearerToken` and `Extended ACL`
|
2020-10-19 12:34:51 +00:00
|
|
|
BasicAcl uint32 `protobuf:"varint,4,opt,name=basic_acl,json=basicACL,proto3" json:"basic_acl,omitempty"`
|
|
|
|
// Attributes represent immutable container's meta data
|
2020-08-17 11:29:50 +00:00
|
|
|
Attributes []*Container_Attribute `protobuf:"bytes,5,rep,name=attributes,proto3" json:"attributes,omitempty"`
|
2020-10-19 12:34:51 +00:00
|
|
|
// Placement policy for the object inside the container
|
2020-10-19 18:51:59 +00:00
|
|
|
PlacementPolicy *grpc1.PlacementPolicy `protobuf:"bytes,6,opt,name=placement_policy,json=placementPolicy,proto3" json:"placement_policy,omitempty"`
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Container) Reset() {
|
|
|
|
*x = Container{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-11-17 09:35:56 +00:00
|
|
|
mi := &file_container_grpc_types_proto_msgTypes[0]
|
2020-10-19 18:51:59 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
|
|
|
|
func (x *Container) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
|
|
|
|
func (*Container) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Container) ProtoReflect() protoreflect.Message {
|
2021-11-17 09:35:56 +00:00
|
|
|
mi := &file_container_grpc_types_proto_msgTypes[0]
|
2020-10-19 18:51:59 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return ms
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return mi.MessageOf(x)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Deprecated: Use Container.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Container) Descriptor() ([]byte, []int) {
|
2021-11-17 09:35:56 +00:00
|
|
|
return file_container_grpc_types_proto_rawDescGZIP(), []int{0}
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
2020-08-12 09:57:28 +00:00
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Container) GetVersion() *grpc.Version {
|
|
|
|
if x != nil {
|
|
|
|
return x.Version
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Container) GetOwnerId() *grpc.OwnerID {
|
|
|
|
if x != nil {
|
|
|
|
return x.OwnerId
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Container) GetNonce() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.Nonce
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Container) GetBasicAcl() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.BasicAcl
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Container) GetAttributes() []*Container_Attribute {
|
|
|
|
if x != nil {
|
|
|
|
return x.Attributes
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Container) GetPlacementPolicy() *grpc1.PlacementPolicy {
|
|
|
|
if x != nil {
|
|
|
|
return x.PlacementPolicy
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 12:34:51 +00:00
|
|
|
// `Attribute` is a user-defined Key-Value metadata pair attached to the
|
2022-06-15 17:30:22 +00:00
|
|
|
// container. Container attributes are immutable. They are set at the moment of
|
|
|
|
// container creation and can never be added or updated.
|
2020-12-10 07:48:09 +00:00
|
|
|
//
|
2020-12-18 13:00:50 +00:00
|
|
|
// Key name must be a container-unique valid UTF-8 string. Value can't be
|
|
|
|
// empty. Containers with duplicated attribute names or attributes with empty
|
|
|
|
// values will be considered invalid.
|
2020-10-19 12:34:51 +00:00
|
|
|
//
|
|
|
|
// There are some "well-known" attributes affecting system behaviour:
|
|
|
|
//
|
2022-09-15 05:21:44 +00:00
|
|
|
// - __NEOFS__SUBNET \
|
|
|
|
// String ID of a container's storage subnet. Any container can be attached to
|
|
|
|
// one subnet only.
|
|
|
|
// - __NEOFS__NAME \
|
|
|
|
// String of a human-friendly container name registered as a domain in
|
|
|
|
// NNS contract.
|
|
|
|
// - __NEOFS__ZONE \
|
|
|
|
// String of a zone for `__NEOFS__NAME`. Used as a TLD of a domain name in NNS
|
|
|
|
// contract. If no zone is specified, use default zone: `container`.
|
|
|
|
// - __NEOFS__DISABLE_HOMOMORPHIC_HASHING \
|
|
|
|
// Disables homomorphic hashing for the container if the value equals "true" string.
|
|
|
|
// Any other values are interpreted as missing attribute. Container could be
|
|
|
|
// accepted in a NeoFS network only if the global network hashing configuration
|
|
|
|
// value corresponds with that attribute's value. After container inclusion, network
|
|
|
|
// setting is ignored.
|
2020-10-27 13:48:17 +00:00
|
|
|
//
|
|
|
|
// And some well-known attributes used by applications only:
|
|
|
|
//
|
2022-09-15 05:21:44 +00:00
|
|
|
// - Name \
|
|
|
|
// Human-friendly name
|
|
|
|
// - Timestamp \
|
|
|
|
// User-defined local time of container creation in Unix Timestamp format
|
2020-08-12 09:57:28 +00:00
|
|
|
type Container_Attribute struct {
|
2020-10-19 18:51:59 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2020-10-19 12:34:51 +00:00
|
|
|
// Attribute name key
|
2020-08-12 09:57:28 +00:00
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
2020-10-19 12:34:51 +00:00
|
|
|
// Attribute value
|
2020-10-19 18:51:59 +00:00
|
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Container_Attribute) Reset() {
|
|
|
|
*x = Container_Attribute{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-11-17 09:35:56 +00:00
|
|
|
mi := &file_container_grpc_types_proto_msgTypes[1]
|
2020-10-19 18:51:59 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Container_Attribute) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (*Container_Attribute) ProtoMessage() {}
|
2020-08-12 09:57:28 +00:00
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Container_Attribute) ProtoReflect() protoreflect.Message {
|
2021-11-17 09:35:56 +00:00
|
|
|
mi := &file_container_grpc_types_proto_msgTypes[1]
|
2020-10-19 18:51:59 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return ms
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return mi.MessageOf(x)
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Deprecated: Use Container_Attribute.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Container_Attribute) Descriptor() ([]byte, []int) {
|
2021-11-17 09:35:56 +00:00
|
|
|
return file_container_grpc_types_proto_rawDescGZIP(), []int{0, 0}
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Container_Attribute) GetKey() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Key
|
2020-08-17 11:29:50 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return ""
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Container_Attribute) GetValue() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Value
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return ""
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2021-11-17 09:35:56 +00:00
|
|
|
var File_container_grpc_types_proto protoreflect.FileDescriptor
|
2020-10-19 18:51:59 +00:00
|
|
|
|
2021-11-17 09:35:56 +00:00
|
|
|
var file_container_grpc_types_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2f, 0x67, 0x72, 0x70, 0x63,
|
|
|
|
0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6e, 0x65,
|
|
|
|
0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
|
|
|
|
0x72, 0x1a, 0x17, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74,
|
|
|
|
0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x72, 0x65, 0x66, 0x73,
|
|
|
|
0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
0x6f, 0x22, 0xf2, 0x02, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12,
|
|
|
|
0x31, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
0x32, 0x17, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66,
|
|
|
|
0x73, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
|
|
|
|
0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02,
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32,
|
|
|
|
0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x52, 0x07, 0x6f,
|
|
|
|
0x77, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18,
|
|
|
|
0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09,
|
|
|
|
0x62, 0x61, 0x73, 0x69, 0x63, 0x5f, 0x61, 0x63, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
|
|
0x08, 0x62, 0x61, 0x73, 0x69, 0x63, 0x41, 0x43, 0x4c, 0x12, 0x48, 0x0a, 0x0a, 0x61, 0x74, 0x74,
|
|
|
|
0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e,
|
|
|
|
0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69,
|
|
|
|
0x6e, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x41, 0x74,
|
|
|
|
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
|
|
|
|
0x74, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x10, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74,
|
|
|
|
0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e,
|
|
|
|
0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70,
|
|
|
|
0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
|
|
|
0x52, 0x0f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63,
|
|
|
|
0x79, 0x1a, 0x33, 0x0a, 0x09, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x10,
|
|
|
|
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
|
|
|
|
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x5f, 0x5a, 0x3d, 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, 0x63,
|
|
|
|
0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x63, 0x6f,
|
|
|
|
0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0xaa, 0x02, 0x1d, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69,
|
|
|
|
0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x43, 0x6f,
|
|
|
|
0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
var (
|
2021-11-17 09:35:56 +00:00
|
|
|
file_container_grpc_types_proto_rawDescOnce sync.Once
|
|
|
|
file_container_grpc_types_proto_rawDescData = file_container_grpc_types_proto_rawDesc
|
2020-10-19 18:51:59 +00:00
|
|
|
)
|
2020-08-12 09:57:28 +00:00
|
|
|
|
2021-11-17 09:35:56 +00:00
|
|
|
func file_container_grpc_types_proto_rawDescGZIP() []byte {
|
|
|
|
file_container_grpc_types_proto_rawDescOnce.Do(func() {
|
|
|
|
file_container_grpc_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_container_grpc_types_proto_rawDescData)
|
2020-10-19 18:51:59 +00:00
|
|
|
})
|
2021-11-17 09:35:56 +00:00
|
|
|
return file_container_grpc_types_proto_rawDescData
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
|
|
|
|
2021-11-17 09:35:56 +00:00
|
|
|
var file_container_grpc_types_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
|
|
var file_container_grpc_types_proto_goTypes = []interface{}{
|
2020-10-19 18:51:59 +00:00
|
|
|
(*Container)(nil), // 0: neo.fs.v2.container.Container
|
|
|
|
(*Container_Attribute)(nil), // 1: neo.fs.v2.container.Container.Attribute
|
|
|
|
(*grpc.Version)(nil), // 2: neo.fs.v2.refs.Version
|
|
|
|
(*grpc.OwnerID)(nil), // 3: neo.fs.v2.refs.OwnerID
|
|
|
|
(*grpc1.PlacementPolicy)(nil), // 4: neo.fs.v2.netmap.PlacementPolicy
|
|
|
|
}
|
2021-11-17 09:35:56 +00:00
|
|
|
var file_container_grpc_types_proto_depIdxs = []int32{
|
2020-10-19 18:51:59 +00:00
|
|
|
2, // 0: neo.fs.v2.container.Container.version:type_name -> neo.fs.v2.refs.Version
|
|
|
|
3, // 1: neo.fs.v2.container.Container.owner_id:type_name -> neo.fs.v2.refs.OwnerID
|
|
|
|
1, // 2: neo.fs.v2.container.Container.attributes:type_name -> neo.fs.v2.container.Container.Attribute
|
|
|
|
4, // 3: neo.fs.v2.container.Container.placement_policy:type_name -> neo.fs.v2.netmap.PlacementPolicy
|
|
|
|
4, // [4:4] is the sub-list for method output_type
|
|
|
|
4, // [4:4] is the sub-list for method input_type
|
|
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
|
|
0, // [0:4] is the sub-list for field type_name
|
|
|
|
}
|
|
|
|
|
2021-11-17 09:35:56 +00:00
|
|
|
func init() { file_container_grpc_types_proto_init() }
|
|
|
|
func file_container_grpc_types_proto_init() {
|
|
|
|
if File_container_grpc_types_proto != nil {
|
2020-10-19 18:51:59 +00:00
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
2021-11-17 09:35:56 +00:00
|
|
|
file_container_grpc_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-19 18:51:59 +00:00
|
|
|
switch v := v.(*Container); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
}
|
2021-11-17 09:35:56 +00:00
|
|
|
file_container_grpc_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
2020-10-19 18:51:59 +00:00
|
|
|
switch v := v.(*Container_Attribute); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
2021-11-17 09:35:56 +00:00
|
|
|
RawDescriptor: file_container_grpc_types_proto_rawDesc,
|
2020-10-19 18:51:59 +00:00
|
|
|
NumEnums: 0,
|
|
|
|
NumMessages: 2,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
},
|
2021-11-17 09:35:56 +00:00
|
|
|
GoTypes: file_container_grpc_types_proto_goTypes,
|
|
|
|
DependencyIndexes: file_container_grpc_types_proto_depIdxs,
|
|
|
|
MessageInfos: file_container_grpc_types_proto_msgTypes,
|
2020-10-19 18:51:59 +00:00
|
|
|
}.Build()
|
2021-11-17 09:35:56 +00:00
|
|
|
File_container_grpc_types_proto = out.File
|
|
|
|
file_container_grpc_types_proto_rawDesc = nil
|
|
|
|
file_container_grpc_types_proto_goTypes = nil
|
|
|
|
file_container_grpc_types_proto_depIdxs = nil
|
2020-08-12 09:57:28 +00:00
|
|
|
}
|