Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(regen): update license year for generated files #36

Merged
merged 1 commit into from
Jan 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -226,7 +226,6 @@ public final OperationsClient getOperationsClient() {
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Database, CreateDatabaseMetadata> createDatabaseAsync(
InstanceName parent, String createStatement) {

CreateDatabaseRequest request =
CreateDatabaseRequest.newBuilder()
.setParent(parent == null ? null : parent.toString())
Expand Down Expand Up @@ -268,7 +267,6 @@ public final OperationFuture<Database, CreateDatabaseMetadata> createDatabaseAsy
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Database, CreateDatabaseMetadata> createDatabaseAsync(
String parent, String createStatement) {

CreateDatabaseRequest request =
CreateDatabaseRequest.newBuilder()
.setParent(parent)
Expand Down Expand Up @@ -391,7 +389,6 @@ public final UnaryCallable<CreateDatabaseRequest, Operation> createDatabaseCalla
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Database getDatabase(DatabaseName name) {

GetDatabaseRequest request =
GetDatabaseRequest.newBuilder().setName(name == null ? null : name.toString()).build();
return getDatabase(request);
Expand All @@ -415,7 +412,6 @@ public final Database getDatabase(DatabaseName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Database getDatabase(String name) {

GetDatabaseRequest request = GetDatabaseRequest.newBuilder().setName(name).build();
return getDatabase(request);
}
Expand Down Expand Up @@ -493,7 +489,6 @@ public final UnaryCallable<GetDatabaseRequest, Database> getDatabaseCallable() {
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Empty, UpdateDatabaseDdlMetadata> updateDatabaseDdlAsync(
DatabaseName database, List<String> statements) {

UpdateDatabaseDdlRequest request =
UpdateDatabaseDdlRequest.newBuilder()
.setDatabase(database == null ? null : database.toString())
Expand Down Expand Up @@ -530,7 +525,6 @@ public final OperationFuture<Empty, UpdateDatabaseDdlMetadata> updateDatabaseDdl
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Empty, UpdateDatabaseDdlMetadata> updateDatabaseDdlAsync(
String database, List<String> statements) {

UpdateDatabaseDdlRequest request =
UpdateDatabaseDdlRequest.newBuilder()
.setDatabase(database)
Expand Down Expand Up @@ -652,7 +646,6 @@ public final UnaryCallable<UpdateDatabaseDdlRequest, Operation> updateDatabaseDd
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void dropDatabase(DatabaseName database) {

DropDatabaseRequest request =
DropDatabaseRequest.newBuilder()
.setDatabase(database == null ? null : database.toString())
Expand All @@ -677,7 +670,6 @@ public final void dropDatabase(DatabaseName database) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void dropDatabase(String database) {

DropDatabaseRequest request = DropDatabaseRequest.newBuilder().setDatabase(database).build();
dropDatabase(request);
}
Expand Down Expand Up @@ -746,7 +738,6 @@ public final UnaryCallable<DropDatabaseRequest, Empty> dropDatabaseCallable() {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final GetDatabaseDdlResponse getDatabaseDdl(DatabaseName database) {

GetDatabaseDdlRequest request =
GetDatabaseDdlRequest.newBuilder()
.setDatabase(database == null ? null : database.toString())
Expand All @@ -773,7 +764,6 @@ public final GetDatabaseDdlResponse getDatabaseDdl(DatabaseName database) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final GetDatabaseDdlResponse getDatabaseDdl(String database) {

GetDatabaseDdlRequest request =
GetDatabaseDdlRequest.newBuilder().setDatabase(database).build();
return getDatabaseDdl(request);
Expand Down Expand Up @@ -854,7 +844,6 @@ public final GetDatabaseDdlResponse getDatabaseDdl(GetDatabaseDdlRequest request
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy setIamPolicy(ResourceName resource, Policy policy) {

SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder()
.setResource(resource == null ? null : resource.toString())
Expand Down Expand Up @@ -888,7 +877,6 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy setIamPolicy(String resource, Policy policy) {

SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build();
return setIamPolicy(request);
Expand Down Expand Up @@ -971,7 +959,6 @@ public final UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy getIamPolicy(ResourceName resource) {

GetIamPolicyRequest request =
GetIamPolicyRequest.newBuilder()
.setResource(resource == null ? null : resource.toString())
Expand Down Expand Up @@ -1001,7 +988,6 @@ public final Policy getIamPolicy(ResourceName resource) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy getIamPolicy(String resource) {

GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build();
return getIamPolicy(request);
}
Expand Down Expand Up @@ -1086,7 +1072,6 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
*/
public final TestIamPermissionsResponse testIamPermissions(
ResourceName resource, List<String> permissions) {

TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
.setResource(resource == null ? null : resource.toString())
Expand Down Expand Up @@ -1122,7 +1107,6 @@ public final TestIamPermissionsResponse testIamPermissions(
*/
public final TestIamPermissionsResponse testIamPermissions(
String resource, List<String> permissions) {

TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
.setResource(resource)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -363,7 +363,6 @@ public final ListInstanceConfigsPagedResponse listInstanceConfigs(
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final InstanceConfig getInstanceConfig(InstanceConfigName name) {

GetInstanceConfigRequest request =
GetInstanceConfigRequest.newBuilder()
.setName(name == null ? null : name.toString())
Expand All @@ -389,7 +388,6 @@ public final InstanceConfig getInstanceConfig(InstanceConfigName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final InstanceConfig getInstanceConfig(String name) {

GetInstanceConfigRequest request = GetInstanceConfigRequest.newBuilder().setName(name).build();
return getInstanceConfig(request);
}
Expand Down Expand Up @@ -589,7 +587,6 @@ public final UnaryCallable<ListInstancesRequest, ListInstancesResponse> listInst
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Instance getInstance(InstanceName name) {

GetInstanceRequest request =
GetInstanceRequest.newBuilder().setName(name == null ? null : name.toString()).build();
return getInstance(request);
Expand All @@ -613,7 +610,6 @@ public final Instance getInstance(InstanceName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Instance getInstance(String name) {

GetInstanceRequest request = GetInstanceRequest.newBuilder().setName(name).build();
return getInstance(request);
}
Expand Down Expand Up @@ -718,7 +714,6 @@ public final UnaryCallable<GetInstanceRequest, Instance> getInstanceCallable() {
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Instance, CreateInstanceMetadata> createInstanceAsync(
ProjectName parent, String instanceId, Instance instance) {

CreateInstanceRequest request =
CreateInstanceRequest.newBuilder()
.setParent(parent == null ? null : parent.toString())
Expand Down Expand Up @@ -783,7 +778,6 @@ public final OperationFuture<Instance, CreateInstanceMetadata> createInstanceAsy
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Instance, CreateInstanceMetadata> createInstanceAsync(
String parent, String instanceId, Instance instance) {

CreateInstanceRequest request =
CreateInstanceRequest.newBuilder()
.setParent(parent)
Expand Down Expand Up @@ -1021,7 +1015,6 @@ public final UnaryCallable<CreateInstanceRequest, Operation> createInstanceCalla
"The surface for long-running operations is not stable yet and may change in the future.")
public final OperationFuture<Instance, UpdateInstanceMetadata> updateInstanceAsync(
Instance instance, FieldMask fieldMask) {

UpdateInstanceRequest request =
UpdateInstanceRequest.newBuilder().setInstance(instance).setFieldMask(fieldMask).build();
return updateInstanceAsync(request);
Expand Down Expand Up @@ -1228,7 +1221,6 @@ public final UnaryCallable<UpdateInstanceRequest, Operation> updateInstanceCalla
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteInstance(InstanceName name) {

DeleteInstanceRequest request =
DeleteInstanceRequest.newBuilder().setName(name == null ? null : name.toString()).build();
deleteInstance(request);
Expand Down Expand Up @@ -1261,7 +1253,6 @@ public final void deleteInstance(InstanceName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteInstance(String name) {

DeleteInstanceRequest request = DeleteInstanceRequest.newBuilder().setName(name).build();
deleteInstance(request);
}
Expand Down Expand Up @@ -1354,7 +1345,6 @@ public final UnaryCallable<DeleteInstanceRequest, Empty> deleteInstanceCallable(
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy setIamPolicy(ResourceName resource, Policy policy) {

SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder()
.setResource(resource == null ? null : resource.toString())
Expand Down Expand Up @@ -1388,7 +1378,6 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy setIamPolicy(String resource, Policy policy) {

SetIamPolicyRequest request =
SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build();
return setIamPolicy(request);
Expand Down Expand Up @@ -1471,7 +1460,6 @@ public final UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy getIamPolicy(ResourceName resource) {

GetIamPolicyRequest request =
GetIamPolicyRequest.newBuilder()
.setResource(resource == null ? null : resource.toString())
Expand Down Expand Up @@ -1501,7 +1489,6 @@ public final Policy getIamPolicy(ResourceName resource) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Policy getIamPolicy(String resource) {

GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build();
return getIamPolicy(request);
}
Expand Down Expand Up @@ -1586,7 +1573,6 @@ public final UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
*/
public final TestIamPermissionsResponse testIamPermissions(
ResourceName resource, List<String> permissions) {

TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
.setResource(resource == null ? null : resource.toString())
Expand Down Expand Up @@ -1622,7 +1608,6 @@ public final TestIamPermissionsResponse testIamPermissions(
*/
public final TestIamPermissionsResponse testIamPermissions(
String resource, List<String> permissions) {

TestIamPermissionsRequest request =
TestIamPermissionsRequest.newBuilder()
.setResource(resource)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Google LLC
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Loading