...

Source file src/google.golang.org/genproto/googleapis/cloud/orchestration/airflow/service/v1beta1/image_versions.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/orchestration/airflow/service/v1beta1

     1  // Copyright 2022 Google LLC
     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.21.9
    19  // source: google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto
    20  
    21  package service
    22  
    23  import (
    24  	context "context"
    25  	reflect "reflect"
    26  	sync "sync"
    27  
    28  	_ "google.golang.org/genproto/googleapis/api/annotations"
    29  	date "google.golang.org/genproto/googleapis/type/date"
    30  	grpc "google.golang.org/grpc"
    31  	codes "google.golang.org/grpc/codes"
    32  	status "google.golang.org/grpc/status"
    33  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    34  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    35  )
    36  
    37  const (
    38  	// Verify that this generated code is sufficiently up-to-date.
    39  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    40  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    41  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    42  )
    43  
    44  // List ImageVersions in a project and location.
    45  type ListImageVersionsRequest struct {
    46  	state         protoimpl.MessageState
    47  	sizeCache     protoimpl.SizeCache
    48  	unknownFields protoimpl.UnknownFields
    49  
    50  	// List ImageVersions in the given project and location, in the form:
    51  	// "projects/{projectId}/locations/{locationId}"
    52  	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    53  	// The maximum number of image_versions to return.
    54  	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    55  	// The next_page_token value returned from a previous List request, if any.
    56  	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    57  	// Whether or not image versions from old releases should be included.
    58  	IncludePastReleases bool `protobuf:"varint,4,opt,name=include_past_releases,json=includePastReleases,proto3" json:"include_past_releases,omitempty"`
    59  }
    60  
    61  func (x *ListImageVersionsRequest) Reset() {
    62  	*x = ListImageVersionsRequest{}
    63  	if protoimpl.UnsafeEnabled {
    64  		mi := &file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_msgTypes[0]
    65  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    66  		ms.StoreMessageInfo(mi)
    67  	}
    68  }
    69  
    70  func (x *ListImageVersionsRequest) String() string {
    71  	return protoimpl.X.MessageStringOf(x)
    72  }
    73  
    74  func (*ListImageVersionsRequest) ProtoMessage() {}
    75  
    76  func (x *ListImageVersionsRequest) ProtoReflect() protoreflect.Message {
    77  	mi := &file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_msgTypes[0]
    78  	if protoimpl.UnsafeEnabled && x != nil {
    79  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    80  		if ms.LoadMessageInfo() == nil {
    81  			ms.StoreMessageInfo(mi)
    82  		}
    83  		return ms
    84  	}
    85  	return mi.MessageOf(x)
    86  }
    87  
    88  // Deprecated: Use ListImageVersionsRequest.ProtoReflect.Descriptor instead.
    89  func (*ListImageVersionsRequest) Descriptor() ([]byte, []int) {
    90  	return file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_rawDescGZIP(), []int{0}
    91  }
    92  
    93  func (x *ListImageVersionsRequest) GetParent() string {
    94  	if x != nil {
    95  		return x.Parent
    96  	}
    97  	return ""
    98  }
    99  
   100  func (x *ListImageVersionsRequest) GetPageSize() int32 {
   101  	if x != nil {
   102  		return x.PageSize
   103  	}
   104  	return 0
   105  }
   106  
   107  func (x *ListImageVersionsRequest) GetPageToken() string {
   108  	if x != nil {
   109  		return x.PageToken
   110  	}
   111  	return ""
   112  }
   113  
   114  func (x *ListImageVersionsRequest) GetIncludePastReleases() bool {
   115  	if x != nil {
   116  		return x.IncludePastReleases
   117  	}
   118  	return false
   119  }
   120  
   121  // The ImageVersions in a project and location.
   122  type ListImageVersionsResponse struct {
   123  	state         protoimpl.MessageState
   124  	sizeCache     protoimpl.SizeCache
   125  	unknownFields protoimpl.UnknownFields
   126  
   127  	// The list of supported ImageVersions in a location.
   128  	ImageVersions []*ImageVersion `protobuf:"bytes,1,rep,name=image_versions,json=imageVersions,proto3" json:"image_versions,omitempty"`
   129  	// The page token used to query for the next page if one exists.
   130  	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
   131  }
   132  
   133  func (x *ListImageVersionsResponse) Reset() {
   134  	*x = ListImageVersionsResponse{}
   135  	if protoimpl.UnsafeEnabled {
   136  		mi := &file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_msgTypes[1]
   137  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   138  		ms.StoreMessageInfo(mi)
   139  	}
   140  }
   141  
   142  func (x *ListImageVersionsResponse) String() string {
   143  	return protoimpl.X.MessageStringOf(x)
   144  }
   145  
   146  func (*ListImageVersionsResponse) ProtoMessage() {}
   147  
   148  func (x *ListImageVersionsResponse) ProtoReflect() protoreflect.Message {
   149  	mi := &file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_msgTypes[1]
   150  	if protoimpl.UnsafeEnabled && x != nil {
   151  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   152  		if ms.LoadMessageInfo() == nil {
   153  			ms.StoreMessageInfo(mi)
   154  		}
   155  		return ms
   156  	}
   157  	return mi.MessageOf(x)
   158  }
   159  
   160  // Deprecated: Use ListImageVersionsResponse.ProtoReflect.Descriptor instead.
   161  func (*ListImageVersionsResponse) Descriptor() ([]byte, []int) {
   162  	return file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_rawDescGZIP(), []int{1}
   163  }
   164  
   165  func (x *ListImageVersionsResponse) GetImageVersions() []*ImageVersion {
   166  	if x != nil {
   167  		return x.ImageVersions
   168  	}
   169  	return nil
   170  }
   171  
   172  func (x *ListImageVersionsResponse) GetNextPageToken() string {
   173  	if x != nil {
   174  		return x.NextPageToken
   175  	}
   176  	return ""
   177  }
   178  
   179  // Image Version information
   180  type ImageVersion struct {
   181  	state         protoimpl.MessageState
   182  	sizeCache     protoimpl.SizeCache
   183  	unknownFields protoimpl.UnknownFields
   184  
   185  	// The string identifier of the ImageVersion, in the form:
   186  	// "composer-x.y.z-airflow-a.b.c"
   187  	ImageVersionId string `protobuf:"bytes,1,opt,name=image_version_id,json=imageVersionId,proto3" json:"image_version_id,omitempty"`
   188  	// Whether this is the default ImageVersion used by Composer during
   189  	// environment creation if no input ImageVersion is specified.
   190  	IsDefault bool `protobuf:"varint,2,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
   191  	// supported python versions
   192  	SupportedPythonVersions []string `protobuf:"bytes,3,rep,name=supported_python_versions,json=supportedPythonVersions,proto3" json:"supported_python_versions,omitempty"`
   193  	// The date of the version release.
   194  	ReleaseDate *date.Date `protobuf:"bytes,4,opt,name=release_date,json=releaseDate,proto3" json:"release_date,omitempty"`
   195  	// Whether it is impossible to create an environment with the image version.
   196  	CreationDisabled bool `protobuf:"varint,5,opt,name=creation_disabled,json=creationDisabled,proto3" json:"creation_disabled,omitempty"`
   197  	// Whether it is impossible to upgrade an environment running with the image
   198  	// version.
   199  	UpgradeDisabled bool `protobuf:"varint,6,opt,name=upgrade_disabled,json=upgradeDisabled,proto3" json:"upgrade_disabled,omitempty"`
   200  }
   201  
   202  func (x *ImageVersion) Reset() {
   203  	*x = ImageVersion{}
   204  	if protoimpl.UnsafeEnabled {
   205  		mi := &file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_msgTypes[2]
   206  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   207  		ms.StoreMessageInfo(mi)
   208  	}
   209  }
   210  
   211  func (x *ImageVersion) String() string {
   212  	return protoimpl.X.MessageStringOf(x)
   213  }
   214  
   215  func (*ImageVersion) ProtoMessage() {}
   216  
   217  func (x *ImageVersion) ProtoReflect() protoreflect.Message {
   218  	mi := &file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_msgTypes[2]
   219  	if protoimpl.UnsafeEnabled && x != nil {
   220  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   221  		if ms.LoadMessageInfo() == nil {
   222  			ms.StoreMessageInfo(mi)
   223  		}
   224  		return ms
   225  	}
   226  	return mi.MessageOf(x)
   227  }
   228  
   229  // Deprecated: Use ImageVersion.ProtoReflect.Descriptor instead.
   230  func (*ImageVersion) Descriptor() ([]byte, []int) {
   231  	return file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_rawDescGZIP(), []int{2}
   232  }
   233  
   234  func (x *ImageVersion) GetImageVersionId() string {
   235  	if x != nil {
   236  		return x.ImageVersionId
   237  	}
   238  	return ""
   239  }
   240  
   241  func (x *ImageVersion) GetIsDefault() bool {
   242  	if x != nil {
   243  		return x.IsDefault
   244  	}
   245  	return false
   246  }
   247  
   248  func (x *ImageVersion) GetSupportedPythonVersions() []string {
   249  	if x != nil {
   250  		return x.SupportedPythonVersions
   251  	}
   252  	return nil
   253  }
   254  
   255  func (x *ImageVersion) GetReleaseDate() *date.Date {
   256  	if x != nil {
   257  		return x.ReleaseDate
   258  	}
   259  	return nil
   260  }
   261  
   262  func (x *ImageVersion) GetCreationDisabled() bool {
   263  	if x != nil {
   264  		return x.CreationDisabled
   265  	}
   266  	return false
   267  }
   268  
   269  func (x *ImageVersion) GetUpgradeDisabled() bool {
   270  	if x != nil {
   271  		return x.UpgradeDisabled
   272  	}
   273  	return false
   274  }
   275  
   276  var File_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto protoreflect.FileDescriptor
   277  
   278  var file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_rawDesc = []byte{
   279  	0x0a, 0x47, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f,
   280  	0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x69, 0x72,
   281  	0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x62,
   282  	0x65, 0x74, 0x61, 0x31, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
   283  	0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   284  	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72,
   285  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x69, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x73, 0x65,
   286  	0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67,
   287  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
   288  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f,
   289  	0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70,
   290  	0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70,
   291  	0x65, 0x2f, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x01, 0x0a,
   292  	0x18, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
   293  	0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72,
   294  	0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
   295  	0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02,
   296  	0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d,
   297  	0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01,
   298  	0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x32, 0x0a,
   299  	0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x70, 0x61, 0x73, 0x74, 0x5f, 0x72, 0x65,
   300  	0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x69, 0x6e,
   301  	0x63, 0x6c, 0x75, 0x64, 0x65, 0x50, 0x61, 0x73, 0x74, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65,
   302  	0x73, 0x22, 0xac, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x56,
   303  	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
   304  	0x67, 0x0a, 0x0e, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
   305  	0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   306  	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61,
   307  	0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x69, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x73, 0x65, 0x72,
   308  	0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6d, 0x61,
   309  	0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x69, 0x6d, 0x61, 0x67, 0x65,
   310  	0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74,
   311  	0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
   312  	0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
   313  	0x22, 0xa1, 0x02, 0x0a, 0x0c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
   314  	0x6e, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
   315  	0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6d, 0x61,
   316  	0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x69,
   317  	0x73, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
   318  	0x09, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x73, 0x75,
   319  	0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x5f, 0x76,
   320  	0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, 0x73,
   321  	0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x50, 0x79, 0x74, 0x68, 0x6f, 0x6e, 0x56, 0x65,
   322  	0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x0c, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73,
   323  	0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67,
   324  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52,
   325  	0x0b, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x2b, 0x0a, 0x11,
   326  	0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65,
   327  	0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f,
   328  	0x6e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x75, 0x70, 0x67,
   329  	0x72, 0x61, 0x64, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20,
   330  	0x01, 0x28, 0x08, 0x52, 0x0f, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x44, 0x69, 0x73, 0x61,
   331  	0x62, 0x6c, 0x65, 0x64, 0x32, 0xd8, 0x02, 0x0a, 0x0d, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x56, 0x65,
   332  	0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xf9, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x49,
   333  	0x6d, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4c, 0x2e, 0x67,
   334  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x63, 0x68,
   335  	0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x69, 0x72, 0x66, 0x6c, 0x6f,
   336  	0x77, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
   337  	0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69,
   338  	0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x4d, 0x2e, 0x67, 0x6f, 0x6f,
   339  	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73,
   340  	0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x61, 0x69, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x2e,
   341  	0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
   342  	0x4c, 0x69, 0x73, 0x74, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
   343  	0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x47, 0x82, 0xd3, 0xe4, 0x93, 0x02,
   344  	0x38, 0x12, 0x36, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,
   345  	0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c,
   346  	0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x69, 0x6d, 0x61, 0x67,
   347  	0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65,
   348  	0x6e, 0x74, 0x1a, 0x4b, 0xca, 0x41, 0x17, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x2e,
   349  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41,
   350  	0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f,
   351  	0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68,
   352  	0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42,
   353  	0x95, 0x01, 0x0a, 0x36, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
   354  	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69,
   355  	0x6f, 0x6e, 0x2e, 0x61, 0x69, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69,
   356  	0x63, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x50, 0x01, 0x5a, 0x59, 0x67, 0x6f,
   357  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
   358  	0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
   359  	0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73,
   360  	0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x69, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x2f,
   361  	0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b,
   362  	0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   363  }
   364  
   365  var (
   366  	file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_rawDescOnce sync.Once
   367  	file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_rawDescData = file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_rawDesc
   368  )
   369  
   370  func file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_rawDescGZIP() []byte {
   371  	file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_rawDescOnce.Do(func() {
   372  		file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_rawDescData)
   373  	})
   374  	return file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_rawDescData
   375  }
   376  
   377  var file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   378  var file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_goTypes = []interface{}{
   379  	(*ListImageVersionsRequest)(nil),  // 0: google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest
   380  	(*ListImageVersionsResponse)(nil), // 1: google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse
   381  	(*ImageVersion)(nil),              // 2: google.cloud.orchestration.airflow.service.v1beta1.ImageVersion
   382  	(*date.Date)(nil),                 // 3: google.type.Date
   383  }
   384  var file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_depIdxs = []int32{
   385  	2, // 0: google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse.image_versions:type_name -> google.cloud.orchestration.airflow.service.v1beta1.ImageVersion
   386  	3, // 1: google.cloud.orchestration.airflow.service.v1beta1.ImageVersion.release_date:type_name -> google.type.Date
   387  	0, // 2: google.cloud.orchestration.airflow.service.v1beta1.ImageVersions.ListImageVersions:input_type -> google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsRequest
   388  	1, // 3: google.cloud.orchestration.airflow.service.v1beta1.ImageVersions.ListImageVersions:output_type -> google.cloud.orchestration.airflow.service.v1beta1.ListImageVersionsResponse
   389  	3, // [3:4] is the sub-list for method output_type
   390  	2, // [2:3] is the sub-list for method input_type
   391  	2, // [2:2] is the sub-list for extension type_name
   392  	2, // [2:2] is the sub-list for extension extendee
   393  	0, // [0:2] is the sub-list for field type_name
   394  }
   395  
   396  func init() { file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_init() }
   397  func file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_init() {
   398  	if File_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto != nil {
   399  		return
   400  	}
   401  	if !protoimpl.UnsafeEnabled {
   402  		file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   403  			switch v := v.(*ListImageVersionsRequest); i {
   404  			case 0:
   405  				return &v.state
   406  			case 1:
   407  				return &v.sizeCache
   408  			case 2:
   409  				return &v.unknownFields
   410  			default:
   411  				return nil
   412  			}
   413  		}
   414  		file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   415  			switch v := v.(*ListImageVersionsResponse); i {
   416  			case 0:
   417  				return &v.state
   418  			case 1:
   419  				return &v.sizeCache
   420  			case 2:
   421  				return &v.unknownFields
   422  			default:
   423  				return nil
   424  			}
   425  		}
   426  		file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   427  			switch v := v.(*ImageVersion); i {
   428  			case 0:
   429  				return &v.state
   430  			case 1:
   431  				return &v.sizeCache
   432  			case 2:
   433  				return &v.unknownFields
   434  			default:
   435  				return nil
   436  			}
   437  		}
   438  	}
   439  	type x struct{}
   440  	out := protoimpl.TypeBuilder{
   441  		File: protoimpl.DescBuilder{
   442  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   443  			RawDescriptor: file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_rawDesc,
   444  			NumEnums:      0,
   445  			NumMessages:   3,
   446  			NumExtensions: 0,
   447  			NumServices:   1,
   448  		},
   449  		GoTypes:           file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_goTypes,
   450  		DependencyIndexes: file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_depIdxs,
   451  		MessageInfos:      file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_msgTypes,
   452  	}.Build()
   453  	File_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto = out.File
   454  	file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_rawDesc = nil
   455  	file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_goTypes = nil
   456  	file_google_cloud_orchestration_airflow_service_v1beta1_image_versions_proto_depIdxs = nil
   457  }
   458  
   459  // Reference imports to suppress errors if they are not otherwise used.
   460  var _ context.Context
   461  var _ grpc.ClientConnInterface
   462  
   463  // This is a compile-time assertion to ensure that this generated file
   464  // is compatible with the grpc package it is being compiled against.
   465  const _ = grpc.SupportPackageIsVersion6
   466  
   467  // ImageVersionsClient is the client API for ImageVersions service.
   468  //
   469  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   470  type ImageVersionsClient interface {
   471  	// List ImageVersions for provided location.
   472  	ListImageVersions(ctx context.Context, in *ListImageVersionsRequest, opts ...grpc.CallOption) (*ListImageVersionsResponse, error)
   473  }
   474  
   475  type imageVersionsClient struct {
   476  	cc grpc.ClientConnInterface
   477  }
   478  
   479  func NewImageVersionsClient(cc grpc.ClientConnInterface) ImageVersionsClient {
   480  	return &imageVersionsClient{cc}
   481  }
   482  
   483  func (c *imageVersionsClient) ListImageVersions(ctx context.Context, in *ListImageVersionsRequest, opts ...grpc.CallOption) (*ListImageVersionsResponse, error) {
   484  	out := new(ListImageVersionsResponse)
   485  	err := c.cc.Invoke(ctx, "/google.cloud.orchestration.airflow.service.v1beta1.ImageVersions/ListImageVersions", in, out, opts...)
   486  	if err != nil {
   487  		return nil, err
   488  	}
   489  	return out, nil
   490  }
   491  
   492  // ImageVersionsServer is the server API for ImageVersions service.
   493  type ImageVersionsServer interface {
   494  	// List ImageVersions for provided location.
   495  	ListImageVersions(context.Context, *ListImageVersionsRequest) (*ListImageVersionsResponse, error)
   496  }
   497  
   498  // UnimplementedImageVersionsServer can be embedded to have forward compatible implementations.
   499  type UnimplementedImageVersionsServer struct {
   500  }
   501  
   502  func (*UnimplementedImageVersionsServer) ListImageVersions(context.Context, *ListImageVersionsRequest) (*ListImageVersionsResponse, error) {
   503  	return nil, status.Errorf(codes.Unimplemented, "method ListImageVersions not implemented")
   504  }
   505  
   506  func RegisterImageVersionsServer(s *grpc.Server, srv ImageVersionsServer) {
   507  	s.RegisterService(&_ImageVersions_serviceDesc, srv)
   508  }
   509  
   510  func _ImageVersions_ListImageVersions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   511  	in := new(ListImageVersionsRequest)
   512  	if err := dec(in); err != nil {
   513  		return nil, err
   514  	}
   515  	if interceptor == nil {
   516  		return srv.(ImageVersionsServer).ListImageVersions(ctx, in)
   517  	}
   518  	info := &grpc.UnaryServerInfo{
   519  		Server:     srv,
   520  		FullMethod: "/google.cloud.orchestration.airflow.service.v1beta1.ImageVersions/ListImageVersions",
   521  	}
   522  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   523  		return srv.(ImageVersionsServer).ListImageVersions(ctx, req.(*ListImageVersionsRequest))
   524  	}
   525  	return interceptor(ctx, in, info, handler)
   526  }
   527  
   528  var _ImageVersions_serviceDesc = grpc.ServiceDesc{
   529  	ServiceName: "google.cloud.orchestration.airflow.service.v1beta1.ImageVersions",
   530  	HandlerType: (*ImageVersionsServer)(nil),
   531  	Methods: []grpc.MethodDesc{
   532  		{
   533  			MethodName: "ListImageVersions",
   534  			Handler:    _ImageVersions_ListImageVersions_Handler,
   535  		},
   536  	},
   537  	Streams:  []grpc.StreamDesc{},
   538  	Metadata: "google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto",
   539  }
   540  

View as plain text