|
1 | 1 | /* |
2 | | - Copyright 2017, Google, Inc. |
3 | | -
|
4 | | - Licensed under the Apache License, Version 2.0 (the "License"); |
5 | | - you may not use this file except in compliance with the License. |
6 | | - You may obtain a copy of the License at |
7 | | -
|
8 | | - http://www.apache.org/licenses/LICENSE-2.0 |
9 | | -
|
10 | | - Unless required by applicable law or agreed to in writing, software |
11 | | - distributed under the License is distributed on an "AS IS" BASIS, |
12 | | - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 | | - See the License for the specific language governing permissions and |
14 | | - limitations under the License. |
15 | | -*/ |
| 2 | + * Copyright 2017 Google Inc. |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
16 | 16 |
|
17 | 17 | package com.example.dataflow; |
18 | 18 |
|
@@ -75,31 +75,37 @@ public interface Options extends PipelineOptions { |
75 | 75 | @Description("Singers filename in the format: singer_id\tfirst_name\tlast_name") |
76 | 76 | @Default.String("data/singers.txt") |
77 | 77 | String getSingersFilename(); |
| 78 | + |
78 | 79 | void setSingersFilename(String value); |
79 | 80 |
|
80 | 81 | @Description("Albums filename in the format: singer_id\talbum_id\talbum_title") |
81 | 82 | @Default.String("data/albums.txt") |
82 | 83 | String getAlbumsFilename(); |
| 84 | + |
83 | 85 | void setAlbumsFilename(String value); |
84 | 86 |
|
85 | 87 | @Description("Spanner instance ID to write to") |
86 | 88 | @Validation.Required |
87 | 89 | String getInstanceId(); |
| 90 | + |
88 | 91 | void setInstanceId(String value); |
89 | 92 |
|
90 | 93 | @Description("Spanner database name to write to") |
91 | 94 | @Validation.Required |
92 | 95 | String getDatabaseId(); |
| 96 | + |
93 | 97 | void setDatabaseId(String value); |
94 | 98 |
|
95 | 99 | @Description("Spanner singers table name to write to") |
96 | 100 | @Validation.Required |
97 | 101 | String getSingersTable(); |
| 102 | + |
98 | 103 | void setSingersTable(String value); |
99 | 104 |
|
100 | 105 | @Description("Spanner albums table name to write to") |
101 | 106 | @Validation.Required |
102 | 107 | String getAlbumsTable(); |
| 108 | + |
103 | 109 | void setAlbumsTable(String value); |
104 | 110 | } |
105 | 111 |
|
|
0 commit comments