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 #83

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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -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