/
gen.go
27 lines (23 loc) · 2.46 KB
/
gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Package model contains the portable Beam model contracts.
package model
// TODO(herohde) 9/1/2017: for now, install protoc as described on grpc.io before running go generate.
// TODO(lostluck) 2019/05/03: Figure out how to avoid manually keeping these in sync with the
// generator. protoc-gen-go can be declared as a versioned module dependency too.
// Until file is automatically generated, keep the listed proto files in alphabetical order.
//go:generate protoc -I../../../../../model/pipeline/src/main/proto ../../../../../model/pipeline/src/main/proto/beam_runner_api.proto ../../../../../model/pipeline/src/main/proto/endpoints.proto ../../../../../model/pipeline/src/main/proto/external_transforms.proto ../../../../../model/pipeline/src/main/proto/metrics.proto ../../../../../model/pipeline/src/main/proto/schema.proto ../../../../../model/pipeline/src/main/proto/standard_window_fns.proto --go_out=M../../../../../../../../,plugins=grpc:../../../../../../../..
//go:generate protoc -I../../../../../model/pipeline/src/main/proto -I../../../../../model/job-management/src/main/proto ../../../../../model/job-management/src/main/proto/beam_artifact_api.proto ../../../../../model/job-management/src/main/proto/beam_expansion_api.proto ../../../../../model/job-management/src/main/proto/beam_job_api.proto --go_out=M../../../../../../../../,plugins=grpc:../../../../../../../..
//go:generate protoc -I../../../../../model/pipeline/src/main/proto -I../../../../../model/fn-execution/src/main/proto ../../../../../model/fn-execution/src/main/proto/beam_fn_api.proto ../../../../../model/fn-execution/src/main/proto/beam_provision_api.proto --go_out=M../../../../../../../../,plugins=grpc:../../../../../../../..