| 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 aliasgen. DO NOT EDIT. |
| 16 | |
| 17 | // Package service aliases all exported identifiers in package |
| 18 | // "cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb". |
| 19 | // |
| 20 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb. |
| 21 | // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 | // for more details. |
| 23 | package service |
| 24 | |
| 25 | import ( |
| 26 | src "cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb" |
| 27 | grpc "google.golang.org/grpc" |
| 28 | ) |
| 29 | |
| 30 | // Deprecated: Please use consts in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 31 | const ( |
| 32 | CheckUpgradeResponse_CONFLICT = src.CheckUpgradeResponse_CONFLICT |
| 33 | CheckUpgradeResponse_CONFLICT_RESULT_UNSPECIFIED = src.CheckUpgradeResponse_CONFLICT_RESULT_UNSPECIFIED |
| 34 | CheckUpgradeResponse_NO_CONFLICT = src.CheckUpgradeResponse_NO_CONFLICT |
| 35 | Environment_CREATING = src.Environment_CREATING |
| 36 | Environment_DELETING = src.Environment_DELETING |
| 37 | Environment_ERROR = src.Environment_ERROR |
| 38 | Environment_RUNNING = src.Environment_RUNNING |
| 39 | Environment_STATE_UNSPECIFIED = src.Environment_STATE_UNSPECIFIED |
| 40 | Environment_UPDATING = src.Environment_UPDATING |
| 41 | OperationMetadata_CHECK = src.OperationMetadata_CHECK |
| 42 | OperationMetadata_CREATE = src.OperationMetadata_CREATE |
| 43 | OperationMetadata_DELETE = src.OperationMetadata_DELETE |
| 44 | OperationMetadata_FAILED = src.OperationMetadata_FAILED |
| 45 | OperationMetadata_PENDING = src.OperationMetadata_PENDING |
| 46 | OperationMetadata_RUNNING = src.OperationMetadata_RUNNING |
| 47 | OperationMetadata_STATE_UNSPECIFIED = src.OperationMetadata_STATE_UNSPECIFIED |
| 48 | OperationMetadata_SUCCEEDED = src.OperationMetadata_SUCCEEDED |
| 49 | OperationMetadata_SUCCESSFUL = src.OperationMetadata_SUCCESSFUL |
| 50 | OperationMetadata_TYPE_UNSPECIFIED = src.OperationMetadata_TYPE_UNSPECIFIED |
| 51 | OperationMetadata_UPDATE = src.OperationMetadata_UPDATE |
| 52 | ) |
| 53 | |
| 54 | // Deprecated: Please use vars in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 55 | var ( |
| 56 | CheckUpgradeResponse_ConflictResult_name = src.CheckUpgradeResponse_ConflictResult_name |
| 57 | CheckUpgradeResponse_ConflictResult_value = src.CheckUpgradeResponse_ConflictResult_value |
| 58 | Environment_State_name = src.Environment_State_name |
| 59 | Environment_State_value = src.Environment_State_value |
| 60 | File_google_cloud_orchestration_airflow_service_v1_environments_proto = src.File_google_cloud_orchestration_airflow_service_v1_environments_proto |
| 61 | File_google_cloud_orchestration_airflow_service_v1_image_versions_proto = src.File_google_cloud_orchestration_airflow_service_v1_image_versions_proto |
| 62 | File_google_cloud_orchestration_airflow_service_v1_operations_proto = src.File_google_cloud_orchestration_airflow_service_v1_operations_proto |
| 63 | OperationMetadata_State_name = src.OperationMetadata_State_name |
| 64 | OperationMetadata_State_value = src.OperationMetadata_State_value |
| 65 | OperationMetadata_Type_name = src.OperationMetadata_Type_name |
| 66 | OperationMetadata_Type_value = src.OperationMetadata_Type_value |
| 67 | ) |
| 68 | |
| 69 | // Message containing information about the result of an upgrade check |
| 70 | // operation. |
| 71 | // |
| 72 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 73 | type CheckUpgradeResponse = src.CheckUpgradeResponse |
| 74 | |
| 75 | // Whether there were python modules conflict during image build. |
| 76 | // |
| 77 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 78 | type CheckUpgradeResponse_ConflictResult = src.CheckUpgradeResponse_ConflictResult |
| 79 | |
| 80 | // Create a new environment. |
| 81 | // |
| 82 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 83 | type CreateEnvironmentRequest = src.CreateEnvironmentRequest |
| 84 | |
| 85 | // The configuration of Cloud SQL instance that is used by the Apache Airflow |
| 86 | // software. |
| 87 | // |
| 88 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 89 | type DatabaseConfig = src.DatabaseConfig |
| 90 | |
| 91 | // Delete an environment. |
| 92 | // |
| 93 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 94 | type DeleteEnvironmentRequest = src.DeleteEnvironmentRequest |
| 95 | |
| 96 | // The encryption options for the Cloud Composer environment and its |
| 97 | // dependencies. |
| 98 | // |
| 99 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 100 | type EncryptionConfig = src.EncryptionConfig |
| 101 | |
| 102 | // An environment for running orchestration tasks. |
| 103 | // |
| 104 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 105 | type Environment = src.Environment |
| 106 | |
| 107 | // Configuration information for an environment. |
| 108 | // |
| 109 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 110 | type EnvironmentConfig = src.EnvironmentConfig |
| 111 | |
| 112 | // State of the environment. |
| 113 | // |
| 114 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 115 | type Environment_State = src.Environment_State |
| 116 | |
| 117 | // EnvironmentsClient is the client API for Environments service. For |
| 118 | // semantics around ctx use and closing/ending streaming RPCs, please refer to |
| 119 | // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 120 | // |
| 121 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 122 | type EnvironmentsClient = src.EnvironmentsClient |
| 123 | |
| 124 | // EnvironmentsServer is the server API for Environments service. |
| 125 | // |
| 126 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 127 | type EnvironmentsServer = src.EnvironmentsServer |
| 128 | |
| 129 | // Get an environment. |
| 130 | // |
| 131 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 132 | type GetEnvironmentRequest = src.GetEnvironmentRequest |
| 133 | |
| 134 | // Configuration for controlling how IPs are allocated in the GKE cluster |
| 135 | // running the Apache Airflow software. |
| 136 | // |
| 137 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 138 | type IPAllocationPolicy = src.IPAllocationPolicy |
| 139 | type IPAllocationPolicy_ClusterIpv4CidrBlock = src.IPAllocationPolicy_ClusterIpv4CidrBlock |
| 140 | type IPAllocationPolicy_ClusterSecondaryRangeName = src.IPAllocationPolicy_ClusterSecondaryRangeName |
| 141 | type IPAllocationPolicy_ServicesIpv4CidrBlock = src.IPAllocationPolicy_ServicesIpv4CidrBlock |
| 142 | type IPAllocationPolicy_ServicesSecondaryRangeName = src.IPAllocationPolicy_ServicesSecondaryRangeName |
| 143 | |
| 144 | // ImageVersion information |
| 145 | // |
| 146 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 147 | type ImageVersion = src.ImageVersion |
| 148 | |
| 149 | // ImageVersionsClient is the client API for ImageVersions service. For |
| 150 | // semantics around ctx use and closing/ending streaming RPCs, please refer to |
| 151 | // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 152 | // |
| 153 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 154 | type ImageVersionsClient = src.ImageVersionsClient |
| 155 | |
| 156 | // ImageVersionsServer is the server API for ImageVersions service. |
| 157 | // |
| 158 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 159 | type ImageVersionsServer = src.ImageVersionsServer |
| 160 | |
| 161 | // List environments in a project and location. |
| 162 | // |
| 163 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 164 | type ListEnvironmentsRequest = src.ListEnvironmentsRequest |
| 165 | |
| 166 | // The environments in a project and location. |
| 167 | // |
| 168 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 169 | type ListEnvironmentsResponse = src.ListEnvironmentsResponse |
| 170 | |
| 171 | // List ImageVersions in a project and location. |
| 172 | // |
| 173 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 174 | type ListImageVersionsRequest = src.ListImageVersionsRequest |
| 175 | |
| 176 | // The ImageVersions in a project and location. |
| 177 | // |
| 178 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 179 | type ListImageVersionsResponse = src.ListImageVersionsResponse |
| 180 | |
| 181 | // The configuration information for the Kubernetes Engine nodes running the |
| 182 | // Apache Airflow software. |
| 183 | // |
| 184 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 185 | type NodeConfig = src.NodeConfig |
| 186 | |
| 187 | // Metadata describing an operation. |
| 188 | // |
| 189 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 190 | type OperationMetadata = src.OperationMetadata |
| 191 | |
| 192 | // An enum describing the overall state of an operation. |
| 193 | // |
| 194 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 195 | type OperationMetadata_State = src.OperationMetadata_State |
| 196 | |
| 197 | // Type of longrunning operation. |
| 198 | // |
| 199 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 200 | type OperationMetadata_Type = src.OperationMetadata_Type |
| 201 | |
| 202 | // Configuration options for the private GKE cluster in a Cloud Composer |
| 203 | // environment. |
| 204 | // |
| 205 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 206 | type PrivateClusterConfig = src.PrivateClusterConfig |
| 207 | |
| 208 | // The configuration information for configuring a Private IP Cloud Composer |
| 209 | // environment. |
| 210 | // |
| 211 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 212 | type PrivateEnvironmentConfig = src.PrivateEnvironmentConfig |
| 213 | |
| 214 | // Specifies the selection and configuration of software inside the |
| 215 | // environment. |
| 216 | // |
| 217 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 218 | type SoftwareConfig = src.SoftwareConfig |
| 219 | |
| 220 | // UnimplementedEnvironmentsServer can be embedded to have forward compatible |
| 221 | // implementations. |
| 222 | // |
| 223 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 224 | type UnimplementedEnvironmentsServer = src.UnimplementedEnvironmentsServer |
| 225 | |
| 226 | // UnimplementedImageVersionsServer can be embedded to have forward compatible |
| 227 | // implementations. |
| 228 | // |
| 229 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 230 | type UnimplementedImageVersionsServer = src.UnimplementedImageVersionsServer |
| 231 | |
| 232 | // Update an environment. |
| 233 | // |
| 234 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 235 | type UpdateEnvironmentRequest = src.UpdateEnvironmentRequest |
| 236 | |
| 237 | // The configuration settings for the Airflow web server App Engine instance. |
| 238 | // |
| 239 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 240 | type WebServerConfig = src.WebServerConfig |
| 241 | |
| 242 | // Network-level access control policy for the Airflow web server. |
| 243 | // |
| 244 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 245 | type WebServerNetworkAccessControl = src.WebServerNetworkAccessControl |
| 246 | |
| 247 | // Allowed IP range with user-provided description. |
| 248 | // |
| 249 | // Deprecated: Please use types in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 250 | type WebServerNetworkAccessControl_AllowedIpRange = src.WebServerNetworkAccessControl_AllowedIpRange |
| 251 | |
| 252 | // Deprecated: Please use funcs in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 253 | func NewEnvironmentsClient(cc grpc.ClientConnInterface) EnvironmentsClient { |
| 254 | return src.NewEnvironmentsClient(cc) |
| 255 | } |
| 256 | |
| 257 | // Deprecated: Please use funcs in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 258 | func NewImageVersionsClient(cc grpc.ClientConnInterface) ImageVersionsClient { |
| 259 | return src.NewImageVersionsClient(cc) |
| 260 | } |
| 261 | |
| 262 | // Deprecated: Please use funcs in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 263 | func RegisterEnvironmentsServer(s *grpc.Server, srv EnvironmentsServer) { |
| 264 | src.RegisterEnvironmentsServer(s, srv) |
| 265 | } |
| 266 | |
| 267 | // Deprecated: Please use funcs in: cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb |
| 268 | func RegisterImageVersionsServer(s *grpc.Server, srv ImageVersionsServer) { |
| 269 | src.RegisterImageVersionsServer(s, srv) |
| 270 | } |