Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 02cb75d

Browse files
yoshi-automationchingor13
authored andcommitted
chore(regen): update license year for generated files (#48)
1 parent 988c5db commit 02cb75d

File tree

85 files changed

+89
-2893
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+89
-2893
lines changed

google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorClient.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -181,7 +181,6 @@ public final OperationsClient getOperationsClient() {
181181
*/
182182
public final BatchAnnotateImagesResponse batchAnnotateImages(
183183
List<AnnotateImageRequest> requests) {
184-
185184
BatchAnnotateImagesRequest request =
186185
BatchAnnotateImagesRequest.newBuilder().addAllRequests(requests).build();
187186
return batchAnnotateImages(request);
@@ -256,7 +255,6 @@ public final BatchAnnotateImagesResponse batchAnnotateImages(BatchAnnotateImages
256255
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
257256
*/
258257
public final BatchAnnotateFilesResponse batchAnnotateFiles(List<AnnotateFileRequest> requests) {
259-
260258
BatchAnnotateFilesRequest request =
261259
BatchAnnotateFilesRequest.newBuilder().addAllRequests(requests).build();
262260
return batchAnnotateFiles(request);
@@ -348,7 +346,6 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
348346
public final OperationFuture<AsyncBatchAnnotateImagesResponse, OperationMetadata>
349347
asyncBatchAnnotateImagesAsync(
350348
List<AnnotateImageRequest> requests, OutputConfig outputConfig) {
351-
352349
AsyncBatchAnnotateImagesRequest request =
353350
AsyncBatchAnnotateImagesRequest.newBuilder()
354351
.addAllRequests(requests)
@@ -482,7 +479,6 @@ public final BatchAnnotateFilesResponse batchAnnotateFiles(BatchAnnotateFilesReq
482479
"The surface for long-running operations is not stable yet and may change in the future.")
483480
public final OperationFuture<AsyncBatchAnnotateFilesResponse, OperationMetadata>
484481
asyncBatchAnnotateFilesAsync(List<AsyncAnnotateFileRequest> requests) {
485-
486482
AsyncBatchAnnotateFilesRequest request =
487483
AsyncBatchAnnotateFilesRequest.newBuilder().addAllRequests(requests).build();
488484
return asyncBatchAnnotateFilesAsync(request);

google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchClient.java

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -414,7 +414,6 @@ public final OperationsClient getOperationsClient() {
414414
*/
415415
public final ProductSet createProductSet(
416416
LocationName parent, ProductSet productSet, String productSetId) {
417-
418417
CreateProductSetRequest request =
419418
CreateProductSetRequest.newBuilder()
420419
.setParent(parent == null ? null : parent.toString())
@@ -455,7 +454,6 @@ public final ProductSet createProductSet(
455454
*/
456455
public final ProductSet createProductSet(
457456
String parent, ProductSet productSet, String productSetId) {
458-
459457
CreateProductSetRequest request =
460458
CreateProductSetRequest.newBuilder()
461459
.setParent(parent)
@@ -699,7 +697,6 @@ public final ListProductSetsPagedResponse listProductSets(ListProductSetsRequest
699697
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
700698
*/
701699
public final ProductSet getProductSet(ProductSetName name) {
702-
703700
GetProductSetRequest request =
704701
GetProductSetRequest.newBuilder().setName(name == null ? null : name.toString()).build();
705702
return getProductSet(request);
@@ -727,7 +724,6 @@ public final ProductSet getProductSet(ProductSetName name) {
727724
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
728725
*/
729726
public final ProductSet getProductSet(String name) {
730-
731727
GetProductSetRequest request = GetProductSetRequest.newBuilder().setName(name).build();
732728
return getProductSet(request);
733729
}
@@ -812,7 +808,6 @@ public final UnaryCallable<GetProductSetRequest, ProductSet> getProductSetCallab
812808
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
813809
*/
814810
public final ProductSet updateProductSet(ProductSet productSet, FieldMask updateMask) {
815-
816811
UpdateProductSetRequest request =
817812
UpdateProductSetRequest.newBuilder()
818813
.setProductSet(productSet)
@@ -899,7 +894,6 @@ public final UnaryCallable<UpdateProductSetRequest, ProductSet> updateProductSet
899894
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
900895
*/
901896
public final void deleteProductSet(ProductSetName name) {
902-
903897
DeleteProductSetRequest request =
904898
DeleteProductSetRequest.newBuilder().setName(name == null ? null : name.toString()).build();
905899
deleteProductSet(request);
@@ -926,7 +920,6 @@ public final void deleteProductSet(ProductSetName name) {
926920
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
927921
*/
928922
public final void deleteProductSet(String name) {
929-
930923
DeleteProductSetRequest request = DeleteProductSetRequest.newBuilder().setName(name).build();
931924
deleteProductSet(request);
932925
}
@@ -1013,7 +1006,6 @@ public final UnaryCallable<DeleteProductSetRequest, Empty> deleteProductSetCalla
10131006
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
10141007
*/
10151008
public final Product createProduct(LocationName parent, Product product, String productId) {
1016-
10171009
CreateProductRequest request =
10181010
CreateProductRequest.newBuilder()
10191011
.setParent(parent == null ? null : parent.toString())
@@ -1054,7 +1046,6 @@ public final Product createProduct(LocationName parent, Product product, String
10541046
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
10551047
*/
10561048
public final Product createProduct(String parent, Product product, String productId) {
1057-
10581049
CreateProductRequest request =
10591050
CreateProductRequest.newBuilder()
10601051
.setParent(parent)
@@ -1299,7 +1290,6 @@ public final UnaryCallable<ListProductsRequest, ListProductsResponse> listProduc
12991290
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
13001291
*/
13011292
public final Product getProduct(ProductName name) {
1302-
13031293
GetProductRequest request =
13041294
GetProductRequest.newBuilder().setName(name == null ? null : name.toString()).build();
13051295
return getProduct(request);
@@ -1327,7 +1317,6 @@ public final Product getProduct(ProductName name) {
13271317
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
13281318
*/
13291319
public final Product getProduct(String name) {
1330-
13311320
GetProductRequest request = GetProductRequest.newBuilder().setName(name).build();
13321321
return getProduct(request);
13331322
}
@@ -1419,7 +1408,6 @@ public final UnaryCallable<GetProductRequest, Product> getProductCallable() {
14191408
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
14201409
*/
14211410
public final Product updateProduct(Product product, FieldMask updateMask) {
1422-
14231411
UpdateProductRequest request =
14241412
UpdateProductRequest.newBuilder().setProduct(product).setUpdateMask(updateMask).build();
14251413
return updateProduct(request);
@@ -1516,7 +1504,6 @@ public final UnaryCallable<UpdateProductRequest, Product> updateProductCallable(
15161504
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
15171505
*/
15181506
public final void deleteProduct(ProductName name) {
1519-
15201507
DeleteProductRequest request =
15211508
DeleteProductRequest.newBuilder().setName(name == null ? null : name.toString()).build();
15221509
deleteProduct(request);
@@ -1544,7 +1531,6 @@ public final void deleteProduct(ProductName name) {
15441531
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
15451532
*/
15461533
public final void deleteProduct(String name) {
1547-
15481534
DeleteProductRequest request = DeleteProductRequest.newBuilder().setName(name).build();
15491535
deleteProduct(request);
15501536
}
@@ -1645,7 +1631,6 @@ public final UnaryCallable<DeleteProductRequest, Empty> deleteProductCallable()
16451631
*/
16461632
public final ReferenceImage createReferenceImage(
16471633
ProductName parent, ReferenceImage referenceImage, String referenceImageId) {
1648-
16491634
CreateReferenceImageRequest request =
16501635
CreateReferenceImageRequest.newBuilder()
16511636
.setParent(parent == null ? null : parent.toString())
@@ -1698,7 +1683,6 @@ public final ReferenceImage createReferenceImage(
16981683
*/
16991684
public final ReferenceImage createReferenceImage(
17001685
String parent, ReferenceImage referenceImage, String referenceImageId) {
1701-
17021686
CreateReferenceImageRequest request =
17031687
CreateReferenceImageRequest.newBuilder()
17041688
.setParent(parent)
@@ -1814,7 +1798,6 @@ public final ReferenceImage createReferenceImage(CreateReferenceImageRequest req
18141798
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
18151799
*/
18161800
public final void deleteReferenceImage(ReferenceImageName name) {
1817-
18181801
DeleteReferenceImageRequest request =
18191802
DeleteReferenceImageRequest.newBuilder()
18201803
.setName(name == null ? null : name.toString())
@@ -1846,7 +1829,6 @@ public final void deleteReferenceImage(ReferenceImageName name) {
18461829
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
18471830
*/
18481831
public final void deleteReferenceImage(String name) {
1849-
18501832
DeleteReferenceImageRequest request =
18511833
DeleteReferenceImageRequest.newBuilder().setName(name).build();
18521834
deleteReferenceImage(request);
@@ -2090,7 +2072,6 @@ public final ListReferenceImagesPagedResponse listReferenceImages(
20902072
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
20912073
*/
20922074
public final ReferenceImage getReferenceImage(ReferenceImageName name) {
2093-
20942075
GetReferenceImageRequest request =
20952076
GetReferenceImageRequest.newBuilder()
20962077
.setName(name == null ? null : name.toString())
@@ -2121,7 +2102,6 @@ public final ReferenceImage getReferenceImage(ReferenceImageName name) {
21212102
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
21222103
*/
21232104
public final ReferenceImage getReferenceImage(String name) {
2124-
21252105
GetReferenceImageRequest request = GetReferenceImageRequest.newBuilder().setName(name).build();
21262106
return getReferenceImage(request);
21272107
}
@@ -2207,7 +2187,6 @@ public final UnaryCallable<GetReferenceImageRequest, ReferenceImage> getReferenc
22072187
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
22082188
*/
22092189
public final void addProductToProductSet(ProductSetName name, ProductName product) {
2210-
22112190
AddProductToProductSetRequest request =
22122191
AddProductToProductSetRequest.newBuilder()
22132192
.setName(name == null ? null : name.toString())
@@ -2244,7 +2223,6 @@ public final void addProductToProductSet(ProductSetName name, ProductName produc
22442223
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
22452224
*/
22462225
public final void addProductToProductSet(String name, String product) {
2247-
22482226
AddProductToProductSetRequest request =
22492227
AddProductToProductSetRequest.newBuilder().setName(name).setProduct(product).build();
22502228
addProductToProductSet(request);
@@ -2335,7 +2313,6 @@ public final void addProductToProductSet(AddProductToProductSetRequest request)
23352313
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
23362314
*/
23372315
public final void removeProductFromProductSet(ProductSetName name, ProductName product) {
2338-
23392316
RemoveProductFromProductSetRequest request =
23402317
RemoveProductFromProductSetRequest.newBuilder()
23412318
.setName(name == null ? null : name.toString())
@@ -2365,7 +2342,6 @@ public final void removeProductFromProductSet(ProductSetName name, ProductName p
23652342
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
23662343
*/
23672344
public final void removeProductFromProductSet(String name, String product) {
2368-
23692345
RemoveProductFromProductSetRequest request =
23702346
RemoveProductFromProductSetRequest.newBuilder().setName(name).setProduct(product).build();
23712347
removeProductFromProductSet(request);
@@ -2614,7 +2590,6 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
26142590
"The surface for long-running operations is not stable yet and may change in the future.")
26152591
public final OperationFuture<ImportProductSetsResponse, BatchOperationMetadata>
26162592
importProductSetsAsync(LocationName parent, ImportProductSetsInputConfig inputConfig) {
2617-
26182593
ImportProductSetsRequest request =
26192594
ImportProductSetsRequest.newBuilder()
26202595
.setParent(parent == null ? null : parent.toString())
@@ -2656,7 +2631,6 @@ public final ListProductsInProductSetPagedResponse listProductsInProductSet(
26562631
"The surface for long-running operations is not stable yet and may change in the future.")
26572632
public final OperationFuture<ImportProductSetsResponse, BatchOperationMetadata>
26582633
importProductSetsAsync(String parent, ImportProductSetsInputConfig inputConfig) {
2659-
26602634
ImportProductSetsRequest request =
26612635
ImportProductSetsRequest.newBuilder().setParent(parent).setInputConfig(inputConfig).build();
26622636
return importProductSetsAsync(request);
@@ -2813,7 +2787,6 @@ public final UnaryCallable<ImportProductSetsRequest, Operation> importProductSet
28132787
"The surface for long-running operations is not stable yet and may change in the future.")
28142788
public final OperationFuture<Empty, BatchOperationMetadata> purgeProductsAsync(
28152789
LocationName parent) {
2816-
28172790
PurgeProductsRequest request =
28182791
PurgeProductsRequest.newBuilder()
28192792
.setParent(parent == null ? null : parent.toString())
@@ -2862,7 +2835,6 @@ public final OperationFuture<Empty, BatchOperationMetadata> purgeProductsAsync(
28622835
@BetaApi(
28632836
"The surface for long-running operations is not stable yet and may change in the future.")
28642837
public final OperationFuture<Empty, BatchOperationMetadata> purgeProductsAsync(String parent) {
2865-
28662838
PurgeProductsRequest request = PurgeProductsRequest.newBuilder().setParent(parent).build();
28672839
return purgeProductsAsync(request);
28682840
}

google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ProductSearchSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-vision/src/main/java/com/google/cloud/vision/v1/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorCallableFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcImageAnnotatorStub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchCallableFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/GrpcProductSearchStub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/ImageAnnotatorStub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Google LLC
2+
* Copyright 2020 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)