pcm-slurm/slurm/reservation.pb.go

385 lines
13 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.31.0
// protoc v3.19.4
// source: reservation.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 Reservation struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Accounts string `protobuf:"bytes,1,opt,name=accounts,proto3" json:"accounts,omitempty"`
BurstBuffer string `protobuf:"bytes,2,opt,name=burst_buffer,json=burstBuffer,proto3" json:"burst_buffer,omitempty"`
CoreCount uint32 `protobuf:"varint,3,opt,name=core_count,json=coreCount,proto3" json:"core_count,omitempty"`
CoreSpecCnt uint32 `protobuf:"varint,4,opt,name=core_spec_cnt,json=coreSpecCnt,proto3" json:"core_spec_cnt,omitempty"`
EndTime uint32 `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
Features string `protobuf:"bytes,6,opt,name=features,proto3" json:"features,omitempty"`
Flags []string `protobuf:"bytes,7,rep,name=flags,proto3" json:"flags,omitempty"`
Groups string `protobuf:"bytes,8,opt,name=groups,proto3" json:"groups,omitempty"`
Licenses string `protobuf:"bytes,9,opt,name=licenses,proto3" json:"licenses,omitempty"`
MaxStartDelay uint32 `protobuf:"varint,10,opt,name=max_start_delay,json=maxStartDelay,proto3" json:"max_start_delay,omitempty"`
Name string `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"`
NodeCount uint32 `protobuf:"varint,12,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
NodeList string `protobuf:"bytes,13,opt,name=node_list,json=nodeList,proto3" json:"node_list,omitempty"`
Partition string `protobuf:"bytes,14,opt,name=partition,proto3" json:"partition,omitempty"`
PurgeCompleted *Reservation_PurgeCompleted `protobuf:"bytes,15,opt,name=purge_completed,json=purgeCompleted,proto3" json:"purge_completed,omitempty"`
StartTime uint32 `protobuf:"varint,16,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
Watts uint32 `protobuf:"varint,17,opt,name=watts,proto3" json:"watts,omitempty"`
Tres string `protobuf:"bytes,18,opt,name=tres,proto3" json:"tres,omitempty"`
Users string `protobuf:"bytes,19,opt,name=users,proto3" json:"users,omitempty"`
}
func (x *Reservation) Reset() {
*x = Reservation{}
if protoimpl.UnsafeEnabled {
mi := &file_reservation_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Reservation) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Reservation) ProtoMessage() {}
func (x *Reservation) ProtoReflect() protoreflect.Message {
mi := &file_reservation_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 Reservation.ProtoReflect.Descriptor instead.
func (*Reservation) Descriptor() ([]byte, []int) {
return file_reservation_proto_rawDescGZIP(), []int{0}
}
func (x *Reservation) GetAccounts() string {
if x != nil {
return x.Accounts
}
return ""
}
func (x *Reservation) GetBurstBuffer() string {
if x != nil {
return x.BurstBuffer
}
return ""
}
func (x *Reservation) GetCoreCount() uint32 {
if x != nil {
return x.CoreCount
}
return 0
}
func (x *Reservation) GetCoreSpecCnt() uint32 {
if x != nil {
return x.CoreSpecCnt
}
return 0
}
func (x *Reservation) GetEndTime() uint32 {
if x != nil {
return x.EndTime
}
return 0
}
func (x *Reservation) GetFeatures() string {
if x != nil {
return x.Features
}
return ""
}
func (x *Reservation) GetFlags() []string {
if x != nil {
return x.Flags
}
return nil
}
func (x *Reservation) GetGroups() string {
if x != nil {
return x.Groups
}
return ""
}
func (x *Reservation) GetLicenses() string {
if x != nil {
return x.Licenses
}
return ""
}
func (x *Reservation) GetMaxStartDelay() uint32 {
if x != nil {
return x.MaxStartDelay
}
return 0
}
func (x *Reservation) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Reservation) GetNodeCount() uint32 {
if x != nil {
return x.NodeCount
}
return 0
}
func (x *Reservation) GetNodeList() string {
if x != nil {
return x.NodeList
}
return ""
}
func (x *Reservation) GetPartition() string {
if x != nil {
return x.Partition
}
return ""
}
func (x *Reservation) GetPurgeCompleted() *Reservation_PurgeCompleted {
if x != nil {
return x.PurgeCompleted
}
return nil
}
func (x *Reservation) GetStartTime() uint32 {
if x != nil {
return x.StartTime
}
return 0
}
func (x *Reservation) GetWatts() uint32 {
if x != nil {
return x.Watts
}
return 0
}
func (x *Reservation) GetTres() string {
if x != nil {
return x.Tres
}
return ""
}
func (x *Reservation) GetUsers() string {
if x != nil {
return x.Users
}
return ""
}
type Reservation_PurgeCompleted struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Time uint32 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"`
}
func (x *Reservation_PurgeCompleted) Reset() {
*x = Reservation_PurgeCompleted{}
if protoimpl.UnsafeEnabled {
mi := &file_reservation_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Reservation_PurgeCompleted) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Reservation_PurgeCompleted) ProtoMessage() {}
func (x *Reservation_PurgeCompleted) ProtoReflect() protoreflect.Message {
mi := &file_reservation_proto_msgTypes[1]
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 Reservation_PurgeCompleted.ProtoReflect.Descriptor instead.
func (*Reservation_PurgeCompleted) Descriptor() ([]byte, []int) {
return file_reservation_proto_rawDescGZIP(), []int{0, 0}
}
func (x *Reservation_PurgeCompleted) GetTime() uint32 {
if x != nil {
return x.Time
}
return 0
}
var File_reservation_proto protoreflect.FileDescriptor
var file_reservation_proto_rawDesc = []byte{
0x0a, 0x11, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x12, 0x05, 0x73, 0x6c, 0x75, 0x72, 0x6d, 0x22, 0xf9, 0x04, 0x0a, 0x0b, 0x72,
0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x63,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x75, 0x72, 0x73, 0x74, 0x5f,
0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x75,
0x72, 0x73, 0x74, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x72,
0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63,
0x6f, 0x72, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x63, 0x6f, 0x72, 0x65,
0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x63, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52,
0x0b, 0x63, 0x6f, 0x72, 0x65, 0x53, 0x70, 0x65, 0x63, 0x43, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08,
0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07,
0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75,
0x72, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75,
0x72, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20, 0x03,
0x28, 0x09, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x72, 0x6f,
0x75, 0x70, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70,
0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x09, 0x20,
0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x12, 0x26, 0x0a,
0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79,
0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x53, 0x74, 0x61, 0x72, 0x74,
0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20,
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x6f, 0x64,
0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6e,
0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65,
0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64,
0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74,
0x69, 0x6f, 0x6e, 0x12, 0x4b, 0x0a, 0x0f, 0x70, 0x75, 0x72, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6d,
0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x73,
0x6c, 0x75, 0x72, 0x6d, 0x2e, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x2e, 0x50, 0x75, 0x72, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64,
0x52, 0x0e, 0x70, 0x75, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64,
0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x10,
0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12,
0x14, 0x0a, 0x05, 0x77, 0x61, 0x74, 0x74, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05,
0x77, 0x61, 0x74, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x72, 0x65, 0x73, 0x18, 0x12, 0x20,
0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x72, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x73, 0x65,
0x72, 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x1a,
0x25, 0x0a, 0x0f, 0x50, 0x75, 0x72, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74,
0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x08, 0x5a, 0x06, 0x2f, 0x73, 0x6c, 0x75, 0x72, 0x6d,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_reservation_proto_rawDescOnce sync.Once
file_reservation_proto_rawDescData = file_reservation_proto_rawDesc
)
func file_reservation_proto_rawDescGZIP() []byte {
file_reservation_proto_rawDescOnce.Do(func() {
file_reservation_proto_rawDescData = protoimpl.X.CompressGZIP(file_reservation_proto_rawDescData)
})
return file_reservation_proto_rawDescData
}
var file_reservation_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_reservation_proto_goTypes = []interface{}{
(*Reservation)(nil), // 0: slurm.reservation
(*Reservation_PurgeCompleted)(nil), // 1: slurm.reservation.Purge_completed
}
var file_reservation_proto_depIdxs = []int32{
1, // 0: slurm.reservation.purge_completed:type_name -> slurm.reservation.Purge_completed
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_reservation_proto_init() }
func file_reservation_proto_init() {
if File_reservation_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_reservation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Reservation); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_reservation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Reservation_PurgeCompleted); 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_reservation_proto_rawDesc,
NumEnums: 0,
NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_reservation_proto_goTypes,
DependencyIndexes: file_reservation_proto_depIdxs,
MessageInfos: file_reservation_proto_msgTypes,
}.Build()
File_reservation_proto = out.File
file_reservation_proto_rawDesc = nil
file_reservation_proto_goTypes = nil
file_reservation_proto_depIdxs = nil
}