1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: grafeas/v1/deployment.proto 3 4package grafeas 5 6import ( 7 fmt "fmt" 8 math "math" 9 10 proto "github.com/golang/protobuf/proto" 11 timestamp "github.com/golang/protobuf/ptypes/timestamp" 12) 13 14// Reference imports to suppress errors if they are not otherwise used. 15var _ = proto.Marshal 16var _ = fmt.Errorf 17var _ = math.Inf 18 19// This is a compile-time assertion to ensure that this generated file 20// is compatible with the proto package it is being compiled against. 21// A compilation error at this line likely means your copy of the 22// proto package needs to be updated. 23const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 24 25// Types of platforms. 26type DeploymentOccurrence_Platform int32 27 28const ( 29 // Unknown. 30 DeploymentOccurrence_PLATFORM_UNSPECIFIED DeploymentOccurrence_Platform = 0 31 // Google Container Engine. 32 DeploymentOccurrence_GKE DeploymentOccurrence_Platform = 1 33 // Google App Engine: Flexible Environment. 34 DeploymentOccurrence_FLEX DeploymentOccurrence_Platform = 2 35 // Custom user-defined platform. 36 DeploymentOccurrence_CUSTOM DeploymentOccurrence_Platform = 3 37) 38 39var DeploymentOccurrence_Platform_name = map[int32]string{ 40 0: "PLATFORM_UNSPECIFIED", 41 1: "GKE", 42 2: "FLEX", 43 3: "CUSTOM", 44} 45 46var DeploymentOccurrence_Platform_value = map[string]int32{ 47 "PLATFORM_UNSPECIFIED": 0, 48 "GKE": 1, 49 "FLEX": 2, 50 "CUSTOM": 3, 51} 52 53func (x DeploymentOccurrence_Platform) String() string { 54 return proto.EnumName(DeploymentOccurrence_Platform_name, int32(x)) 55} 56 57func (DeploymentOccurrence_Platform) EnumDescriptor() ([]byte, []int) { 58 return fileDescriptor_dbec5638edd5c218, []int{1, 0} 59} 60 61// An artifact that can be deployed in some runtime. 62type DeploymentNote struct { 63 // Required. Resource URI for the artifact being deployed. 64 ResourceUri []string `protobuf:"bytes,1,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"` 65 XXX_NoUnkeyedLiteral struct{} `json:"-"` 66 XXX_unrecognized []byte `json:"-"` 67 XXX_sizecache int32 `json:"-"` 68} 69 70func (m *DeploymentNote) Reset() { *m = DeploymentNote{} } 71func (m *DeploymentNote) String() string { return proto.CompactTextString(m) } 72func (*DeploymentNote) ProtoMessage() {} 73func (*DeploymentNote) Descriptor() ([]byte, []int) { 74 return fileDescriptor_dbec5638edd5c218, []int{0} 75} 76 77func (m *DeploymentNote) XXX_Unmarshal(b []byte) error { 78 return xxx_messageInfo_DeploymentNote.Unmarshal(m, b) 79} 80func (m *DeploymentNote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 81 return xxx_messageInfo_DeploymentNote.Marshal(b, m, deterministic) 82} 83func (m *DeploymentNote) XXX_Merge(src proto.Message) { 84 xxx_messageInfo_DeploymentNote.Merge(m, src) 85} 86func (m *DeploymentNote) XXX_Size() int { 87 return xxx_messageInfo_DeploymentNote.Size(m) 88} 89func (m *DeploymentNote) XXX_DiscardUnknown() { 90 xxx_messageInfo_DeploymentNote.DiscardUnknown(m) 91} 92 93var xxx_messageInfo_DeploymentNote proto.InternalMessageInfo 94 95func (m *DeploymentNote) GetResourceUri() []string { 96 if m != nil { 97 return m.ResourceUri 98 } 99 return nil 100} 101 102// The period during which some deployable was active in a runtime. 103type DeploymentOccurrence struct { 104 // Identity of the user that triggered this deployment. 105 UserEmail string `protobuf:"bytes,1,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` 106 // Required. Beginning of the lifetime of this deployment. 107 DeployTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=deploy_time,json=deployTime,proto3" json:"deploy_time,omitempty"` 108 // End of the lifetime of this deployment. 109 UndeployTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=undeploy_time,json=undeployTime,proto3" json:"undeploy_time,omitempty"` 110 // Configuration used to create this deployment. 111 Config string `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"` 112 // Address of the runtime element hosting this deployment. 113 Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` 114 // Output only. Resource URI for the artifact being deployed taken from 115 // the deployable field with the same name. 116 ResourceUri []string `protobuf:"bytes,6,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"` 117 // Platform hosting this deployment. 118 Platform DeploymentOccurrence_Platform `protobuf:"varint,7,opt,name=platform,proto3,enum=grafeas.v1.DeploymentOccurrence_Platform" json:"platform,omitempty"` 119 XXX_NoUnkeyedLiteral struct{} `json:"-"` 120 XXX_unrecognized []byte `json:"-"` 121 XXX_sizecache int32 `json:"-"` 122} 123 124func (m *DeploymentOccurrence) Reset() { *m = DeploymentOccurrence{} } 125func (m *DeploymentOccurrence) String() string { return proto.CompactTextString(m) } 126func (*DeploymentOccurrence) ProtoMessage() {} 127func (*DeploymentOccurrence) Descriptor() ([]byte, []int) { 128 return fileDescriptor_dbec5638edd5c218, []int{1} 129} 130 131func (m *DeploymentOccurrence) XXX_Unmarshal(b []byte) error { 132 return xxx_messageInfo_DeploymentOccurrence.Unmarshal(m, b) 133} 134func (m *DeploymentOccurrence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 135 return xxx_messageInfo_DeploymentOccurrence.Marshal(b, m, deterministic) 136} 137func (m *DeploymentOccurrence) XXX_Merge(src proto.Message) { 138 xxx_messageInfo_DeploymentOccurrence.Merge(m, src) 139} 140func (m *DeploymentOccurrence) XXX_Size() int { 141 return xxx_messageInfo_DeploymentOccurrence.Size(m) 142} 143func (m *DeploymentOccurrence) XXX_DiscardUnknown() { 144 xxx_messageInfo_DeploymentOccurrence.DiscardUnknown(m) 145} 146 147var xxx_messageInfo_DeploymentOccurrence proto.InternalMessageInfo 148 149func (m *DeploymentOccurrence) GetUserEmail() string { 150 if m != nil { 151 return m.UserEmail 152 } 153 return "" 154} 155 156func (m *DeploymentOccurrence) GetDeployTime() *timestamp.Timestamp { 157 if m != nil { 158 return m.DeployTime 159 } 160 return nil 161} 162 163func (m *DeploymentOccurrence) GetUndeployTime() *timestamp.Timestamp { 164 if m != nil { 165 return m.UndeployTime 166 } 167 return nil 168} 169 170func (m *DeploymentOccurrence) GetConfig() string { 171 if m != nil { 172 return m.Config 173 } 174 return "" 175} 176 177func (m *DeploymentOccurrence) GetAddress() string { 178 if m != nil { 179 return m.Address 180 } 181 return "" 182} 183 184func (m *DeploymentOccurrence) GetResourceUri() []string { 185 if m != nil { 186 return m.ResourceUri 187 } 188 return nil 189} 190 191func (m *DeploymentOccurrence) GetPlatform() DeploymentOccurrence_Platform { 192 if m != nil { 193 return m.Platform 194 } 195 return DeploymentOccurrence_PLATFORM_UNSPECIFIED 196} 197 198func init() { 199 proto.RegisterEnum("grafeas.v1.DeploymentOccurrence_Platform", DeploymentOccurrence_Platform_name, DeploymentOccurrence_Platform_value) 200 proto.RegisterType((*DeploymentNote)(nil), "grafeas.v1.DeploymentNote") 201 proto.RegisterType((*DeploymentOccurrence)(nil), "grafeas.v1.DeploymentOccurrence") 202} 203 204func init() { proto.RegisterFile("grafeas/v1/deployment.proto", fileDescriptor_dbec5638edd5c218) } 205 206var fileDescriptor_dbec5638edd5c218 = []byte{ 207 // 393 bytes of a gzipped FileDescriptorProto 208 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x5f, 0x8b, 0x9b, 0x40, 209 0x14, 0xc5, 0x6b, 0xdc, 0x9a, 0xe4, 0x66, 0x77, 0x91, 0x61, 0x29, 0xc3, 0x96, 0x52, 0x9b, 0x27, 210 0xfb, 0x32, 0xb2, 0xbb, 0x2f, 0x85, 0x7d, 0x28, 0xdb, 0xc4, 0x84, 0xd0, 0xfc, 0xb1, 0x26, 0x81, 211 0xd2, 0x17, 0x99, 0x98, 0x71, 0x10, 0xd4, 0x91, 0x51, 0x03, 0xfd, 0x1e, 0xfd, 0x04, 0xfd, 0xa4, 212 0xc5, 0x7f, 0x49, 0x20, 0x85, 0x7d, 0xf3, 0x9e, 0x73, 0xcf, 0xf5, 0xf0, 0x63, 0xe0, 0x3d, 0x97, 213 0x34, 0x60, 0x34, 0xb3, 0x0e, 0x0f, 0xd6, 0x9e, 0xa5, 0x91, 0xf8, 0x1d, 0xb3, 0x24, 0x27, 0xa9, 214 0x14, 0xb9, 0x40, 0xd0, 0x98, 0xe4, 0xf0, 0x70, 0xff, 0x91, 0x0b, 0xc1, 0x23, 0x66, 0x55, 0xce, 215 0xae, 0x08, 0xac, 0x3c, 0x8c, 0x59, 0x96, 0xd3, 0x38, 0xad, 0x97, 0x87, 0x4f, 0x70, 0x3b, 0x3e, 216 0x1e, 0x58, 0x8a, 0x9c, 0xa1, 0x4f, 0x70, 0x2d, 0x59, 0x26, 0x0a, 0xe9, 0x33, 0xaf, 0x90, 0x21, 217 0x56, 0x0c, 0xd5, 0xec, 0xbb, 0x83, 0x56, 0xdb, 0xca, 0x70, 0xf8, 0x47, 0x85, 0xbb, 0x53, 0x6a, 218 0xe5, 0xfb, 0x85, 0x94, 0x2c, 0xf1, 0x19, 0xfa, 0x00, 0x50, 0x64, 0x4c, 0x7a, 0x2c, 0xa6, 0x61, 219 0x84, 0x15, 0x43, 0x31, 0xfb, 0x6e, 0xbf, 0x54, 0xec, 0x52, 0x40, 0xcf, 0x30, 0xa8, 0xdb, 0x7a, 220 0x65, 0x0d, 0xdc, 0x31, 0x14, 0x73, 0xf0, 0x78, 0x4f, 0xea, 0x8e, 0xa4, 0xed, 0x48, 0x36, 0x6d, 221 0x47, 0x17, 0xea, 0xf5, 0x52, 0x40, 0x5f, 0xe1, 0xa6, 0x48, 0xce, 0xe3, 0xea, 0xab, 0xf1, 0xeb, 222 0x36, 0x50, 0x1d, 0x78, 0x07, 0x9a, 0x2f, 0x92, 0x20, 0xe4, 0xf8, 0xaa, 0x2a, 0xd6, 0x4c, 0x08, 223 0x43, 0x97, 0xee, 0xf7, 0x92, 0x65, 0x19, 0x7e, 0x5b, 0x19, 0xed, 0x78, 0x81, 0x42, 0xbb, 0x40, 224 0x81, 0x6c, 0xe8, 0xa5, 0x11, 0xcd, 0x03, 0x21, 0x63, 0xdc, 0x35, 0x14, 0xf3, 0xf6, 0xf1, 0x33, 225 0x39, 0xf1, 0x27, 0xff, 0xa3, 0x44, 0x9c, 0x26, 0xe0, 0x1e, 0xa3, 0xc3, 0x11, 0xf4, 0x5a, 0x15, 226 0x61, 0xb8, 0x73, 0xe6, 0x2f, 0x9b, 0xc9, 0xca, 0x5d, 0x78, 0xdb, 0xe5, 0xda, 0xb1, 0x47, 0xb3, 227 0xc9, 0xcc, 0x1e, 0xeb, 0x6f, 0x50, 0x17, 0xd4, 0xe9, 0x77, 0x5b, 0x57, 0x50, 0x0f, 0xae, 0x26, 228 0x73, 0xfb, 0xa7, 0xde, 0x41, 0x00, 0xda, 0x68, 0xbb, 0xde, 0xac, 0x16, 0xba, 0xfa, 0xed, 0x07, 229 0xdc, 0x84, 0xe2, 0xec, 0xef, 0x8e, 0xf2, 0xeb, 0x4b, 0x03, 0x87, 0x8b, 0x88, 0x26, 0x9c, 0x08, 230 0xc9, 0x2d, 0xce, 0x92, 0x0a, 0x95, 0x55, 0x5b, 0x34, 0x0d, 0x33, 0xeb, 0xf4, 0x9c, 0x9e, 0x9b, 231 0xcf, 0xbf, 0x1d, 0x75, 0xea, 0xbe, 0xec, 0xb4, 0x6a, 0xf5, 0xe9, 0x5f, 0x00, 0x00, 0x00, 0xff, 232 0xff, 0x40, 0xf2, 0x1d, 0x74, 0x71, 0x02, 0x00, 0x00, 233} 234