github.com/TrueCloudLab/frostfs-api-go/v2@v2.0.0-20230228134343-196241c4e79a/subnet/grpc/types.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.0
     4  // 	protoc        v3.21.9
     5  // source: subnet/grpc/types.proto
     6  
     7  package subnet
     8  
     9  import (
    10  	grpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  // NeoFS subnetwork description
    25  type SubnetInfo struct {
    26  	state         protoimpl.MessageState
    27  	sizeCache     protoimpl.SizeCache
    28  	unknownFields protoimpl.UnknownFields
    29  
    30  	// Unique subnet identifier. Missing ID is
    31  	// equivalent to zero (default subnetwork) ID.
    32  	Id *grpc.SubnetID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    33  	// Identifier of the subnetwork owner
    34  	Owner *grpc.OwnerID `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
    35  }
    36  
    37  func (x *SubnetInfo) Reset() {
    38  	*x = SubnetInfo{}
    39  	if protoimpl.UnsafeEnabled {
    40  		mi := &file_subnet_grpc_types_proto_msgTypes[0]
    41  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    42  		ms.StoreMessageInfo(mi)
    43  	}
    44  }
    45  
    46  func (x *SubnetInfo) String() string {
    47  	return protoimpl.X.MessageStringOf(x)
    48  }
    49  
    50  func (*SubnetInfo) ProtoMessage() {}
    51  
    52  func (x *SubnetInfo) ProtoReflect() protoreflect.Message {
    53  	mi := &file_subnet_grpc_types_proto_msgTypes[0]
    54  	if protoimpl.UnsafeEnabled && x != nil {
    55  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    56  		if ms.LoadMessageInfo() == nil {
    57  			ms.StoreMessageInfo(mi)
    58  		}
    59  		return ms
    60  	}
    61  	return mi.MessageOf(x)
    62  }
    63  
    64  // Deprecated: Use SubnetInfo.ProtoReflect.Descriptor instead.
    65  func (*SubnetInfo) Descriptor() ([]byte, []int) {
    66  	return file_subnet_grpc_types_proto_rawDescGZIP(), []int{0}
    67  }
    68  
    69  func (x *SubnetInfo) GetId() *grpc.SubnetID {
    70  	if x != nil {
    71  		return x.Id
    72  	}
    73  	return nil
    74  }
    75  
    76  func (x *SubnetInfo) GetOwner() *grpc.OwnerID {
    77  	if x != nil {
    78  		return x.Owner
    79  	}
    80  	return nil
    81  }
    82  
    83  var File_subnet_grpc_types_proto protoreflect.FileDescriptor
    84  
    85  var file_subnet_grpc_types_proto_rawDesc = []byte{
    86  	0x0a, 0x17, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x79,
    87  	0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6e, 0x65, 0x6f, 0x2e, 0x66,
    88  	0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x1a, 0x15, 0x72, 0x65, 0x66,
    89  	0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f,
    90  	0x74, 0x6f, 0x22, 0x65, 0x0a, 0x0a, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f,
    91  	0x12, 0x28, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e,
    92  	0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x53, 0x75,
    93  	0x62, 0x6e, 0x65, 0x74, 0x49, 0x44, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2d, 0x0a, 0x05, 0x6f, 0x77,
    94  	0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x65, 0x6f, 0x2e,
    95  	0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72,
    96  	0x49, 0x44, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x42, 0x5b, 0x5a, 0x3c, 0x67, 0x69, 0x74,
    97  	0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75,
    98  	0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69,
    99  	0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x72,
   100  	0x70, 0x63, 0x3b, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0xaa, 0x02, 0x1a, 0x4e, 0x65, 0x6f, 0x2e,
   101  	0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e,
   102  	0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   103  }
   104  
   105  var (
   106  	file_subnet_grpc_types_proto_rawDescOnce sync.Once
   107  	file_subnet_grpc_types_proto_rawDescData = file_subnet_grpc_types_proto_rawDesc
   108  )
   109  
   110  func file_subnet_grpc_types_proto_rawDescGZIP() []byte {
   111  	file_subnet_grpc_types_proto_rawDescOnce.Do(func() {
   112  		file_subnet_grpc_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_subnet_grpc_types_proto_rawDescData)
   113  	})
   114  	return file_subnet_grpc_types_proto_rawDescData
   115  }
   116  
   117  var file_subnet_grpc_types_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   118  var file_subnet_grpc_types_proto_goTypes = []interface{}{
   119  	(*SubnetInfo)(nil),    // 0: neo.fs.v2.subnet.SubnetInfo
   120  	(*grpc.SubnetID)(nil), // 1: neo.fs.v2.refs.SubnetID
   121  	(*grpc.OwnerID)(nil),  // 2: neo.fs.v2.refs.OwnerID
   122  }
   123  var file_subnet_grpc_types_proto_depIdxs = []int32{
   124  	1, // 0: neo.fs.v2.subnet.SubnetInfo.id:type_name -> neo.fs.v2.refs.SubnetID
   125  	2, // 1: neo.fs.v2.subnet.SubnetInfo.owner:type_name -> neo.fs.v2.refs.OwnerID
   126  	2, // [2:2] is the sub-list for method output_type
   127  	2, // [2:2] is the sub-list for method input_type
   128  	2, // [2:2] is the sub-list for extension type_name
   129  	2, // [2:2] is the sub-list for extension extendee
   130  	0, // [0:2] is the sub-list for field type_name
   131  }
   132  
   133  func init() { file_subnet_grpc_types_proto_init() }
   134  func file_subnet_grpc_types_proto_init() {
   135  	if File_subnet_grpc_types_proto != nil {
   136  		return
   137  	}
   138  	if !protoimpl.UnsafeEnabled {
   139  		file_subnet_grpc_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   140  			switch v := v.(*SubnetInfo); i {
   141  			case 0:
   142  				return &v.state
   143  			case 1:
   144  				return &v.sizeCache
   145  			case 2:
   146  				return &v.unknownFields
   147  			default:
   148  				return nil
   149  			}
   150  		}
   151  	}
   152  	type x struct{}
   153  	out := protoimpl.TypeBuilder{
   154  		File: protoimpl.DescBuilder{
   155  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   156  			RawDescriptor: file_subnet_grpc_types_proto_rawDesc,
   157  			NumEnums:      0,
   158  			NumMessages:   1,
   159  			NumExtensions: 0,
   160  			NumServices:   0,
   161  		},
   162  		GoTypes:           file_subnet_grpc_types_proto_goTypes,
   163  		DependencyIndexes: file_subnet_grpc_types_proto_depIdxs,
   164  		MessageInfos:      file_subnet_grpc_types_proto_msgTypes,
   165  	}.Build()
   166  	File_subnet_grpc_types_proto = out.File
   167  	file_subnet_grpc_types_proto_rawDesc = nil
   168  	file_subnet_grpc_types_proto_goTypes = nil
   169  	file_subnet_grpc_types_proto_depIdxs = nil
   170  }