forked from infobloxopen/atlas-app-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresource.pb.go
105 lines (92 loc) · 4.26 KB
/
resource.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: resource.proto
package resource // import "github.com/infobloxopen/atlas-app-toolkit/rpc/resource"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// A number of application services require a mechanism to
// encode the identity of a particular resource across applications.
// The resource identifiers consist of the application ID,
// an application-defined resource type,
// and an application-defined ID for that resource
type Identifier struct {
// An application identifier that will be used among
// other infrastructure services to identify the application
ApplicationName string `protobuf:"bytes,1,opt,name=application_name,json=applicationName" json:"application_name,omitempty"`
// An application specific type name of a resource
ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType" json:"resource_type,omitempty"`
// An application specific resource identity of a resource
ResourceId string `protobuf:"bytes,3,opt,name=resource_id,json=resourceId" json:"resource_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Identifier) Reset() { *m = Identifier{} }
func (m *Identifier) String() string { return proto.CompactTextString(m) }
func (*Identifier) ProtoMessage() {}
func (*Identifier) Descriptor() ([]byte, []int) {
return fileDescriptor_resource_53c208b01ac1ebc4, []int{0}
}
func (m *Identifier) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Identifier.Unmarshal(m, b)
}
func (m *Identifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Identifier.Marshal(b, m, deterministic)
}
func (dst *Identifier) XXX_Merge(src proto.Message) {
xxx_messageInfo_Identifier.Merge(dst, src)
}
func (m *Identifier) XXX_Size() int {
return xxx_messageInfo_Identifier.Size(m)
}
func (m *Identifier) XXX_DiscardUnknown() {
xxx_messageInfo_Identifier.DiscardUnknown(m)
}
var xxx_messageInfo_Identifier proto.InternalMessageInfo
func (m *Identifier) GetApplicationName() string {
if m != nil {
return m.ApplicationName
}
return ""
}
func (m *Identifier) GetResourceType() string {
if m != nil {
return m.ResourceType
}
return ""
}
func (m *Identifier) GetResourceId() string {
if m != nil {
return m.ResourceId
}
return ""
}
func init() {
proto.RegisterType((*Identifier)(nil), "atlas.rpc.Identifier")
}
func init() { proto.RegisterFile("resource.proto", fileDescriptor_resource_53c208b01ac1ebc4) }
var fileDescriptor_resource_53c208b01ac1ebc4 = []byte{
// 195 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x8f, 0xbf, 0x4b, 0xc4, 0x40,
0x10, 0x85, 0x89, 0x82, 0x90, 0xf5, 0x27, 0x5b, 0xa5, 0x53, 0xb4, 0xd1, 0x22, 0xd9, 0xc2, 0xd2,
0x42, 0xb4, 0x4b, 0x63, 0x21, 0x56, 0x36, 0x61, 0xb3, 0x99, 0xdc, 0x0d, 0xb7, 0xd9, 0x19, 0x36,
0x13, 0xb8, 0x14, 0xf7, 0xbf, 0x1f, 0x2c, 0xec, 0x71, 0xdd, 0xf0, 0xf1, 0xcd, 0xe3, 0x3d, 0x75,
0x17, 0x61, 0xa6, 0x25, 0x3a, 0x68, 0x38, 0x92, 0x90, 0x2e, 0xad, 0x78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