pcm-slurm/slurm/partition.pb.go

423 lines
16 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.31.0
// protoc v3.19.4
// source: partition.proto
package slurm
import (
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 Partition struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Flags []string `protobuf:"bytes,1,rep,name=flags,proto3" json:"flags,omitempty"`
PreemptionMode []string `protobuf:"bytes,2,rep,name=preemption_mode,json=preemptionMode,proto3" json:"preemption_mode,omitempty"`
AllowedAllocationNodes string `protobuf:"bytes,3,opt,name=allowed_allocation_nodes,json=allowedAllocationNodes,proto3" json:"allowed_allocation_nodes,omitempty"`
AllowedAccounts string `protobuf:"bytes,4,opt,name=allowed_accounts,json=allowedAccounts,proto3" json:"allowed_accounts,omitempty"`
AllowedGroups string `protobuf:"bytes,5,opt,name=allowed_groups,json=allowedGroups,proto3" json:"allowed_groups,omitempty"`
AllowedQos string `protobuf:"bytes,6,opt,name=allowed_qos,json=allowedQos,proto3" json:"allowed_qos,omitempty"`
Alternative string `protobuf:"bytes,7,opt,name=alternative,proto3" json:"alternative,omitempty"`
BillingWeights string `protobuf:"bytes,8,opt,name=billing_weights,json=billingWeights,proto3" json:"billing_weights,omitempty"`
DefaultMemoryPerCpu uint32 `protobuf:"varint,9,opt,name=default_memory_per_cpu,json=defaultMemoryPerCpu,proto3" json:"default_memory_per_cpu,omitempty"`
DefaultTimeLimit uint32 `protobuf:"varint,10,opt,name=default_time_limit,json=defaultTimeLimit,proto3" json:"default_time_limit,omitempty"`
DeniedAccounts string `protobuf:"bytes,11,opt,name=denied_accounts,json=deniedAccounts,proto3" json:"denied_accounts,omitempty"`
DeniedQos string `protobuf:"bytes,12,opt,name=denied_qos,json=deniedQos,proto3" json:"denied_qos,omitempty"`
PreemptionGraceTime uint32 `protobuf:"varint,13,opt,name=preemption_grace_time,json=preemptionGraceTime,proto3" json:"preemption_grace_time,omitempty"`
MaximumCpusPerNode uint32 `protobuf:"varint,14,opt,name=maximum_cpus_per_node,json=maximumCpusPerNode,proto3" json:"maximum_cpus_per_node,omitempty"`
MaximumMemoryPerNode uint32 `protobuf:"varint,15,opt,name=maximum_memory_per_node,json=maximumMemoryPerNode,proto3" json:"maximum_memory_per_node,omitempty"`
MaximumNodesPerJob uint32 `protobuf:"varint,16,opt,name=maximum_nodes_per_job,json=maximumNodesPerJob,proto3" json:"maximum_nodes_per_job,omitempty"`
MaxTimeLimit uint32 `protobuf:"varint,17,opt,name=max_time_limit,json=maxTimeLimit,proto3" json:"max_time_limit,omitempty"`
MinNodesPerJob uint32 `protobuf:"varint,18,opt,name=min_nodes_per_job,json=minNodesPerJob,proto3" json:"min_nodes_per_job,omitempty"`
Name string `protobuf:"bytes,19,opt,name=name,proto3" json:"name,omitempty"`
Nodes string `protobuf:"bytes,20,opt,name=nodes,proto3" json:"nodes,omitempty"`
OverTimeLimit uint32 `protobuf:"varint,21,opt,name=over_time_limit,json=overTimeLimit,proto3" json:"over_time_limit,omitempty"`
PriorityJobFactor uint32 `protobuf:"varint,22,opt,name=priority_job_factor,json=priorityJobFactor,proto3" json:"priority_job_factor,omitempty"`
PriorityTier uint32 `protobuf:"varint,23,opt,name=priority_tier,json=priorityTier,proto3" json:"priority_tier,omitempty"`
Qos string `protobuf:"bytes,24,opt,name=qos,proto3" json:"qos,omitempty"`
State string `protobuf:"bytes,25,opt,name=state,proto3" json:"state,omitempty"`
TotalCpus uint32 `protobuf:"varint,26,opt,name=total_cpus,json=totalCpus,proto3" json:"total_cpus,omitempty"`
TotalNodes uint32 `protobuf:"varint,27,opt,name=total_nodes,json=totalNodes,proto3" json:"total_nodes,omitempty"`
Tres string `protobuf:"bytes,28,opt,name=tres,proto3" json:"tres,omitempty"`
}
func (x *Partition) Reset() {
*x = Partition{}
if protoimpl.UnsafeEnabled {
mi := &file_partition_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Partition) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Partition) ProtoMessage() {}
func (x *Partition) ProtoReflect() protoreflect.Message {
mi := &file_partition_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 Partition.ProtoReflect.Descriptor instead.
func (*Partition) Descriptor() ([]byte, []int) {
return file_partition_proto_rawDescGZIP(), []int{0}
}
func (x *Partition) GetFlags() []string {
if x != nil {
return x.Flags
}
return nil
}
func (x *Partition) GetPreemptionMode() []string {
if x != nil {
return x.PreemptionMode
}
return nil
}
func (x *Partition) GetAllowedAllocationNodes() string {
if x != nil {
return x.AllowedAllocationNodes
}
return ""
}
func (x *Partition) GetAllowedAccounts() string {
if x != nil {
return x.AllowedAccounts
}
return ""
}
func (x *Partition) GetAllowedGroups() string {
if x != nil {
return x.AllowedGroups
}
return ""
}
func (x *Partition) GetAllowedQos() string {
if x != nil {
return x.AllowedQos
}
return ""
}
func (x *Partition) GetAlternative() string {
if x != nil {
return x.Alternative
}
return ""
}
func (x *Partition) GetBillingWeights() string {
if x != nil {
return x.BillingWeights
}
return ""
}
func (x *Partition) GetDefaultMemoryPerCpu() uint32 {
if x != nil {
return x.DefaultMemoryPerCpu
}
return 0
}
func (x *Partition) GetDefaultTimeLimit() uint32 {
if x != nil {
return x.DefaultTimeLimit
}
return 0
}
func (x *Partition) GetDeniedAccounts() string {
if x != nil {
return x.DeniedAccounts
}
return ""
}
func (x *Partition) GetDeniedQos() string {
if x != nil {
return x.DeniedQos
}
return ""
}
func (x *Partition) GetPreemptionGraceTime() uint32 {
if x != nil {
return x.PreemptionGraceTime
}
return 0
}
func (x *Partition) GetMaximumCpusPerNode() uint32 {
if x != nil {
return x.MaximumCpusPerNode
}
return 0
}
func (x *Partition) GetMaximumMemoryPerNode() uint32 {
if x != nil {
return x.MaximumMemoryPerNode
}
return 0
}
func (x *Partition) GetMaximumNodesPerJob() uint32 {
if x != nil {
return x.MaximumNodesPerJob
}
return 0
}
func (x *Partition) GetMaxTimeLimit() uint32 {
if x != nil {
return x.MaxTimeLimit
}
return 0
}
func (x *Partition) GetMinNodesPerJob() uint32 {
if x != nil {
return x.MinNodesPerJob
}
return 0
}
func (x *Partition) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Partition) GetNodes() string {
if x != nil {
return x.Nodes
}
return ""
}
func (x *Partition) GetOverTimeLimit() uint32 {
if x != nil {
return x.OverTimeLimit
}
return 0
}
func (x *Partition) GetPriorityJobFactor() uint32 {
if x != nil {
return x.PriorityJobFactor
}
return 0
}
func (x *Partition) GetPriorityTier() uint32 {
if x != nil {
return x.PriorityTier
}
return 0
}
func (x *Partition) GetQos() string {
if x != nil {
return x.Qos
}
return ""
}
func (x *Partition) GetState() string {
if x != nil {
return x.State
}
return ""
}
func (x *Partition) GetTotalCpus() uint32 {
if x != nil {
return x.TotalCpus
}
return 0
}
func (x *Partition) GetTotalNodes() uint32 {
if x != nil {
return x.TotalNodes
}
return 0
}
func (x *Partition) GetTres() string {
if x != nil {
return x.Tres
}
return ""
}
var File_partition_proto protoreflect.FileDescriptor
var file_partition_proto_rawDesc = []byte{
0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x12, 0x05, 0x73, 0x6c, 0x75, 0x72, 0x6d, 0x22, 0xb2, 0x08, 0x0a, 0x09, 0x70, 0x61, 0x72,
0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18,
0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x27, 0x0a, 0x0f,
0x70, 0x72, 0x65, 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18,
0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x65, 0x65, 0x6d, 0x70, 0x74, 0x69, 0x6f,
0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x38, 0x0a, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64,
0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x6f, 0x64, 0x65,
0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64,
0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12,
0x29, 0x0a, 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77,
0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6c,
0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x05, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70,
0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x5f, 0x71, 0x6f, 0x73,
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x51,
0x6f, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76,
0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61,
0x74, 0x69, 0x76, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f,
0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62,
0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x73, 0x12, 0x33, 0x0a,
0x16, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f,
0x70, 0x65, 0x72, 0x5f, 0x63, 0x70, 0x75, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x64,
0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x50, 0x65, 0x72, 0x43,
0x70, 0x75, 0x12, 0x2c, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x74, 0x69,
0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10,
0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74,
0x12, 0x27, 0x0a, 0x0f, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x65, 0x6e, 0x69, 0x65,
0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x65, 0x6e,
0x69, 0x65, 0x64, 0x5f, 0x71, 0x6f, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64,
0x65, 0x6e, 0x69, 0x65, 0x64, 0x51, 0x6f, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x70, 0x72, 0x65, 0x65,
0x6d, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x67, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x6d,
0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x70, 0x72, 0x65, 0x65, 0x6d, 0x70, 0x74,
0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x15,
0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x63, 0x70, 0x75, 0x73, 0x5f, 0x70, 0x65, 0x72,
0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x6d, 0x61, 0x78,
0x69, 0x6d, 0x75, 0x6d, 0x43, 0x70, 0x75, 0x73, 0x50, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x12,
0x35, 0x0a, 0x17, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72,
0x79, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d,
0x52, 0x14, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x50,
0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x31, 0x0a, 0x15, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75,
0x6d, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x6a, 0x6f, 0x62, 0x18,
0x10, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x4e, 0x6f,
0x64, 0x65, 0x73, 0x50, 0x65, 0x72, 0x4a, 0x6f, 0x62, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78,
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28,
0x0d, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12,
0x29, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72,
0x5f, 0x6a, 0x6f, 0x62, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6d, 0x69, 0x6e, 0x4e,
0x6f, 0x64, 0x65, 0x73, 0x50, 0x65, 0x72, 0x4a, 0x6f, 0x62, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14,
0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e,
0x6f, 0x64, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d,
0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6f,
0x76, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x2e, 0x0a, 0x13,
0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x66, 0x61, 0x63,
0x74, 0x6f, 0x72, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x70, 0x72, 0x69, 0x6f, 0x72,
0x69, 0x74, 0x79, 0x4a, 0x6f, 0x62, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x23, 0x0a, 0x0d,
0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x18, 0x17, 0x20,
0x01, 0x28, 0x0d, 0x52, 0x0c, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x54, 0x69, 0x65,
0x72, 0x12, 0x10, 0x0a, 0x03, 0x71, 0x6f, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
0x71, 0x6f, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x19, 0x20, 0x01,
0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74,
0x61, 0x6c, 0x5f, 0x63, 0x70, 0x75, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74,
0x6f, 0x74, 0x61, 0x6c, 0x43, 0x70, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61,
0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74,
0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x72, 0x65,
0x73, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x72, 0x65, 0x73, 0x42, 0x08, 0x5a,
0x06, 0x2f, 0x73, 0x6c, 0x75, 0x72, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_partition_proto_rawDescOnce sync.Once
file_partition_proto_rawDescData = file_partition_proto_rawDesc
)
func file_partition_proto_rawDescGZIP() []byte {
file_partition_proto_rawDescOnce.Do(func() {
file_partition_proto_rawDescData = protoimpl.X.CompressGZIP(file_partition_proto_rawDescData)
})
return file_partition_proto_rawDescData
}
var file_partition_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_partition_proto_goTypes = []interface{}{
(*Partition)(nil), // 0: slurm.partition
}
var file_partition_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_partition_proto_init() }
func file_partition_proto_init() {
if File_partition_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_partition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Partition); 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_partition_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_partition_proto_goTypes,
DependencyIndexes: file_partition_proto_depIdxs,
MessageInfos: file_partition_proto_msgTypes,
}.Build()
File_partition_proto = out.File
file_partition_proto_rawDesc = nil
file_partition_proto_goTypes = nil
file_partition_proto_depIdxs = nil
}