github.com/microsoft/moc@v0.17.1/rpc/common/moc_common_storageinfo.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: moc_common_storageinfo.proto
     3  
     4  package common
     5  
     6  import (
     7  	fmt "fmt"
     8  	proto "github.com/golang/protobuf/proto"
     9  	math "math"
    10  )
    11  
    12  // Reference imports to suppress errors if they are not otherwise used.
    13  var _ = proto.Marshal
    14  var _ = fmt.Errorf
    15  var _ = math.Inf
    16  
    17  // This is a compile-time assertion to ensure that this generated file
    18  // is compatible with the proto package it is being compiled against.
    19  // A compilation error at this line likely means your copy of the
    20  // proto package needs to be updated.
    21  const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
    22  
    23  type StorageContainerInfo struct {
    24  	Capacity             *Capacity `protobuf:"bytes,1,opt,name=capacity,proto3" json:"capacity,omitempty"`
    25  	Latency              *Latency  `protobuf:"bytes,2,opt,name=latency,proto3" json:"latency,omitempty"`
    26  	Status               *Status   `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
    27  	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
    28  	XXX_unrecognized     []byte    `json:"-"`
    29  	XXX_sizecache        int32     `json:"-"`
    30  }
    31  
    32  func (m *StorageContainerInfo) Reset()         { *m = StorageContainerInfo{} }
    33  func (m *StorageContainerInfo) String() string { return proto.CompactTextString(m) }
    34  func (*StorageContainerInfo) ProtoMessage()    {}
    35  func (*StorageContainerInfo) Descriptor() ([]byte, []int) {
    36  	return fileDescriptor_93f0851c692f447a, []int{0}
    37  }
    38  
    39  func (m *StorageContainerInfo) XXX_Unmarshal(b []byte) error {
    40  	return xxx_messageInfo_StorageContainerInfo.Unmarshal(m, b)
    41  }
    42  func (m *StorageContainerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    43  	return xxx_messageInfo_StorageContainerInfo.Marshal(b, m, deterministic)
    44  }
    45  func (m *StorageContainerInfo) XXX_Merge(src proto.Message) {
    46  	xxx_messageInfo_StorageContainerInfo.Merge(m, src)
    47  }
    48  func (m *StorageContainerInfo) XXX_Size() int {
    49  	return xxx_messageInfo_StorageContainerInfo.Size(m)
    50  }
    51  func (m *StorageContainerInfo) XXX_DiscardUnknown() {
    52  	xxx_messageInfo_StorageContainerInfo.DiscardUnknown(m)
    53  }
    54  
    55  var xxx_messageInfo_StorageContainerInfo proto.InternalMessageInfo
    56  
    57  func (m *StorageContainerInfo) GetCapacity() *Capacity {
    58  	if m != nil {
    59  		return m.Capacity
    60  	}
    61  	return nil
    62  }
    63  
    64  func (m *StorageContainerInfo) GetLatency() *Latency {
    65  	if m != nil {
    66  		return m.Latency
    67  	}
    68  	return nil
    69  }
    70  
    71  func (m *StorageContainerInfo) GetStatus() *Status {
    72  	if m != nil {
    73  		return m.Status
    74  	}
    75  	return nil
    76  }
    77  
    78  type Capacity struct {
    79  	TotalBytes           uint64   `protobuf:"varint,1,opt,name=totalBytes,proto3" json:"totalBytes,omitempty"`
    80  	AvailableBytes       uint64   `protobuf:"varint,2,opt,name=availableBytes,proto3" json:"availableBytes,omitempty"`
    81  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    82  	XXX_unrecognized     []byte   `json:"-"`
    83  	XXX_sizecache        int32    `json:"-"`
    84  }
    85  
    86  func (m *Capacity) Reset()         { *m = Capacity{} }
    87  func (m *Capacity) String() string { return proto.CompactTextString(m) }
    88  func (*Capacity) ProtoMessage()    {}
    89  func (*Capacity) Descriptor() ([]byte, []int) {
    90  	return fileDescriptor_93f0851c692f447a, []int{1}
    91  }
    92  
    93  func (m *Capacity) XXX_Unmarshal(b []byte) error {
    94  	return xxx_messageInfo_Capacity.Unmarshal(m, b)
    95  }
    96  func (m *Capacity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    97  	return xxx_messageInfo_Capacity.Marshal(b, m, deterministic)
    98  }
    99  func (m *Capacity) XXX_Merge(src proto.Message) {
   100  	xxx_messageInfo_Capacity.Merge(m, src)
   101  }
   102  func (m *Capacity) XXX_Size() int {
   103  	return xxx_messageInfo_Capacity.Size(m)
   104  }
   105  func (m *Capacity) XXX_DiscardUnknown() {
   106  	xxx_messageInfo_Capacity.DiscardUnknown(m)
   107  }
   108  
   109  var xxx_messageInfo_Capacity proto.InternalMessageInfo
   110  
   111  func (m *Capacity) GetTotalBytes() uint64 {
   112  	if m != nil {
   113  		return m.TotalBytes
   114  	}
   115  	return 0
   116  }
   117  
   118  func (m *Capacity) GetAvailableBytes() uint64 {
   119  	if m != nil {
   120  		return m.AvailableBytes
   121  	}
   122  	return 0
   123  }
   124  
   125  type Latency struct {
   126  	Iops                 uint64   `protobuf:"varint,1,opt,name=iops,proto3" json:"iops,omitempty"`
   127  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   128  	XXX_unrecognized     []byte   `json:"-"`
   129  	XXX_sizecache        int32    `json:"-"`
   130  }
   131  
   132  func (m *Latency) Reset()         { *m = Latency{} }
   133  func (m *Latency) String() string { return proto.CompactTextString(m) }
   134  func (*Latency) ProtoMessage()    {}
   135  func (*Latency) Descriptor() ([]byte, []int) {
   136  	return fileDescriptor_93f0851c692f447a, []int{2}
   137  }
   138  
   139  func (m *Latency) XXX_Unmarshal(b []byte) error {
   140  	return xxx_messageInfo_Latency.Unmarshal(m, b)
   141  }
   142  func (m *Latency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   143  	return xxx_messageInfo_Latency.Marshal(b, m, deterministic)
   144  }
   145  func (m *Latency) XXX_Merge(src proto.Message) {
   146  	xxx_messageInfo_Latency.Merge(m, src)
   147  }
   148  func (m *Latency) XXX_Size() int {
   149  	return xxx_messageInfo_Latency.Size(m)
   150  }
   151  func (m *Latency) XXX_DiscardUnknown() {
   152  	xxx_messageInfo_Latency.DiscardUnknown(m)
   153  }
   154  
   155  var xxx_messageInfo_Latency proto.InternalMessageInfo
   156  
   157  func (m *Latency) GetIops() uint64 {
   158  	if m != nil {
   159  		return m.Iops
   160  	}
   161  	return 0
   162  }
   163  
   164  func init() {
   165  	proto.RegisterType((*StorageContainerInfo)(nil), "moc.StorageContainerInfo")
   166  	proto.RegisterType((*Capacity)(nil), "moc.Capacity")
   167  	proto.RegisterType((*Latency)(nil), "moc.Latency")
   168  }
   169  
   170  func init() { proto.RegisterFile("moc_common_storageinfo.proto", fileDescriptor_93f0851c692f447a) }
   171  
   172  var fileDescriptor_93f0851c692f447a = []byte{
   173  	// 255 bytes of a gzipped FileDescriptorProto
   174  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x41, 0x4b, 0xf3, 0x40,
   175  	0x10, 0x86, 0x49, 0xbf, 0xd2, 0x94, 0xe9, 0xa7, 0x87, 0x45, 0x30, 0x88, 0x8a, 0xa4, 0x58, 0xf4,
   176  	0x92, 0x80, 0xfe, 0x83, 0xf6, 0x24, 0x78, 0x4a, 0x6f, 0x5e, 0xca, 0x64, 0x48, 0xea, 0x42, 0x76,
   177  	0x27, 0xec, 0x4e, 0x85, 0xfc, 0x09, 0x7f, 0xb3, 0xb0, 0x9b, 0x48, 0xf1, 0xb4, 0xcb, 0xf3, 0x3e,
   178  	0xbb, 0x33, 0xbc, 0x70, 0x6b, 0x98, 0x0e, 0xc4, 0xc6, 0xb0, 0x3d, 0x78, 0x61, 0x87, 0xc7, 0x46,
   179  	0xdb, 0x96, 0x8b, 0xde, 0xb1, 0xb0, 0xfa, 0x67, 0x98, 0x6e, 0xae, 0xcf, 0x94, 0x78, 0xc4, 0x34,
   180  	0xff, 0x4e, 0xe0, 0x6a, 0x1f, 0xdf, 0xec, 0xd8, 0x0a, 0x6a, 0xdb, 0xb8, 0x37, 0xdb, 0xb2, 0x7a,
   181  	0x86, 0x25, 0x61, 0x8f, 0xa4, 0x65, 0xc8, 0x92, 0x87, 0xe4, 0x69, 0xf5, 0x72, 0x51, 0x18, 0xa6,
   182  	0x62, 0x37, 0xc2, 0xea, 0x37, 0x56, 0x1b, 0x48, 0x3b, 0x94, 0xc6, 0xd2, 0x90, 0xcd, 0x82, 0xf9,
   183  	0x3f, 0x98, 0xef, 0x91, 0x55, 0x53, 0xa8, 0xd6, 0xb0, 0xf0, 0x82, 0x72, 0xf2, 0x59, 0x1a, 0xb4,
   184  	0x55, 0xd0, 0xf6, 0x01, 0x55, 0x63, 0x94, 0x57, 0xb0, 0x9c, 0x46, 0xa8, 0x7b, 0x00, 0x61, 0xc1,
   185  	0x6e, 0x3b, 0x48, 0xe3, 0xc3, 0x16, 0xf3, 0xea, 0x8c, 0xa8, 0x0d, 0x5c, 0xe2, 0x17, 0xea, 0x0e,
   186  	0xeb, 0xae, 0x89, 0xce, 0x2c, 0x38, 0x7f, 0x68, 0x7e, 0x07, 0xe9, 0xb8, 0x8c, 0x52, 0x30, 0xd7,
   187  	0xdc, 0x4f, 0x9f, 0x85, 0xfb, 0xf6, 0xf1, 0x63, 0x7d, 0xd4, 0xf2, 0x79, 0xaa, 0x0b, 0x62, 0x53,
   188  	0x1a, 0x4d, 0x8e, 0x3d, 0xb7, 0x52, 0x1a, 0xa6, 0xd2, 0xf5, 0x54, 0xc6, 0xc2, 0xea, 0x45, 0x68,
   189  	0xec, 0xf5, 0x27, 0x00, 0x00, 0xff, 0xff, 0x06, 0xc8, 0x56, 0x93, 0x6f, 0x01, 0x00, 0x00,
   190  }