Skip to content

Commit

Permalink
fix: add missing @InternalExtensionOnly annotation to com.google.clou…
Browse files Browse the repository at this point in the history
…d.firestore.Firestore (#141)

"Client" interfaces make guarantees around compatibility for users
direct usage, however no guarantee is made for anyone implementing
the "client" interface themselves. This change adds the annotation
intended to convey this guarantee at the code level and in javadocs
that should have been here all along.
  • Loading branch information
BenWhitehead committed Mar 20, 2020
1 parent b28b660 commit d3458cb
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -17,13 +17,15 @@
package com.google.cloud.firestore;

import com.google.api.core.ApiFuture;
import com.google.api.core.InternalExtensionOnly;
import com.google.api.gax.rpc.ApiStreamObserver;
import com.google.cloud.Service;
import java.util.List;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;

/** Represents a Firestore Database and is the entry point for all Firestore operations */
@InternalExtensionOnly
public interface Firestore extends Service<FirestoreOptions>, AutoCloseable {

/**
Expand Down

0 comments on commit d3458cb

Please sign in to comment.