...

Source file src/google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment/deployment.pb.go

Documentation: google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment

     1  // Copyright 2018 The Grafeas Authors. All rights reserved.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //    http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v3.12.2
    19  // source: google/devtools/containeranalysis/v1beta1/deployment/deployment.proto
    20  
    21  package deployment
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    28  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    29  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    30  )
    31  
    32  const (
    33  	// Verify that this generated code is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    35  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    37  )
    38  
    39  // Types of platforms.
    40  type Deployment_Platform int32
    41  
    42  const (
    43  	// Unknown.
    44  	Deployment_PLATFORM_UNSPECIFIED Deployment_Platform = 0
    45  	// Google Container Engine.
    46  	Deployment_GKE Deployment_Platform = 1
    47  	// Google App Engine: Flexible Environment.
    48  	Deployment_FLEX Deployment_Platform = 2
    49  	// Custom user-defined platform.
    50  	Deployment_CUSTOM Deployment_Platform = 3
    51  )
    52  
    53  // Enum value maps for Deployment_Platform.
    54  var (
    55  	Deployment_Platform_name = map[int32]string{
    56  		0: "PLATFORM_UNSPECIFIED",
    57  		1: "GKE",
    58  		2: "FLEX",
    59  		3: "CUSTOM",
    60  	}
    61  	Deployment_Platform_value = map[string]int32{
    62  		"PLATFORM_UNSPECIFIED": 0,
    63  		"GKE":                  1,
    64  		"FLEX":                 2,
    65  		"CUSTOM":               3,
    66  	}
    67  )
    68  
    69  func (x Deployment_Platform) Enum() *Deployment_Platform {
    70  	p := new(Deployment_Platform)
    71  	*p = x
    72  	return p
    73  }
    74  
    75  func (x Deployment_Platform) String() string {
    76  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    77  }
    78  
    79  func (Deployment_Platform) Descriptor() protoreflect.EnumDescriptor {
    80  	return file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_enumTypes[0].Descriptor()
    81  }
    82  
    83  func (Deployment_Platform) Type() protoreflect.EnumType {
    84  	return &file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_enumTypes[0]
    85  }
    86  
    87  func (x Deployment_Platform) Number() protoreflect.EnumNumber {
    88  	return protoreflect.EnumNumber(x)
    89  }
    90  
    91  // Deprecated: Use Deployment_Platform.Descriptor instead.
    92  func (Deployment_Platform) EnumDescriptor() ([]byte, []int) {
    93  	return file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_rawDescGZIP(), []int{2, 0}
    94  }
    95  
    96  // An artifact that can be deployed in some runtime.
    97  type Deployable struct {
    98  	state         protoimpl.MessageState
    99  	sizeCache     protoimpl.SizeCache
   100  	unknownFields protoimpl.UnknownFields
   101  
   102  	// Required. Resource URI for the artifact being deployed.
   103  	ResourceUri []string `protobuf:"bytes,1,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
   104  }
   105  
   106  func (x *Deployable) Reset() {
   107  	*x = Deployable{}
   108  	if protoimpl.UnsafeEnabled {
   109  		mi := &file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_msgTypes[0]
   110  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   111  		ms.StoreMessageInfo(mi)
   112  	}
   113  }
   114  
   115  func (x *Deployable) String() string {
   116  	return protoimpl.X.MessageStringOf(x)
   117  }
   118  
   119  func (*Deployable) ProtoMessage() {}
   120  
   121  func (x *Deployable) ProtoReflect() protoreflect.Message {
   122  	mi := &file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_msgTypes[0]
   123  	if protoimpl.UnsafeEnabled && x != nil {
   124  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   125  		if ms.LoadMessageInfo() == nil {
   126  			ms.StoreMessageInfo(mi)
   127  		}
   128  		return ms
   129  	}
   130  	return mi.MessageOf(x)
   131  }
   132  
   133  // Deprecated: Use Deployable.ProtoReflect.Descriptor instead.
   134  func (*Deployable) Descriptor() ([]byte, []int) {
   135  	return file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_rawDescGZIP(), []int{0}
   136  }
   137  
   138  func (x *Deployable) GetResourceUri() []string {
   139  	if x != nil {
   140  		return x.ResourceUri
   141  	}
   142  	return nil
   143  }
   144  
   145  // Details of a deployment occurrence.
   146  type Details struct {
   147  	state         protoimpl.MessageState
   148  	sizeCache     protoimpl.SizeCache
   149  	unknownFields protoimpl.UnknownFields
   150  
   151  	// Required. Deployment history for the resource.
   152  	Deployment *Deployment `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
   153  }
   154  
   155  func (x *Details) Reset() {
   156  	*x = Details{}
   157  	if protoimpl.UnsafeEnabled {
   158  		mi := &file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_msgTypes[1]
   159  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   160  		ms.StoreMessageInfo(mi)
   161  	}
   162  }
   163  
   164  func (x *Details) String() string {
   165  	return protoimpl.X.MessageStringOf(x)
   166  }
   167  
   168  func (*Details) ProtoMessage() {}
   169  
   170  func (x *Details) ProtoReflect() protoreflect.Message {
   171  	mi := &file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_msgTypes[1]
   172  	if protoimpl.UnsafeEnabled && x != nil {
   173  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   174  		if ms.LoadMessageInfo() == nil {
   175  			ms.StoreMessageInfo(mi)
   176  		}
   177  		return ms
   178  	}
   179  	return mi.MessageOf(x)
   180  }
   181  
   182  // Deprecated: Use Details.ProtoReflect.Descriptor instead.
   183  func (*Details) Descriptor() ([]byte, []int) {
   184  	return file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_rawDescGZIP(), []int{1}
   185  }
   186  
   187  func (x *Details) GetDeployment() *Deployment {
   188  	if x != nil {
   189  		return x.Deployment
   190  	}
   191  	return nil
   192  }
   193  
   194  // The period during which some deployable was active in a runtime.
   195  type Deployment struct {
   196  	state         protoimpl.MessageState
   197  	sizeCache     protoimpl.SizeCache
   198  	unknownFields protoimpl.UnknownFields
   199  
   200  	// Identity of the user that triggered this deployment.
   201  	UserEmail string `protobuf:"bytes,1,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"`
   202  	// Required. Beginning of the lifetime of this deployment.
   203  	DeployTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=deploy_time,json=deployTime,proto3" json:"deploy_time,omitempty"`
   204  	// End of the lifetime of this deployment.
   205  	UndeployTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=undeploy_time,json=undeployTime,proto3" json:"undeploy_time,omitempty"`
   206  	// Configuration used to create this deployment.
   207  	Config string `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"`
   208  	// Address of the runtime element hosting this deployment.
   209  	Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
   210  	// Output only. Resource URI for the artifact being deployed taken from
   211  	// the deployable field with the same name.
   212  	ResourceUri []string `protobuf:"bytes,6,rep,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
   213  	// Platform hosting this deployment.
   214  	Platform Deployment_Platform `protobuf:"varint,7,opt,name=platform,proto3,enum=grafeas.v1beta1.deployment.Deployment_Platform" json:"platform,omitempty"`
   215  }
   216  
   217  func (x *Deployment) Reset() {
   218  	*x = Deployment{}
   219  	if protoimpl.UnsafeEnabled {
   220  		mi := &file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_msgTypes[2]
   221  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   222  		ms.StoreMessageInfo(mi)
   223  	}
   224  }
   225  
   226  func (x *Deployment) String() string {
   227  	return protoimpl.X.MessageStringOf(x)
   228  }
   229  
   230  func (*Deployment) ProtoMessage() {}
   231  
   232  func (x *Deployment) ProtoReflect() protoreflect.Message {
   233  	mi := &file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_msgTypes[2]
   234  	if protoimpl.UnsafeEnabled && x != nil {
   235  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   236  		if ms.LoadMessageInfo() == nil {
   237  			ms.StoreMessageInfo(mi)
   238  		}
   239  		return ms
   240  	}
   241  	return mi.MessageOf(x)
   242  }
   243  
   244  // Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
   245  func (*Deployment) Descriptor() ([]byte, []int) {
   246  	return file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_rawDescGZIP(), []int{2}
   247  }
   248  
   249  func (x *Deployment) GetUserEmail() string {
   250  	if x != nil {
   251  		return x.UserEmail
   252  	}
   253  	return ""
   254  }
   255  
   256  func (x *Deployment) GetDeployTime() *timestamppb.Timestamp {
   257  	if x != nil {
   258  		return x.DeployTime
   259  	}
   260  	return nil
   261  }
   262  
   263  func (x *Deployment) GetUndeployTime() *timestamppb.Timestamp {
   264  	if x != nil {
   265  		return x.UndeployTime
   266  	}
   267  	return nil
   268  }
   269  
   270  func (x *Deployment) GetConfig() string {
   271  	if x != nil {
   272  		return x.Config
   273  	}
   274  	return ""
   275  }
   276  
   277  func (x *Deployment) GetAddress() string {
   278  	if x != nil {
   279  		return x.Address
   280  	}
   281  	return ""
   282  }
   283  
   284  func (x *Deployment) GetResourceUri() []string {
   285  	if x != nil {
   286  		return x.ResourceUri
   287  	}
   288  	return nil
   289  }
   290  
   291  func (x *Deployment) GetPlatform() Deployment_Platform {
   292  	if x != nil {
   293  		return x.Platform
   294  	}
   295  	return Deployment_PLATFORM_UNSPECIFIED
   296  }
   297  
   298  var File_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto protoreflect.FileDescriptor
   299  
   300  var file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_rawDesc = []byte{
   301  	0x0a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
   302  	0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79,
   303  	0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x64, 0x65, 0x70, 0x6c,
   304  	0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e,
   305  	0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73,
   306  	0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,
   307  	0x65, 0x6e, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
   308  	0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70,
   309  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x0a, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x61, 0x62,
   310  	0x6c, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75,
   311  	0x72, 0x69, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
   312  	0x63, 0x65, 0x55, 0x72, 0x69, 0x22, 0x51, 0x0a, 0x07, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73,
   313  	0x12, 0x46, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01,
   314  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76,
   315  	0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e,
   316  	0x74, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x64, 0x65,
   317  	0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x90, 0x03, 0x0a, 0x0a, 0x44, 0x65, 0x70,
   318  	0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f,
   319  	0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65,
   320  	0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x3b, 0x0a, 0x0b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79,
   321  	0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
   322  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
   323  	0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x54,
   324  	0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0d, 0x75, 0x6e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x5f,
   325  	0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
   326  	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
   327  	0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x75, 0x6e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79,
   328  	0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04,
   329  	0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07,
   330  	0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61,
   331  	0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
   332  	0x63, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65,
   333  	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x72, 0x69, 0x12, 0x4b, 0x0a, 0x08, 0x70, 0x6c, 0x61,
   334  	0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x72,
   335  	0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x64, 0x65,
   336  	0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,
   337  	0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x08, 0x70, 0x6c,
   338  	0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0x43, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f,
   339  	0x72, 0x6d, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x5f, 0x55,
   340  	0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03,
   341  	0x47, 0x4b, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x4c, 0x45, 0x58, 0x10, 0x02, 0x12,
   342  	0x0a, 0x0a, 0x06, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x03, 0x42, 0x87, 0x01, 0x0a, 0x1d,
   343  	0x69, 0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
   344  	0x61, 0x31, 0x2e, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x01, 0x5a,
   345  	0x5e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
   346  	0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
   347  	0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f,
   348  	0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69,
   349  	0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79,
   350  	0x6d, 0x65, 0x6e, 0x74, 0x3b, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0xa2,
   351  	0x02, 0x03, 0x47, 0x52, 0x41, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   352  }
   353  
   354  var (
   355  	file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_rawDescOnce sync.Once
   356  	file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_rawDescData = file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_rawDesc
   357  )
   358  
   359  func file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_rawDescGZIP() []byte {
   360  	file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_rawDescOnce.Do(func() {
   361  		file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_rawDescData)
   362  	})
   363  	return file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_rawDescData
   364  }
   365  
   366  var file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   367  var file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   368  var file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_goTypes = []interface{}{
   369  	(Deployment_Platform)(0),      // 0: grafeas.v1beta1.deployment.Deployment.Platform
   370  	(*Deployable)(nil),            // 1: grafeas.v1beta1.deployment.Deployable
   371  	(*Details)(nil),               // 2: grafeas.v1beta1.deployment.Details
   372  	(*Deployment)(nil),            // 3: grafeas.v1beta1.deployment.Deployment
   373  	(*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp
   374  }
   375  var file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_depIdxs = []int32{
   376  	3, // 0: grafeas.v1beta1.deployment.Details.deployment:type_name -> grafeas.v1beta1.deployment.Deployment
   377  	4, // 1: grafeas.v1beta1.deployment.Deployment.deploy_time:type_name -> google.protobuf.Timestamp
   378  	4, // 2: grafeas.v1beta1.deployment.Deployment.undeploy_time:type_name -> google.protobuf.Timestamp
   379  	0, // 3: grafeas.v1beta1.deployment.Deployment.platform:type_name -> grafeas.v1beta1.deployment.Deployment.Platform
   380  	4, // [4:4] is the sub-list for method output_type
   381  	4, // [4:4] is the sub-list for method input_type
   382  	4, // [4:4] is the sub-list for extension type_name
   383  	4, // [4:4] is the sub-list for extension extendee
   384  	0, // [0:4] is the sub-list for field type_name
   385  }
   386  
   387  func init() { file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_init() }
   388  func file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_init() {
   389  	if File_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto != nil {
   390  		return
   391  	}
   392  	if !protoimpl.UnsafeEnabled {
   393  		file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   394  			switch v := v.(*Deployable); i {
   395  			case 0:
   396  				return &v.state
   397  			case 1:
   398  				return &v.sizeCache
   399  			case 2:
   400  				return &v.unknownFields
   401  			default:
   402  				return nil
   403  			}
   404  		}
   405  		file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   406  			switch v := v.(*Details); i {
   407  			case 0:
   408  				return &v.state
   409  			case 1:
   410  				return &v.sizeCache
   411  			case 2:
   412  				return &v.unknownFields
   413  			default:
   414  				return nil
   415  			}
   416  		}
   417  		file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   418  			switch v := v.(*Deployment); i {
   419  			case 0:
   420  				return &v.state
   421  			case 1:
   422  				return &v.sizeCache
   423  			case 2:
   424  				return &v.unknownFields
   425  			default:
   426  				return nil
   427  			}
   428  		}
   429  	}
   430  	type x struct{}
   431  	out := protoimpl.TypeBuilder{
   432  		File: protoimpl.DescBuilder{
   433  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   434  			RawDescriptor: file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_rawDesc,
   435  			NumEnums:      1,
   436  			NumMessages:   3,
   437  			NumExtensions: 0,
   438  			NumServices:   0,
   439  		},
   440  		GoTypes:           file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_goTypes,
   441  		DependencyIndexes: file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_depIdxs,
   442  		EnumInfos:         file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_enumTypes,
   443  		MessageInfos:      file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_msgTypes,
   444  	}.Build()
   445  	File_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto = out.File
   446  	file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_rawDesc = nil
   447  	file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_goTypes = nil
   448  	file_google_devtools_containeranalysis_v1beta1_deployment_deployment_proto_depIdxs = nil
   449  }
   450  

View as plain text