Skip to content

Commit

Permalink
chore(regen): update license year for generated files (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and chingor13 committed Jan 15, 2020
1 parent 547f488 commit 203b3b1
Show file tree
Hide file tree
Showing 20 changed files with 24 additions and 1,359 deletions.
@@ -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 @@ -197,7 +197,6 @@ public FirestoreAdminStub getStub() {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Operation createIndex(ParentName parent, Index index) {

CreateIndexRequest request =
CreateIndexRequest.newBuilder()
.setParent(parent == null ? null : parent.toString())
Expand Down Expand Up @@ -229,7 +228,6 @@ public final Operation createIndex(ParentName parent, Index index) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Operation createIndex(String parent, Index index) {

CreateIndexRequest request =
CreateIndexRequest.newBuilder().setParent(parent).setIndex(index).build();
return createIndex(request);
Expand Down Expand Up @@ -440,7 +438,6 @@ public final UnaryCallable<ListIndexesRequest, ListIndexesResponse> listIndexesC
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Index getIndex(IndexName name) {

GetIndexRequest request =
GetIndexRequest.newBuilder().setName(name == null ? null : name.toString()).build();
return getIndex(request);
Expand All @@ -464,7 +461,6 @@ public final Index getIndex(IndexName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Index getIndex(String name) {

GetIndexRequest request = GetIndexRequest.newBuilder().setName(name).build();
return getIndex(request);
}
Expand Down Expand Up @@ -532,7 +528,6 @@ public final UnaryCallable<GetIndexRequest, Index> getIndexCallable() {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteIndex(IndexName name) {

DeleteIndexRequest request =
DeleteIndexRequest.newBuilder().setName(name == null ? null : name.toString()).build();
deleteIndex(request);
Expand All @@ -556,7 +551,6 @@ public final void deleteIndex(IndexName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteIndex(String name) {

DeleteIndexRequest request = DeleteIndexRequest.newBuilder().setName(name).build();
deleteIndex(request);
}
Expand Down Expand Up @@ -627,7 +621,6 @@ public final UnaryCallable<DeleteIndexRequest, Empty> deleteIndexCallable() {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Operation importDocuments(DatabaseName name) {

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

ImportDocumentsRequest request = ImportDocumentsRequest.newBuilder().setName(name).build();
return importDocuments(request);
}
Expand Down Expand Up @@ -733,7 +725,6 @@ public final UnaryCallable<ImportDocumentsRequest, Operation> importDocumentsCal
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Operation exportDocuments(DatabaseName name) {

ExportDocumentsRequest request =
ExportDocumentsRequest.newBuilder().setName(name == null ? null : name.toString()).build();
return exportDocuments(request);
Expand Down Expand Up @@ -762,7 +753,6 @@ public final Operation exportDocuments(DatabaseName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Operation exportDocuments(String name) {

ExportDocumentsRequest request = ExportDocumentsRequest.newBuilder().setName(name).build();
return exportDocuments(request);
}
Expand Down Expand Up @@ -840,7 +830,6 @@ public final UnaryCallable<ExportDocumentsRequest, Operation> exportDocumentsCal
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Field getField(FieldName name) {

GetFieldRequest request =
GetFieldRequest.newBuilder().setName(name == null ? null : name.toString()).build();
return getField(request);
Expand All @@ -864,7 +853,6 @@ public final Field getField(FieldName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Field getField(String name) {

GetFieldRequest request = GetFieldRequest.newBuilder().setName(name).build();
return getField(request);
}
Expand Down Expand Up @@ -1097,7 +1085,6 @@ public final UnaryCallable<ListFieldsRequest, ListFieldsResponse> listFieldsCall
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Operation updateField(Field field) {

UpdateFieldRequest request = UpdateFieldRequest.newBuilder().setField(field).build();
return updateField(request);
}
Expand Down
@@ -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
@@ -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 @@ -399,7 +399,6 @@ public final UnaryCallable<CreateDocumentRequest, Document> createDocumentCallab
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Document updateDocument(Document document, DocumentMask updateMask) {

UpdateDocumentRequest request =
UpdateDocumentRequest.newBuilder().setDocument(document).setUpdateMask(updateMask).build();
return updateDocument(request);
Expand Down Expand Up @@ -472,7 +471,6 @@ public final UnaryCallable<UpdateDocumentRequest, Document> updateDocumentCallab
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteDocument(AnyPathName name) {

DeleteDocumentRequest request =
DeleteDocumentRequest.newBuilder().setName(name == null ? null : name.toString()).build();
deleteDocument(request);
Expand All @@ -496,7 +494,6 @@ public final void deleteDocument(AnyPathName name) {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteDocument(String name) {

DeleteDocumentRequest request = DeleteDocumentRequest.newBuilder().setName(name).build();
deleteDocument(request);
}
Expand Down Expand Up @@ -594,7 +591,6 @@ public final UnaryCallable<DeleteDocumentRequest, Empty> deleteDocumentCallable(
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final BeginTransactionResponse beginTransaction(String database) {

BeginTransactionRequest request =
BeginTransactionRequest.newBuilder().setDatabase(database).build();
return beginTransaction(request);
Expand Down Expand Up @@ -667,7 +663,6 @@ public final BeginTransactionResponse beginTransaction(BeginTransactionRequest r
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CommitResponse commit(String database, List<Write> writes) {

CommitRequest request =
CommitRequest.newBuilder().setDatabase(database).addAllWrites(writes).build();
return commit(request);
Expand Down Expand Up @@ -742,7 +737,6 @@ public final UnaryCallable<CommitRequest, CommitResponse> commitCallable() {
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void rollback(String database, ByteString transaction) {

RollbackRequest request =
RollbackRequest.newBuilder().setDatabase(database).setTransaction(transaction).build();
rollback(request);
Expand Down
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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

0 comments on commit 203b3b1

Please sign in to comment.