| 1 |
// Copyright 2025 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-grpc. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// - protoc-gen-go-grpc v1.3.0 |
| 18 |
// - protoc v4.25.7 |
| 19 |
// source: google/cloud/orchestration/airflow/service/v1/environments.proto |
| 20 |
|
| 21 |
package servicepb |
| 22 |
|
| 23 |
import ( |
| 24 |
longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" |
| 25 |
context "context" |
| 26 |
grpc "google.golang.org/grpc" |
| 27 |
codes "google.golang.org/grpc/codes" |
| 28 |
status "google.golang.org/grpc/status" |
| 29 |
emptypb "google.golang.org/protobuf/types/known/emptypb" |
| 30 |
) |
| 31 |
|
| 32 |
// This is a compile-time assertion to ensure that this generated file |
| 33 |
// is compatible with the grpc package it is being compiled against. |
| 34 |
// Requires gRPC-Go v1.32.0 or later. |
| 35 |
const _ = grpc.SupportPackageIsVersion7 |
| 36 |
|
| 37 |
const ( |
| 38 |
Environments_CreateEnvironment_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/CreateEnvironment" |
| 39 |
Environments_GetEnvironment_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/GetEnvironment" |
| 40 |
Environments_ListEnvironments_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/ListEnvironments" |
| 41 |
Environments_UpdateEnvironment_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/UpdateEnvironment" |
| 42 |
Environments_DeleteEnvironment_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/DeleteEnvironment" |
| 43 |
Environments_ExecuteAirflowCommand_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/ExecuteAirflowCommand" |
| 44 |
Environments_StopAirflowCommand_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/StopAirflowCommand" |
| 45 |
Environments_PollAirflowCommand_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/PollAirflowCommand" |
| 46 |
Environments_ListWorkloads_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/ListWorkloads" |
| 47 |
Environments_CheckUpgrade_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/CheckUpgrade" |
| 48 |
Environments_CreateUserWorkloadsSecret_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/CreateUserWorkloadsSecret" |
| 49 |
Environments_GetUserWorkloadsSecret_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/GetUserWorkloadsSecret" |
| 50 |
Environments_ListUserWorkloadsSecrets_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/ListUserWorkloadsSecrets" |
| 51 |
Environments_UpdateUserWorkloadsSecret_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/UpdateUserWorkloadsSecret" |
| 52 |
Environments_DeleteUserWorkloadsSecret_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/DeleteUserWorkloadsSecret" |
| 53 |
Environments_CreateUserWorkloadsConfigMap_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/CreateUserWorkloadsConfigMap" |
| 54 |
Environments_GetUserWorkloadsConfigMap_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/GetUserWorkloadsConfigMap" |
| 55 |
Environments_ListUserWorkloadsConfigMaps_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/ListUserWorkloadsConfigMaps" |
| 56 |
Environments_UpdateUserWorkloadsConfigMap_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/UpdateUserWorkloadsConfigMap" |
| 57 |
Environments_DeleteUserWorkloadsConfigMap_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/DeleteUserWorkloadsConfigMap" |
| 58 |
Environments_SaveSnapshot_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/SaveSnapshot" |
| 59 |
Environments_LoadSnapshot_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/LoadSnapshot" |
| 60 |
Environments_DatabaseFailover_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/DatabaseFailover" |
| 61 |
Environments_FetchDatabaseProperties_FullMethodName = "/google.cloud.orchestration.airflow.service.v1.Environments/FetchDatabaseProperties" |
| 62 |
) |
| 63 |
|
| 64 |
// EnvironmentsClient is the client API for Environments service. |
| 65 |
// |
| 66 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. |
| 67 |
type EnvironmentsClient interface { |
| 68 |
// Create a new environment. |
| 69 |
CreateEnvironment(ctx context.Context, in *CreateEnvironmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 70 |
// Get an existing environment. |
| 71 |
GetEnvironment(ctx context.Context, in *GetEnvironmentRequest, opts ...grpc.CallOption) (*Environment, error) |
| 72 |
// List environments. |
| 73 |
ListEnvironments(ctx context.Context, in *ListEnvironmentsRequest, opts ...grpc.CallOption) (*ListEnvironmentsResponse, error) |
| 74 |
// Update an environment. |
| 75 |
UpdateEnvironment(ctx context.Context, in *UpdateEnvironmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 76 |
// Delete an environment. |
| 77 |
DeleteEnvironment(ctx context.Context, in *DeleteEnvironmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 78 |
// Executes Airflow CLI command. |
| 79 |
ExecuteAirflowCommand(ctx context.Context, in *ExecuteAirflowCommandRequest, opts ...grpc.CallOption) (*ExecuteAirflowCommandResponse, error) |
| 80 |
// Stops Airflow CLI command execution. |
| 81 |
StopAirflowCommand(ctx context.Context, in *StopAirflowCommandRequest, opts ...grpc.CallOption) (*StopAirflowCommandResponse, error) |
| 82 |
// Polls Airflow CLI command execution and fetches logs. |
| 83 |
PollAirflowCommand(ctx context.Context, in *PollAirflowCommandRequest, opts ...grpc.CallOption) (*PollAirflowCommandResponse, error) |
| 84 |
// Lists workloads in a Cloud Composer environment. Workload is a unit that |
| 85 |
// runs a single Composer component. |
| 86 |
// |
| 87 |
// This method is supported for Cloud Composer environments in versions |
| 88 |
// composer-2.*.*-airflow-*.*.* and newer. |
| 89 |
ListWorkloads(ctx context.Context, in *ListWorkloadsRequest, opts ...grpc.CallOption) (*ListWorkloadsResponse, error) |
| 90 |
// Check if an upgrade operation on the environment will succeed. |
| 91 |
// |
| 92 |
// In case of problems detailed info can be found in the returned Operation. |
| 93 |
CheckUpgrade(ctx context.Context, in *CheckUpgradeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 94 |
// Creates a user workloads Secret. |
| 95 |
// |
| 96 |
// This method is supported for Cloud Composer environments in versions |
| 97 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 98 |
CreateUserWorkloadsSecret(ctx context.Context, in *CreateUserWorkloadsSecretRequest, opts ...grpc.CallOption) (*UserWorkloadsSecret, error) |
| 99 |
// Gets an existing user workloads Secret. |
| 100 |
// Values of the "data" field in the response are cleared. |
| 101 |
// |
| 102 |
// This method is supported for Cloud Composer environments in versions |
| 103 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 104 |
GetUserWorkloadsSecret(ctx context.Context, in *GetUserWorkloadsSecretRequest, opts ...grpc.CallOption) (*UserWorkloadsSecret, error) |
| 105 |
// Lists user workloads Secrets. |
| 106 |
// |
| 107 |
// This method is supported for Cloud Composer environments in versions |
| 108 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 109 |
ListUserWorkloadsSecrets(ctx context.Context, in *ListUserWorkloadsSecretsRequest, opts ...grpc.CallOption) (*ListUserWorkloadsSecretsResponse, error) |
| 110 |
// Updates a user workloads Secret. |
| 111 |
// |
| 112 |
// This method is supported for Cloud Composer environments in versions |
| 113 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 114 |
UpdateUserWorkloadsSecret(ctx context.Context, in *UpdateUserWorkloadsSecretRequest, opts ...grpc.CallOption) (*UserWorkloadsSecret, error) |
| 115 |
// Deletes a user workloads Secret. |
| 116 |
// |
| 117 |
// This method is supported for Cloud Composer environments in versions |
| 118 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 119 |
DeleteUserWorkloadsSecret(ctx context.Context, in *DeleteUserWorkloadsSecretRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 120 |
// Creates a user workloads ConfigMap. |
| 121 |
// |
| 122 |
// This method is supported for Cloud Composer environments in versions |
| 123 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 124 |
CreateUserWorkloadsConfigMap(ctx context.Context, in *CreateUserWorkloadsConfigMapRequest, opts ...grpc.CallOption) (*UserWorkloadsConfigMap, error) |
| 125 |
// Gets an existing user workloads ConfigMap. |
| 126 |
// |
| 127 |
// This method is supported for Cloud Composer environments in versions |
| 128 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 129 |
GetUserWorkloadsConfigMap(ctx context.Context, in *GetUserWorkloadsConfigMapRequest, opts ...grpc.CallOption) (*UserWorkloadsConfigMap, error) |
| 130 |
// Lists user workloads ConfigMaps. |
| 131 |
// |
| 132 |
// This method is supported for Cloud Composer environments in versions |
| 133 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 134 |
ListUserWorkloadsConfigMaps(ctx context.Context, in *ListUserWorkloadsConfigMapsRequest, opts ...grpc.CallOption) (*ListUserWorkloadsConfigMapsResponse, error) |
| 135 |
// Updates a user workloads ConfigMap. |
| 136 |
// |
| 137 |
// This method is supported for Cloud Composer environments in versions |
| 138 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 139 |
UpdateUserWorkloadsConfigMap(ctx context.Context, in *UpdateUserWorkloadsConfigMapRequest, opts ...grpc.CallOption) (*UserWorkloadsConfigMap, error) |
| 140 |
// Deletes a user workloads ConfigMap. |
| 141 |
// |
| 142 |
// This method is supported for Cloud Composer environments in versions |
| 143 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 144 |
DeleteUserWorkloadsConfigMap(ctx context.Context, in *DeleteUserWorkloadsConfigMapRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 145 |
// Creates a snapshots of a Cloud Composer environment. |
| 146 |
// |
| 147 |
// As a result of this operation, snapshot of environment's state is stored |
| 148 |
// in a location specified in the SaveSnapshotRequest. |
| 149 |
SaveSnapshot(ctx context.Context, in *SaveSnapshotRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 150 |
// Loads a snapshot of a Cloud Composer environment. |
| 151 |
// |
| 152 |
// As a result of this operation, a snapshot of environment's specified in |
| 153 |
// LoadSnapshotRequest is loaded into the environment. |
| 154 |
LoadSnapshot(ctx context.Context, in *LoadSnapshotRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 155 |
// Triggers database failover (only for highly resilient environments). |
| 156 |
DatabaseFailover(ctx context.Context, in *DatabaseFailoverRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 157 |
// Fetches database properties. |
| 158 |
FetchDatabaseProperties(ctx context.Context, in *FetchDatabasePropertiesRequest, opts ...grpc.CallOption) (*FetchDatabasePropertiesResponse, error) |
| 159 |
} |
| 160 |
|
| 161 |
type environmentsClient struct { |
| 162 |
cc grpc.ClientConnInterface |
| 163 |
} |
| 164 |
|
| 165 |
func NewEnvironmentsClient(cc grpc.ClientConnInterface) EnvironmentsClient { |
| 166 |
return &environmentsClient{cc} |
| 167 |
} |
| 168 |
|
| 169 |
func (c *environmentsClient) CreateEnvironment(ctx context.Context, in *CreateEnvironmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 170 |
out := new(longrunningpb.Operation) |
| 171 |
err := c.cc.Invoke(ctx, Environments_CreateEnvironment_FullMethodName, in, out, opts...) |
| 172 |
if err != nil { |
| 173 |
return nil, err |
| 174 |
} |
| 175 |
return out, nil |
| 176 |
} |
| 177 |
|
| 178 |
func (c *environmentsClient) GetEnvironment(ctx context.Context, in *GetEnvironmentRequest, opts ...grpc.CallOption) (*Environment, error) { |
| 179 |
out := new(Environment) |
| 180 |
err := c.cc.Invoke(ctx, Environments_GetEnvironment_FullMethodName, in, out, opts...) |
| 181 |
if err != nil { |
| 182 |
return nil, err |
| 183 |
} |
| 184 |
return out, nil |
| 185 |
} |
| 186 |
|
| 187 |
func (c *environmentsClient) ListEnvironments(ctx context.Context, in *ListEnvironmentsRequest, opts ...grpc.CallOption) (*ListEnvironmentsResponse, error) { |
| 188 |
out := new(ListEnvironmentsResponse) |
| 189 |
err := c.cc.Invoke(ctx, Environments_ListEnvironments_FullMethodName, in, out, opts...) |
| 190 |
if err != nil { |
| 191 |
return nil, err |
| 192 |
} |
| 193 |
return out, nil |
| 194 |
} |
| 195 |
|
| 196 |
func (c *environmentsClient) UpdateEnvironment(ctx context.Context, in *UpdateEnvironmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 197 |
out := new(longrunningpb.Operation) |
| 198 |
err := c.cc.Invoke(ctx, Environments_UpdateEnvironment_FullMethodName, in, out, opts...) |
| 199 |
if err != nil { |
| 200 |
return nil, err |
| 201 |
} |
| 202 |
return out, nil |
| 203 |
} |
| 204 |
|
| 205 |
func (c *environmentsClient) DeleteEnvironment(ctx context.Context, in *DeleteEnvironmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 206 |
out := new(longrunningpb.Operation) |
| 207 |
err := c.cc.Invoke(ctx, Environments_DeleteEnvironment_FullMethodName, in, out, opts...) |
| 208 |
if err != nil { |
| 209 |
return nil, err |
| 210 |
} |
| 211 |
return out, nil |
| 212 |
} |
| 213 |
|
| 214 |
func (c *environmentsClient) ExecuteAirflowCommand(ctx context.Context, in *ExecuteAirflowCommandRequest, opts ...grpc.CallOption) (*ExecuteAirflowCommandResponse, error) { |
| 215 |
out := new(ExecuteAirflowCommandResponse) |
| 216 |
err := c.cc.Invoke(ctx, Environments_ExecuteAirflowCommand_FullMethodName, in, out, opts...) |
| 217 |
if err != nil { |
| 218 |
return nil, err |
| 219 |
} |
| 220 |
return out, nil |
| 221 |
} |
| 222 |
|
| 223 |
func (c *environmentsClient) StopAirflowCommand(ctx context.Context, in *StopAirflowCommandRequest, opts ...grpc.CallOption) (*StopAirflowCommandResponse, error) { |
| 224 |
out := new(StopAirflowCommandResponse) |
| 225 |
err := c.cc.Invoke(ctx, Environments_StopAirflowCommand_FullMethodName, in, out, opts...) |
| 226 |
if err != nil { |
| 227 |
return nil, err |
| 228 |
} |
| 229 |
return out, nil |
| 230 |
} |
| 231 |
|
| 232 |
func (c *environmentsClient) PollAirflowCommand(ctx context.Context, in *PollAirflowCommandRequest, opts ...grpc.CallOption) (*PollAirflowCommandResponse, error) { |
| 233 |
out := new(PollAirflowCommandResponse) |
| 234 |
err := c.cc.Invoke(ctx, Environments_PollAirflowCommand_FullMethodName, in, out, opts...) |
| 235 |
if err != nil { |
| 236 |
return nil, err |
| 237 |
} |
| 238 |
return out, nil |
| 239 |
} |
| 240 |
|
| 241 |
func (c *environmentsClient) ListWorkloads(ctx context.Context, in *ListWorkloadsRequest, opts ...grpc.CallOption) (*ListWorkloadsResponse, error) { |
| 242 |
out := new(ListWorkloadsResponse) |
| 243 |
err := c.cc.Invoke(ctx, Environments_ListWorkloads_FullMethodName, in, out, opts...) |
| 244 |
if err != nil { |
| 245 |
return nil, err |
| 246 |
} |
| 247 |
return out, nil |
| 248 |
} |
| 249 |
|
| 250 |
func (c *environmentsClient) CheckUpgrade(ctx context.Context, in *CheckUpgradeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 251 |
out := new(longrunningpb.Operation) |
| 252 |
err := c.cc.Invoke(ctx, Environments_CheckUpgrade_FullMethodName, in, out, opts...) |
| 253 |
if err != nil { |
| 254 |
return nil, err |
| 255 |
} |
| 256 |
return out, nil |
| 257 |
} |
| 258 |
|
| 259 |
func (c *environmentsClient) CreateUserWorkloadsSecret(ctx context.Context, in *CreateUserWorkloadsSecretRequest, opts ...grpc.CallOption) (*UserWorkloadsSecret, error) { |
| 260 |
out := new(UserWorkloadsSecret) |
| 261 |
err := c.cc.Invoke(ctx, Environments_CreateUserWorkloadsSecret_FullMethodName, in, out, opts...) |
| 262 |
if err != nil { |
| 263 |
return nil, err |
| 264 |
} |
| 265 |
return out, nil |
| 266 |
} |
| 267 |
|
| 268 |
func (c *environmentsClient) GetUserWorkloadsSecret(ctx context.Context, in *GetUserWorkloadsSecretRequest, opts ...grpc.CallOption) (*UserWorkloadsSecret, error) { |
| 269 |
out := new(UserWorkloadsSecret) |
| 270 |
err := c.cc.Invoke(ctx, Environments_GetUserWorkloadsSecret_FullMethodName, in, out, opts...) |
| 271 |
if err != nil { |
| 272 |
return nil, err |
| 273 |
} |
| 274 |
return out, nil |
| 275 |
} |
| 276 |
|
| 277 |
func (c *environmentsClient) ListUserWorkloadsSecrets(ctx context.Context, in *ListUserWorkloadsSecretsRequest, opts ...grpc.CallOption) (*ListUserWorkloadsSecretsResponse, error) { |
| 278 |
out := new(ListUserWorkloadsSecretsResponse) |
| 279 |
err := c.cc.Invoke(ctx, Environments_ListUserWorkloadsSecrets_FullMethodName, in, out, opts...) |
| 280 |
if err != nil { |
| 281 |
return nil, err |
| 282 |
} |
| 283 |
return out, nil |
| 284 |
} |
| 285 |
|
| 286 |
func (c *environmentsClient) UpdateUserWorkloadsSecret(ctx context.Context, in *UpdateUserWorkloadsSecretRequest, opts ...grpc.CallOption) (*UserWorkloadsSecret, error) { |
| 287 |
out := new(UserWorkloadsSecret) |
| 288 |
err := c.cc.Invoke(ctx, Environments_UpdateUserWorkloadsSecret_FullMethodName, in, out, opts...) |
| 289 |
if err != nil { |
| 290 |
return nil, err |
| 291 |
} |
| 292 |
return out, nil |
| 293 |
} |
| 294 |
|
| 295 |
func (c *environmentsClient) DeleteUserWorkloadsSecret(ctx context.Context, in *DeleteUserWorkloadsSecretRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 296 |
out := new(emptypb.Empty) |
| 297 |
err := c.cc.Invoke(ctx, Environments_DeleteUserWorkloadsSecret_FullMethodName, in, out, opts...) |
| 298 |
if err != nil { |
| 299 |
return nil, err |
| 300 |
} |
| 301 |
return out, nil |
| 302 |
} |
| 303 |
|
| 304 |
func (c *environmentsClient) CreateUserWorkloadsConfigMap(ctx context.Context, in *CreateUserWorkloadsConfigMapRequest, opts ...grpc.CallOption) (*UserWorkloadsConfigMap, error) { |
| 305 |
out := new(UserWorkloadsConfigMap) |
| 306 |
err := c.cc.Invoke(ctx, Environments_CreateUserWorkloadsConfigMap_FullMethodName, in, out, opts...) |
| 307 |
if err != nil { |
| 308 |
return nil, err |
| 309 |
} |
| 310 |
return out, nil |
| 311 |
} |
| 312 |
|
| 313 |
func (c *environmentsClient) GetUserWorkloadsConfigMap(ctx context.Context, in *GetUserWorkloadsConfigMapRequest, opts ...grpc.CallOption) (*UserWorkloadsConfigMap, error) { |
| 314 |
out := new(UserWorkloadsConfigMap) |
| 315 |
err := c.cc.Invoke(ctx, Environments_GetUserWorkloadsConfigMap_FullMethodName, in, out, opts...) |
| 316 |
if err != nil { |
| 317 |
return nil, err |
| 318 |
} |
| 319 |
return out, nil |
| 320 |
} |
| 321 |
|
| 322 |
func (c *environmentsClient) ListUserWorkloadsConfigMaps(ctx context.Context, in *ListUserWorkloadsConfigMapsRequest, opts ...grpc.CallOption) (*ListUserWorkloadsConfigMapsResponse, error) { |
| 323 |
out := new(ListUserWorkloadsConfigMapsResponse) |
| 324 |
err := c.cc.Invoke(ctx, Environments_ListUserWorkloadsConfigMaps_FullMethodName, in, out, opts...) |
| 325 |
if err != nil { |
| 326 |
return nil, err |
| 327 |
} |
| 328 |
return out, nil |
| 329 |
} |
| 330 |
|
| 331 |
func (c *environmentsClient) UpdateUserWorkloadsConfigMap(ctx context.Context, in *UpdateUserWorkloadsConfigMapRequest, opts ...grpc.CallOption) (*UserWorkloadsConfigMap, error) { |
| 332 |
out := new(UserWorkloadsConfigMap) |
| 333 |
err := c.cc.Invoke(ctx, Environments_UpdateUserWorkloadsConfigMap_FullMethodName, in, out, opts...) |
| 334 |
if err != nil { |
| 335 |
return nil, err |
| 336 |
} |
| 337 |
return out, nil |
| 338 |
} |
| 339 |
|
| 340 |
func (c *environmentsClient) DeleteUserWorkloadsConfigMap(ctx context.Context, in *DeleteUserWorkloadsConfigMapRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 341 |
out := new(emptypb.Empty) |
| 342 |
err := c.cc.Invoke(ctx, Environments_DeleteUserWorkloadsConfigMap_FullMethodName, in, out, opts...) |
| 343 |
if err != nil { |
| 344 |
return nil, err |
| 345 |
} |
| 346 |
return out, nil |
| 347 |
} |
| 348 |
|
| 349 |
func (c *environmentsClient) SaveSnapshot(ctx context.Context, in *SaveSnapshotRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 350 |
out := new(longrunningpb.Operation) |
| 351 |
err := c.cc.Invoke(ctx, Environments_SaveSnapshot_FullMethodName, in, out, opts...) |
| 352 |
if err != nil { |
| 353 |
return nil, err |
| 354 |
} |
| 355 |
return out, nil |
| 356 |
} |
| 357 |
|
| 358 |
func (c *environmentsClient) LoadSnapshot(ctx context.Context, in *LoadSnapshotRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 359 |
out := new(longrunningpb.Operation) |
| 360 |
err := c.cc.Invoke(ctx, Environments_LoadSnapshot_FullMethodName, in, out, opts...) |
| 361 |
if err != nil { |
| 362 |
return nil, err |
| 363 |
} |
| 364 |
return out, nil |
| 365 |
} |
| 366 |
|
| 367 |
func (c *environmentsClient) DatabaseFailover(ctx context.Context, in *DatabaseFailoverRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 368 |
out := new(longrunningpb.Operation) |
| 369 |
err := c.cc.Invoke(ctx, Environments_DatabaseFailover_FullMethodName, in, out, opts...) |
| 370 |
if err != nil { |
| 371 |
return nil, err |
| 372 |
} |
| 373 |
return out, nil |
| 374 |
} |
| 375 |
|
| 376 |
func (c *environmentsClient) FetchDatabaseProperties(ctx context.Context, in *FetchDatabasePropertiesRequest, opts ...grpc.CallOption) (*FetchDatabasePropertiesResponse, error) { |
| 377 |
out := new(FetchDatabasePropertiesResponse) |
| 378 |
err := c.cc.Invoke(ctx, Environments_FetchDatabaseProperties_FullMethodName, in, out, opts...) |
| 379 |
if err != nil { |
| 380 |
return nil, err |
| 381 |
} |
| 382 |
return out, nil |
| 383 |
} |
| 384 |
|
| 385 |
// EnvironmentsServer is the server API for Environments service. |
| 386 |
// All implementations should embed UnimplementedEnvironmentsServer |
| 387 |
// for forward compatibility |
| 388 |
type EnvironmentsServer interface { |
| 389 |
// Create a new environment. |
| 390 |
CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*longrunningpb.Operation, error) |
| 391 |
// Get an existing environment. |
| 392 |
GetEnvironment(context.Context, *GetEnvironmentRequest) (*Environment, error) |
| 393 |
// List environments. |
| 394 |
ListEnvironments(context.Context, *ListEnvironmentsRequest) (*ListEnvironmentsResponse, error) |
| 395 |
// Update an environment. |
| 396 |
UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*longrunningpb.Operation, error) |
| 397 |
// Delete an environment. |
| 398 |
DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*longrunningpb.Operation, error) |
| 399 |
// Executes Airflow CLI command. |
| 400 |
ExecuteAirflowCommand(context.Context, *ExecuteAirflowCommandRequest) (*ExecuteAirflowCommandResponse, error) |
| 401 |
// Stops Airflow CLI command execution. |
| 402 |
StopAirflowCommand(context.Context, *StopAirflowCommandRequest) (*StopAirflowCommandResponse, error) |
| 403 |
// Polls Airflow CLI command execution and fetches logs. |
| 404 |
PollAirflowCommand(context.Context, *PollAirflowCommandRequest) (*PollAirflowCommandResponse, error) |
| 405 |
// Lists workloads in a Cloud Composer environment. Workload is a unit that |
| 406 |
// runs a single Composer component. |
| 407 |
// |
| 408 |
// This method is supported for Cloud Composer environments in versions |
| 409 |
// composer-2.*.*-airflow-*.*.* and newer. |
| 410 |
ListWorkloads(context.Context, *ListWorkloadsRequest) (*ListWorkloadsResponse, error) |
| 411 |
// Check if an upgrade operation on the environment will succeed. |
| 412 |
// |
| 413 |
// In case of problems detailed info can be found in the returned Operation. |
| 414 |
CheckUpgrade(context.Context, *CheckUpgradeRequest) (*longrunningpb.Operation, error) |
| 415 |
// Creates a user workloads Secret. |
| 416 |
// |
| 417 |
// This method is supported for Cloud Composer environments in versions |
| 418 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 419 |
CreateUserWorkloadsSecret(context.Context, *CreateUserWorkloadsSecretRequest) (*UserWorkloadsSecret, error) |
| 420 |
// Gets an existing user workloads Secret. |
| 421 |
// Values of the "data" field in the response are cleared. |
| 422 |
// |
| 423 |
// This method is supported for Cloud Composer environments in versions |
| 424 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 425 |
GetUserWorkloadsSecret(context.Context, *GetUserWorkloadsSecretRequest) (*UserWorkloadsSecret, error) |
| 426 |
// Lists user workloads Secrets. |
| 427 |
// |
| 428 |
// This method is supported for Cloud Composer environments in versions |
| 429 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 430 |
ListUserWorkloadsSecrets(context.Context, *ListUserWorkloadsSecretsRequest) (*ListUserWorkloadsSecretsResponse, error) |
| 431 |
// Updates a user workloads Secret. |
| 432 |
// |
| 433 |
// This method is supported for Cloud Composer environments in versions |
| 434 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 435 |
UpdateUserWorkloadsSecret(context.Context, *UpdateUserWorkloadsSecretRequest) (*UserWorkloadsSecret, error) |
| 436 |
// Deletes a user workloads Secret. |
| 437 |
// |
| 438 |
// This method is supported for Cloud Composer environments in versions |
| 439 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 440 |
DeleteUserWorkloadsSecret(context.Context, *DeleteUserWorkloadsSecretRequest) (*emptypb.Empty, error) |
| 441 |
// Creates a user workloads ConfigMap. |
| 442 |
// |
| 443 |
// This method is supported for Cloud Composer environments in versions |
| 444 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 445 |
CreateUserWorkloadsConfigMap(context.Context, *CreateUserWorkloadsConfigMapRequest) (*UserWorkloadsConfigMap, error) |
| 446 |
// Gets an existing user workloads ConfigMap. |
| 447 |
// |
| 448 |
// This method is supported for Cloud Composer environments in versions |
| 449 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 450 |
GetUserWorkloadsConfigMap(context.Context, *GetUserWorkloadsConfigMapRequest) (*UserWorkloadsConfigMap, error) |
| 451 |
// Lists user workloads ConfigMaps. |
| 452 |
// |
| 453 |
// This method is supported for Cloud Composer environments in versions |
| 454 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 455 |
ListUserWorkloadsConfigMaps(context.Context, *ListUserWorkloadsConfigMapsRequest) (*ListUserWorkloadsConfigMapsResponse, error) |
| 456 |
// Updates a user workloads ConfigMap. |
| 457 |
// |
| 458 |
// This method is supported for Cloud Composer environments in versions |
| 459 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 460 |
UpdateUserWorkloadsConfigMap(context.Context, *UpdateUserWorkloadsConfigMapRequest) (*UserWorkloadsConfigMap, error) |
| 461 |
// Deletes a user workloads ConfigMap. |
| 462 |
// |
| 463 |
// This method is supported for Cloud Composer environments in versions |
| 464 |
// composer-3-airflow-*.*.*-build.* and newer. |
| 465 |
DeleteUserWorkloadsConfigMap(context.Context, *DeleteUserWorkloadsConfigMapRequest) (*emptypb.Empty, error) |
| 466 |
// Creates a snapshots of a Cloud Composer environment. |
| 467 |
// |
| 468 |
// As a result of this operation, snapshot of environment's state is stored |
| 469 |
// in a location specified in the SaveSnapshotRequest. |
| 470 |
SaveSnapshot(context.Context, *SaveSnapshotRequest) (*longrunningpb.Operation, error) |
| 471 |
// Loads a snapshot of a Cloud Composer environment. |
| 472 |
// |
| 473 |
// As a result of this operation, a snapshot of environment's specified in |
| 474 |
// LoadSnapshotRequest is loaded into the environment. |
| 475 |
LoadSnapshot(context.Context, *LoadSnapshotRequest) (*longrunningpb.Operation, error) |
| 476 |
// Triggers database failover (only for highly resilient environments). |
| 477 |
DatabaseFailover(context.Context, *DatabaseFailoverRequest) (*longrunningpb.Operation, error) |
| 478 |
// Fetches database properties. |
| 479 |
FetchDatabaseProperties(context.Context, *FetchDatabasePropertiesRequest) (*FetchDatabasePropertiesResponse, error) |
| 480 |
} |
| 481 |
|
| 482 |
// UnimplementedEnvironmentsServer should be embedded to have forward compatible implementations. |
| 483 |
type UnimplementedEnvironmentsServer struct { |
| 484 |
} |
| 485 |
|
| 486 |
func (UnimplementedEnvironmentsServer) CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*longrunningpb.Operation, error) { |
| 487 |
return nil, status.Errorf(codes.Unimplemented, "method CreateEnvironment not implemented") |
| 488 |
} |
| 489 |
func (UnimplementedEnvironmentsServer) GetEnvironment(context.Context, *GetEnvironmentRequest) (*Environment, error) { |
| 490 |
return nil, status.Errorf(codes.Unimplemented, "method GetEnvironment not implemented") |
| 491 |
} |
| 492 |
func (UnimplementedEnvironmentsServer) ListEnvironments(context.Context, *ListEnvironmentsRequest) (*ListEnvironmentsResponse, error) { |
| 493 |
return nil, status.Errorf(codes.Unimplemented, "method ListEnvironments not implemented") |
| 494 |
} |
| 495 |
func (UnimplementedEnvironmentsServer) UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*longrunningpb.Operation, error) { |
| 496 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateEnvironment not implemented") |
| 497 |
} |
| 498 |
func (UnimplementedEnvironmentsServer) DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*longrunningpb.Operation, error) { |
| 499 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteEnvironment not implemented") |
| 500 |
} |
| 501 |
func (UnimplementedEnvironmentsServer) ExecuteAirflowCommand(context.Context, *ExecuteAirflowCommandRequest) (*ExecuteAirflowCommandResponse, error) { |
| 502 |
return nil, status.Errorf(codes.Unimplemented, "method ExecuteAirflowCommand not implemented") |
| 503 |
} |
| 504 |
func (UnimplementedEnvironmentsServer) StopAirflowCommand(context.Context, *StopAirflowCommandRequest) (*StopAirflowCommandResponse, error) { |
| 505 |
return nil, status.Errorf(codes.Unimplemented, "method StopAirflowCommand not implemented") |
| 506 |
} |
| 507 |
func (UnimplementedEnvironmentsServer) PollAirflowCommand(context.Context, *PollAirflowCommandRequest) (*PollAirflowCommandResponse, error) { |
| 508 |
return nil, status.Errorf(codes.Unimplemented, "method PollAirflowCommand not implemented") |
| 509 |
} |
| 510 |
func (UnimplementedEnvironmentsServer) ListWorkloads(context.Context, *ListWorkloadsRequest) (*ListWorkloadsResponse, error) { |
| 511 |
return nil, status.Errorf(codes.Unimplemented, "method ListWorkloads not implemented") |
| 512 |
} |
| 513 |
func (UnimplementedEnvironmentsServer) CheckUpgrade(context.Context, *CheckUpgradeRequest) (*longrunningpb.Operation, error) { |
| 514 |
return nil, status.Errorf(codes.Unimplemented, "method CheckUpgrade not implemented") |
| 515 |
} |
| 516 |
func (UnimplementedEnvironmentsServer) CreateUserWorkloadsSecret(context.Context, *CreateUserWorkloadsSecretRequest) (*UserWorkloadsSecret, error) { |
| 517 |
return nil, status.Errorf(codes.Unimplemented, "method CreateUserWorkloadsSecret not implemented") |
| 518 |
} |
| 519 |
func (UnimplementedEnvironmentsServer) GetUserWorkloadsSecret(context.Context, *GetUserWorkloadsSecretRequest) (*UserWorkloadsSecret, error) { |
| 520 |
return nil, status.Errorf(codes.Unimplemented, "method GetUserWorkloadsSecret not implemented") |
| 521 |
} |
| 522 |
func (UnimplementedEnvironmentsServer) ListUserWorkloadsSecrets(context.Context, *ListUserWorkloadsSecretsRequest) (*ListUserWorkloadsSecretsResponse, error) { |
| 523 |
return nil, status.Errorf(codes.Unimplemented, "method ListUserWorkloadsSecrets not implemented") |
| 524 |
} |
| 525 |
func (UnimplementedEnvironmentsServer) UpdateUserWorkloadsSecret(context.Context, *UpdateUserWorkloadsSecretRequest) (*UserWorkloadsSecret, error) { |
| 526 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateUserWorkloadsSecret not implemented") |
| 527 |
} |
| 528 |
func (UnimplementedEnvironmentsServer) DeleteUserWorkloadsSecret(context.Context, *DeleteUserWorkloadsSecretRequest) (*emptypb.Empty, error) { |
| 529 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteUserWorkloadsSecret not implemented") |
| 530 |
} |
| 531 |
func (UnimplementedEnvironmentsServer) CreateUserWorkloadsConfigMap(context.Context, *CreateUserWorkloadsConfigMapRequest) (*UserWorkloadsConfigMap, error) { |
| 532 |
return nil, status.Errorf(codes.Unimplemented, "method CreateUserWorkloadsConfigMap not implemented") |
| 533 |
} |
| 534 |
func (UnimplementedEnvironmentsServer) GetUserWorkloadsConfigMap(context.Context, *GetUserWorkloadsConfigMapRequest) (*UserWorkloadsConfigMap, error) { |
| 535 |
return nil, status.Errorf(codes.Unimplemented, "method GetUserWorkloadsConfigMap not implemented") |
| 536 |
} |
| 537 |
func (UnimplementedEnvironmentsServer) ListUserWorkloadsConfigMaps(context.Context, *ListUserWorkloadsConfigMapsRequest) (*ListUserWorkloadsConfigMapsResponse, error) { |
| 538 |
return nil, status.Errorf(codes.Unimplemented, "method ListUserWorkloadsConfigMaps not implemented") |
| 539 |
} |
| 540 |
func (UnimplementedEnvironmentsServer) UpdateUserWorkloadsConfigMap(context.Context, *UpdateUserWorkloadsConfigMapRequest) (*UserWorkloadsConfigMap, error) { |
| 541 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateUserWorkloadsConfigMap not implemented") |
| 542 |
} |
| 543 |
func (UnimplementedEnvironmentsServer) DeleteUserWorkloadsConfigMap(context.Context, *DeleteUserWorkloadsConfigMapRequest) (*emptypb.Empty, error) { |
| 544 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteUserWorkloadsConfigMap not implemented") |
| 545 |
} |
| 546 |
func (UnimplementedEnvironmentsServer) SaveSnapshot(context.Context, *SaveSnapshotRequest) (*longrunningpb.Operation, error) { |
| 547 |
return nil, status.Errorf(codes.Unimplemented, "method SaveSnapshot not implemented") |
| 548 |
} |
| 549 |
func (UnimplementedEnvironmentsServer) LoadSnapshot(context.Context, *LoadSnapshotRequest) (*longrunningpb.Operation, error) { |
| 550 |
return nil, status.Errorf(codes.Unimplemented, "method LoadSnapshot not implemented") |
| 551 |
} |
| 552 |
func (UnimplementedEnvironmentsServer) DatabaseFailover(context.Context, *DatabaseFailoverRequest) (*longrunningpb.Operation, error) { |
| 553 |
return nil, status.Errorf(codes.Unimplemented, "method DatabaseFailover not implemented") |
| 554 |
} |
| 555 |
func (UnimplementedEnvironmentsServer) FetchDatabaseProperties(context.Context, *FetchDatabasePropertiesRequest) (*FetchDatabasePropertiesResponse, error) { |
| 556 |
return nil, status.Errorf(codes.Unimplemented, "method FetchDatabaseProperties not implemented") |
| 557 |
} |
| 558 |
|
| 559 |
// UnsafeEnvironmentsServer may be embedded to opt out of forward compatibility for this service. |
| 560 |
// Use of this interface is not recommended, as added methods to EnvironmentsServer will |
| 561 |
// result in compilation errors. |
| 562 |
type UnsafeEnvironmentsServer interface { |
| 563 |
mustEmbedUnimplementedEnvironmentsServer() |
| 564 |
} |
| 565 |
|
| 566 |
func RegisterEnvironmentsServer(s grpc.ServiceRegistrar, srv EnvironmentsServer) { |
| 567 |
s.RegisterService(&Environments_ServiceDesc, srv) |
| 568 |
} |
| 569 |
|
| 570 |
func _Environments_CreateEnvironment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 571 |
in := new(CreateEnvironmentRequest) |
| 572 |
if err := dec(in); err != nil { |
| 573 |
return nil, err |
| 574 |
} |
| 575 |
if interceptor == nil { |
| 576 |
return srv.(EnvironmentsServer).CreateEnvironment(ctx, in) |
| 577 |
} |
| 578 |
info := &grpc.UnaryServerInfo{ |
| 579 |
Server: srv, |
| 580 |
FullMethod: Environments_CreateEnvironment_FullMethodName, |
| 581 |
} |
| 582 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 583 |
return srv.(EnvironmentsServer).CreateEnvironment(ctx, req.(*CreateEnvironmentRequest)) |
| 584 |
} |
| 585 |
return interceptor(ctx, in, info, handler) |
| 586 |
} |
| 587 |
|
| 588 |
func _Environments_GetEnvironment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 589 |
in := new(GetEnvironmentRequest) |
| 590 |
if err := dec(in); err != nil { |
| 591 |
return nil, err |
| 592 |
} |
| 593 |
if interceptor == nil { |
| 594 |
return srv.(EnvironmentsServer).GetEnvironment(ctx, in) |
| 595 |
} |
| 596 |
info := &grpc.UnaryServerInfo{ |
| 597 |
Server: srv, |
| 598 |
FullMethod: Environments_GetEnvironment_FullMethodName, |
| 599 |
} |
| 600 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 601 |
return srv.(EnvironmentsServer).GetEnvironment(ctx, req.(*GetEnvironmentRequest)) |
| 602 |
} |
| 603 |
return interceptor(ctx, in, info, handler) |
| 604 |
} |
| 605 |
|
| 606 |
func _Environments_ListEnvironments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 607 |
in := new(ListEnvironmentsRequest) |
| 608 |
if err := dec(in); err != nil { |
| 609 |
return nil, err |
| 610 |
} |
| 611 |
if interceptor == nil { |
| 612 |
return srv.(EnvironmentsServer).ListEnvironments(ctx, in) |
| 613 |
} |
| 614 |
info := &grpc.UnaryServerInfo{ |
| 615 |
Server: srv, |
| 616 |
FullMethod: Environments_ListEnvironments_FullMethodName, |
| 617 |
} |
| 618 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 619 |
return srv.(EnvironmentsServer).ListEnvironments(ctx, req.(*ListEnvironmentsRequest)) |
| 620 |
} |
| 621 |
return interceptor(ctx, in, info, handler) |
| 622 |
} |
| 623 |
|
| 624 |
func _Environments_UpdateEnvironment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 625 |
in := new(UpdateEnvironmentRequest) |
| 626 |
if err := dec(in); err != nil { |
| 627 |
return nil, err |
| 628 |
} |
| 629 |
if interceptor == nil { |
| 630 |
return srv.(EnvironmentsServer).UpdateEnvironment(ctx, in) |
| 631 |
} |
| 632 |
info := &grpc.UnaryServerInfo{ |
| 633 |
Server: srv, |
| 634 |
FullMethod: Environments_UpdateEnvironment_FullMethodName, |
| 635 |
} |
| 636 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 637 |
return srv.(EnvironmentsServer).UpdateEnvironment(ctx, req.(*UpdateEnvironmentRequest)) |
| 638 |
} |
| 639 |
return interceptor(ctx, in, info, handler) |
| 640 |
} |
| 641 |
|
| 642 |
func _Environments_DeleteEnvironment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 643 |
in := new(DeleteEnvironmentRequest) |
| 644 |
if err := dec(in); err != nil { |
| 645 |
return nil, err |
| 646 |
} |
| 647 |
if interceptor == nil { |
| 648 |
return srv.(EnvironmentsServer).DeleteEnvironment(ctx, in) |
| 649 |
} |
| 650 |
info := &grpc.UnaryServerInfo{ |
| 651 |
Server: srv, |
| 652 |
FullMethod: Environments_DeleteEnvironment_FullMethodName, |
| 653 |
} |
| 654 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 655 |
return srv.(EnvironmentsServer).DeleteEnvironment(ctx, req.(*DeleteEnvironmentRequest)) |
| 656 |
} |
| 657 |
return interceptor(ctx, in, info, handler) |
| 658 |
} |
| 659 |
|
| 660 |
func _Environments_ExecuteAirflowCommand_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 661 |
in := new(ExecuteAirflowCommandRequest) |
| 662 |
if err := dec(in); err != nil { |
| 663 |
return nil, err |
| 664 |
} |
| 665 |
if interceptor == nil { |
| 666 |
return srv.(EnvironmentsServer).ExecuteAirflowCommand(ctx, in) |
| 667 |
} |
| 668 |
info := &grpc.UnaryServerInfo{ |
| 669 |
Server: srv, |
| 670 |
FullMethod: Environments_ExecuteAirflowCommand_FullMethodName, |
| 671 |
} |
| 672 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 673 |
return srv.(EnvironmentsServer).ExecuteAirflowCommand(ctx, req.(*ExecuteAirflowCommandRequest)) |
| 674 |
} |
| 675 |
return interceptor(ctx, in, info, handler) |
| 676 |
} |
| 677 |
|
| 678 |
func _Environments_StopAirflowCommand_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 679 |
in := new(StopAirflowCommandRequest) |
| 680 |
if err := dec(in); err != nil { |
| 681 |
return nil, err |
| 682 |
} |
| 683 |
if interceptor == nil { |
| 684 |
return srv.(EnvironmentsServer).StopAirflowCommand(ctx, in) |
| 685 |
} |
| 686 |
info := &grpc.UnaryServerInfo{ |
| 687 |
Server: srv, |
| 688 |
FullMethod: Environments_StopAirflowCommand_FullMethodName, |
| 689 |
} |
| 690 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 691 |
return srv.(EnvironmentsServer).StopAirflowCommand(ctx, req.(*StopAirflowCommandRequest)) |
| 692 |
} |
| 693 |
return interceptor(ctx, in, info, handler) |
| 694 |
} |
| 695 |
|
| 696 |
func _Environments_PollAirflowCommand_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 697 |
in := new(PollAirflowCommandRequest) |
| 698 |
if err := dec(in); err != nil { |
| 699 |
return nil, err |
| 700 |
} |
| 701 |
if interceptor == nil { |
| 702 |
return srv.(EnvironmentsServer).PollAirflowCommand(ctx, in) |
| 703 |
} |
| 704 |
info := &grpc.UnaryServerInfo{ |
| 705 |
Server: srv, |
| 706 |
FullMethod: Environments_PollAirflowCommand_FullMethodName, |
| 707 |
} |
| 708 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 709 |
return srv.(EnvironmentsServer).PollAirflowCommand(ctx, req.(*PollAirflowCommandRequest)) |
| 710 |
} |
| 711 |
return interceptor(ctx, in, info, handler) |
| 712 |
} |
| 713 |
|
| 714 |
func _Environments_ListWorkloads_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 715 |
in := new(ListWorkloadsRequest) |
| 716 |
if err := dec(in); err != nil { |
| 717 |
return nil, err |
| 718 |
} |
| 719 |
if interceptor == nil { |
| 720 |
return srv.(EnvironmentsServer).ListWorkloads(ctx, in) |
| 721 |
} |
| 722 |
info := &grpc.UnaryServerInfo{ |
| 723 |
Server: srv, |
| 724 |
FullMethod: Environments_ListWorkloads_FullMethodName, |
| 725 |
} |
| 726 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 727 |
return srv.(EnvironmentsServer).ListWorkloads(ctx, req.(*ListWorkloadsRequest)) |
| 728 |
} |
| 729 |
return interceptor(ctx, in, info, handler) |
| 730 |
} |
| 731 |
|
| 732 |
func _Environments_CheckUpgrade_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 733 |
in := new(CheckUpgradeRequest) |
| 734 |
if err := dec(in); err != nil { |
| 735 |
return nil, err |
| 736 |
} |
| 737 |
if interceptor == nil { |
| 738 |
return srv.(EnvironmentsServer).CheckUpgrade(ctx, in) |
| 739 |
} |
| 740 |
info := &grpc.UnaryServerInfo{ |
| 741 |
Server: srv, |
| 742 |
FullMethod: Environments_CheckUpgrade_FullMethodName, |
| 743 |
} |
| 744 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 745 |
return srv.(EnvironmentsServer).CheckUpgrade(ctx, req.(*CheckUpgradeRequest)) |
| 746 |
} |
| 747 |
return interceptor(ctx, in, info, handler) |
| 748 |
} |
| 749 |
|
| 750 |
func _Environments_CreateUserWorkloadsSecret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 751 |
in := new(CreateUserWorkloadsSecretRequest) |
| 752 |
if err := dec(in); err != nil { |
| 753 |
return nil, err |
| 754 |
} |
| 755 |
if interceptor == nil { |
| 756 |
return srv.(EnvironmentsServer).CreateUserWorkloadsSecret(ctx, in) |
| 757 |
} |
| 758 |
info := &grpc.UnaryServerInfo{ |
| 759 |
Server: srv, |
| 760 |
FullMethod: Environments_CreateUserWorkloadsSecret_FullMethodName, |
| 761 |
} |
| 762 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 763 |
return srv.(EnvironmentsServer).CreateUserWorkloadsSecret(ctx, req.(*CreateUserWorkloadsSecretRequest)) |
| 764 |
} |
| 765 |
return interceptor(ctx, in, info, handler) |
| 766 |
} |
| 767 |
|
| 768 |
func _Environments_GetUserWorkloadsSecret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 769 |
in := new(GetUserWorkloadsSecretRequest) |
| 770 |
if err := dec(in); err != nil { |
| 771 |
return nil, err |
| 772 |
} |
| 773 |
if interceptor == nil { |
| 774 |
return srv.(EnvironmentsServer).GetUserWorkloadsSecret(ctx, in) |
| 775 |
} |
| 776 |
info := &grpc.UnaryServerInfo{ |
| 777 |
Server: srv, |
| 778 |
FullMethod: Environments_GetUserWorkloadsSecret_FullMethodName, |
| 779 |
} |
| 780 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 781 |
return srv.(EnvironmentsServer).GetUserWorkloadsSecret(ctx, req.(*GetUserWorkloadsSecretRequest)) |
| 782 |
} |
| 783 |
return interceptor(ctx, in, info, handler) |
| 784 |
} |
| 785 |
|
| 786 |
func _Environments_ListUserWorkloadsSecrets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 787 |
in := new(ListUserWorkloadsSecretsRequest) |
| 788 |
if err := dec(in); err != nil { |
| 789 |
return nil, err |
| 790 |
} |
| 791 |
if interceptor == nil { |
| 792 |
return srv.(EnvironmentsServer).ListUserWorkloadsSecrets(ctx, in) |
| 793 |
} |
| 794 |
info := &grpc.UnaryServerInfo{ |
| 795 |
Server: srv, |
| 796 |
FullMethod: Environments_ListUserWorkloadsSecrets_FullMethodName, |
| 797 |
} |
| 798 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 799 |
return srv.(EnvironmentsServer).ListUserWorkloadsSecrets(ctx, req.(*ListUserWorkloadsSecretsRequest)) |
| 800 |
} |
| 801 |
return interceptor(ctx, in, info, handler) |
| 802 |
} |
| 803 |
|
| 804 |
func _Environments_UpdateUserWorkloadsSecret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 805 |
in := new(UpdateUserWorkloadsSecretRequest) |
| 806 |
if err := dec(in); err != nil { |
| 807 |
return nil, err |
| 808 |
} |
| 809 |
if interceptor == nil { |
| 810 |
return srv.(EnvironmentsServer).UpdateUserWorkloadsSecret(ctx, in) |
| 811 |
} |
| 812 |
info := &grpc.UnaryServerInfo{ |
| 813 |
Server: srv, |
| 814 |
FullMethod: Environments_UpdateUserWorkloadsSecret_FullMethodName, |
| 815 |
} |
| 816 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 817 |
return srv.(EnvironmentsServer).UpdateUserWorkloadsSecret(ctx, req.(*UpdateUserWorkloadsSecretRequest)) |
| 818 |
} |
| 819 |
return interceptor(ctx, in, info, handler) |
| 820 |
} |
| 821 |
|
| 822 |
func _Environments_DeleteUserWorkloadsSecret_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 823 |
in := new(DeleteUserWorkloadsSecretRequest) |
| 824 |
if err := dec(in); err != nil { |
| 825 |
return nil, err |
| 826 |
} |
| 827 |
if interceptor == nil { |
| 828 |
return srv.(EnvironmentsServer).DeleteUserWorkloadsSecret(ctx, in) |
| 829 |
} |
| 830 |
info := &grpc.UnaryServerInfo{ |
| 831 |
Server: srv, |
| 832 |
FullMethod: Environments_DeleteUserWorkloadsSecret_FullMethodName, |
| 833 |
} |
| 834 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 835 |
return srv.(EnvironmentsServer).DeleteUserWorkloadsSecret(ctx, req.(*DeleteUserWorkloadsSecretRequest)) |
| 836 |
} |
| 837 |
return interceptor(ctx, in, info, handler) |
| 838 |
} |
| 839 |
|
| 840 |
func _Environments_CreateUserWorkloadsConfigMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 841 |
in := new(CreateUserWorkloadsConfigMapRequest) |
| 842 |
if err := dec(in); err != nil { |
| 843 |
return nil, err |
| 844 |
} |
| 845 |
if interceptor == nil { |
| 846 |
return srv.(EnvironmentsServer).CreateUserWorkloadsConfigMap(ctx, in) |
| 847 |
} |
| 848 |
info := &grpc.UnaryServerInfo{ |
| 849 |
Server: srv, |
| 850 |
FullMethod: Environments_CreateUserWorkloadsConfigMap_FullMethodName, |
| 851 |
} |
| 852 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 853 |
return srv.(EnvironmentsServer).CreateUserWorkloadsConfigMap(ctx, req.(*CreateUserWorkloadsConfigMapRequest)) |
| 854 |
} |
| 855 |
return interceptor(ctx, in, info, handler) |
| 856 |
} |
| 857 |
|
| 858 |
func _Environments_GetUserWorkloadsConfigMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 859 |
in := new(GetUserWorkloadsConfigMapRequest) |
| 860 |
if err := dec(in); err != nil { |
| 861 |
return nil, err |
| 862 |
} |
| 863 |
if interceptor == nil { |
| 864 |
return srv.(EnvironmentsServer).GetUserWorkloadsConfigMap(ctx, in) |
| 865 |
} |
| 866 |
info := &grpc.UnaryServerInfo{ |
| 867 |
Server: srv, |
| 868 |
FullMethod: Environments_GetUserWorkloadsConfigMap_FullMethodName, |
| 869 |
} |
| 870 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 871 |
return srv.(EnvironmentsServer).GetUserWorkloadsConfigMap(ctx, req.(*GetUserWorkloadsConfigMapRequest)) |
| 872 |
} |
| 873 |
return interceptor(ctx, in, info, handler) |
| 874 |
} |
| 875 |
|
| 876 |
func _Environments_ListUserWorkloadsConfigMaps_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 877 |
in := new(ListUserWorkloadsConfigMapsRequest) |
| 878 |
if err := dec(in); err != nil { |
| 879 |
return nil, err |
| 880 |
} |
| 881 |
if interceptor == nil { |
| 882 |
return srv.(EnvironmentsServer).ListUserWorkloadsConfigMaps(ctx, in) |
| 883 |
} |
| 884 |
info := &grpc.UnaryServerInfo{ |
| 885 |
Server: srv, |
| 886 |
FullMethod: Environments_ListUserWorkloadsConfigMaps_FullMethodName, |
| 887 |
} |
| 888 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 889 |
return srv.(EnvironmentsServer).ListUserWorkloadsConfigMaps(ctx, req.(*ListUserWorkloadsConfigMapsRequest)) |
| 890 |
} |
| 891 |
return interceptor(ctx, in, info, handler) |
| 892 |
} |
| 893 |
|
| 894 |
func _Environments_UpdateUserWorkloadsConfigMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 895 |
in := new(UpdateUserWorkloadsConfigMapRequest) |
| 896 |
if err := dec(in); err != nil { |
| 897 |
return nil, err |
| 898 |
} |
| 899 |
if interceptor == nil { |
| 900 |
return srv.(EnvironmentsServer).UpdateUserWorkloadsConfigMap(ctx, in) |
| 901 |
} |
| 902 |
info := &grpc.UnaryServerInfo{ |
| 903 |
Server: srv, |
| 904 |
FullMethod: Environments_UpdateUserWorkloadsConfigMap_FullMethodName, |
| 905 |
} |
| 906 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 907 |
return srv.(EnvironmentsServer).UpdateUserWorkloadsConfigMap(ctx, req.(*UpdateUserWorkloadsConfigMapRequest)) |
| 908 |
} |
| 909 |
return interceptor(ctx, in, info, handler) |
| 910 |
} |
| 911 |
|
| 912 |
func _Environments_DeleteUserWorkloadsConfigMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 913 |
in := new(DeleteUserWorkloadsConfigMapRequest) |
| 914 |
if err := dec(in); err != nil { |
| 915 |
return nil, err |
| 916 |
} |
| 917 |
if interceptor == nil { |
| 918 |
return srv.(EnvironmentsServer).DeleteUserWorkloadsConfigMap(ctx, in) |
| 919 |
} |
| 920 |
info := &grpc.UnaryServerInfo{ |
| 921 |
Server: srv, |
| 922 |
FullMethod: Environments_DeleteUserWorkloadsConfigMap_FullMethodName, |
| 923 |
} |
| 924 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 925 |
return srv.(EnvironmentsServer).DeleteUserWorkloadsConfigMap(ctx, req.(*DeleteUserWorkloadsConfigMapRequest)) |
| 926 |
} |
| 927 |
return interceptor(ctx, in, info, handler) |
| 928 |
} |
| 929 |
|
| 930 |
func _Environments_SaveSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 931 |
in := new(SaveSnapshotRequest) |
| 932 |
if err := dec(in); err != nil { |
| 933 |
return nil, err |
| 934 |
} |
| 935 |
if interceptor == nil { |
| 936 |
return srv.(EnvironmentsServer).SaveSnapshot(ctx, in) |
| 937 |
} |
| 938 |
info := &grpc.UnaryServerInfo{ |
| 939 |
Server: srv, |
| 940 |
FullMethod: Environments_SaveSnapshot_FullMethodName, |
| 941 |
} |
| 942 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 943 |
return srv.(EnvironmentsServer).SaveSnapshot(ctx, req.(*SaveSnapshotRequest)) |
| 944 |
} |
| 945 |
return interceptor(ctx, in, info, handler) |
| 946 |
} |
| 947 |
|
| 948 |
func _Environments_LoadSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 949 |
in := new(LoadSnapshotRequest) |
| 950 |
if err := dec(in); err != nil { |
| 951 |
return nil, err |
| 952 |
} |
| 953 |
if interceptor == nil { |
| 954 |
return srv.(EnvironmentsServer).LoadSnapshot(ctx, in) |
| 955 |
} |
| 956 |
info := &grpc.UnaryServerInfo{ |
| 957 |
Server: srv, |
| 958 |
FullMethod: Environments_LoadSnapshot_FullMethodName, |
| 959 |
} |
| 960 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 961 |
return srv.(EnvironmentsServer).LoadSnapshot(ctx, req.(*LoadSnapshotRequest)) |
| 962 |
} |
| 963 |
return interceptor(ctx, in, info, handler) |
| 964 |
} |
| 965 |
|
| 966 |
func _Environments_DatabaseFailover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 967 |
in := new(DatabaseFailoverRequest) |
| 968 |
if err := dec(in); err != nil { |
| 969 |
return nil, err |
| 970 |
} |
| 971 |
if interceptor == nil { |
| 972 |
return srv.(EnvironmentsServer).DatabaseFailover(ctx, in) |
| 973 |
} |
| 974 |
info := &grpc.UnaryServerInfo{ |
| 975 |
Server: srv, |
| 976 |
FullMethod: Environments_DatabaseFailover_FullMethodName, |
| 977 |
} |
| 978 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 979 |
return srv.(EnvironmentsServer).DatabaseFailover(ctx, req.(*DatabaseFailoverRequest)) |
| 980 |
} |
| 981 |
return interceptor(ctx, in, info, handler) |
| 982 |
} |
| 983 |
|
| 984 |
func _Environments_FetchDatabaseProperties_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 985 |
in := new(FetchDatabasePropertiesRequest) |
| 986 |
if err := dec(in); err != nil { |
| 987 |
return nil, err |
| 988 |
} |
| 989 |
if interceptor == nil { |
| 990 |
return srv.(EnvironmentsServer).FetchDatabaseProperties(ctx, in) |
| 991 |
} |
| 992 |
info := &grpc.UnaryServerInfo{ |
| 993 |
Server: srv, |
| 994 |
FullMethod: Environments_FetchDatabaseProperties_FullMethodName, |
| 995 |
} |
| 996 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 997 |
return srv.(EnvironmentsServer).FetchDatabaseProperties(ctx, req.(*FetchDatabasePropertiesRequest)) |
| 998 |
} |
| 999 |
return interceptor(ctx, in, info, handler) |
| 1000 |
} |
| 1001 |
|
| 1002 |
// Environments_ServiceDesc is the grpc.ServiceDesc for Environments service. |
| 1003 |
// It's only intended for direct use with grpc.RegisterService, |
| 1004 |
// and not to be introspected or modified (even as a copy) |
| 1005 |
var Environments_ServiceDesc = grpc.ServiceDesc{ |
| 1006 |
ServiceName: "google.cloud.orchestration.airflow.service.v1.Environments", |
| 1007 |
HandlerType: (*EnvironmentsServer)(nil), |
| 1008 |
Methods: []grpc.MethodDesc{ |
| 1009 |
{ |
| 1010 |
MethodName: "CreateEnvironment", |
| 1011 |
Handler: _Environments_CreateEnvironment_Handler, |
| 1012 |
}, |
| 1013 |
{ |
| 1014 |
MethodName: "GetEnvironment", |
| 1015 |
Handler: _Environments_GetEnvironment_Handler, |
| 1016 |
}, |
| 1017 |
{ |
| 1018 |
MethodName: "ListEnvironments", |
| 1019 |
Handler: _Environments_ListEnvironments_Handler, |
| 1020 |
}, |
| 1021 |
{ |
| 1022 |
MethodName: "UpdateEnvironment", |
| 1023 |
Handler: _Environments_UpdateEnvironment_Handler, |
| 1024 |
}, |
| 1025 |
{ |
| 1026 |
MethodName: "DeleteEnvironment", |
| 1027 |
Handler: _Environments_DeleteEnvironment_Handler, |
| 1028 |
}, |
| 1029 |
{ |
| 1030 |
MethodName: "ExecuteAirflowCommand", |
| 1031 |
Handler: _Environments_ExecuteAirflowCommand_Handler, |
| 1032 |
}, |
| 1033 |
{ |
| 1034 |
MethodName: "StopAirflowCommand", |
| 1035 |
Handler: _Environments_StopAirflowCommand_Handler, |
| 1036 |
}, |
| 1037 |
{ |
| 1038 |
MethodName: "PollAirflowCommand", |
| 1039 |
Handler: _Environments_PollAirflowCommand_Handler, |
| 1040 |
}, |
| 1041 |
{ |
| 1042 |
MethodName: "ListWorkloads", |
| 1043 |
Handler: _Environments_ListWorkloads_Handler, |
| 1044 |
}, |
| 1045 |
{ |
| 1046 |
MethodName: "CheckUpgrade", |
| 1047 |
Handler: _Environments_CheckUpgrade_Handler, |
| 1048 |
}, |
| 1049 |
{ |
| 1050 |
MethodName: "CreateUserWorkloadsSecret", |
| 1051 |
Handler: _Environments_CreateUserWorkloadsSecret_Handler, |
| 1052 |
}, |
| 1053 |
{ |
| 1054 |
MethodName: "GetUserWorkloadsSecret", |
| 1055 |
Handler: _Environments_GetUserWorkloadsSecret_Handler, |
| 1056 |
}, |
| 1057 |
{ |
| 1058 |
MethodName: "ListUserWorkloadsSecrets", |
| 1059 |
Handler: _Environments_ListUserWorkloadsSecrets_Handler, |
| 1060 |
}, |
| 1061 |
{ |
| 1062 |
MethodName: "UpdateUserWorkloadsSecret", |
| 1063 |
Handler: _Environments_UpdateUserWorkloadsSecret_Handler, |
| 1064 |
}, |
| 1065 |
{ |
| 1066 |
MethodName: "DeleteUserWorkloadsSecret", |
| 1067 |
Handler: _Environments_DeleteUserWorkloadsSecret_Handler, |
| 1068 |
}, |
| 1069 |
{ |
| 1070 |
MethodName: "CreateUserWorkloadsConfigMap", |
| 1071 |
Handler: _Environments_CreateUserWorkloadsConfigMap_Handler, |
| 1072 |
}, |
| 1073 |
{ |
| 1074 |
MethodName: "GetUserWorkloadsConfigMap", |
| 1075 |
Handler: _Environments_GetUserWorkloadsConfigMap_Handler, |
| 1076 |
}, |
| 1077 |
{ |
| 1078 |
MethodName: "ListUserWorkloadsConfigMaps", |
| 1079 |
Handler: _Environments_ListUserWorkloadsConfigMaps_Handler, |
| 1080 |
}, |
| 1081 |
{ |
| 1082 |
MethodName: "UpdateUserWorkloadsConfigMap", |
| 1083 |
Handler: _Environments_UpdateUserWorkloadsConfigMap_Handler, |
| 1084 |
}, |
| 1085 |
{ |
| 1086 |
MethodName: "DeleteUserWorkloadsConfigMap", |
| 1087 |
Handler: _Environments_DeleteUserWorkloadsConfigMap_Handler, |
| 1088 |
}, |
| 1089 |
{ |
| 1090 |
MethodName: "SaveSnapshot", |
| 1091 |
Handler: _Environments_SaveSnapshot_Handler, |
| 1092 |
}, |
| 1093 |
{ |
| 1094 |
MethodName: "LoadSnapshot", |
| 1095 |
Handler: _Environments_LoadSnapshot_Handler, |
| 1096 |
}, |
| 1097 |
{ |
| 1098 |
MethodName: "DatabaseFailover", |
| 1099 |
Handler: _Environments_DatabaseFailover_Handler, |
| 1100 |
}, |
| 1101 |
{ |
| 1102 |
MethodName: "FetchDatabaseProperties", |
| 1103 |
Handler: _Environments_FetchDatabaseProperties_Handler, |
| 1104 |
}, |
| 1105 |
}, |
| 1106 |
Streams: []grpc.StreamDesc{}, |
| 1107 |
Metadata: "google/cloud/orchestration/airflow/service/v1/environments.proto", |
| 1108 |
} |