@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcFirestoreAdminStub extends FirestoreAdminStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcFirestoreAdminStub(FirestoreAdminStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcFirestoreAdminStub, using the given settings.
|
protected |
GrpcFirestoreAdminStub(FirestoreAdminStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcFirestoreAdminStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcFirestoreAdminStub |
create(ClientContext clientContext) |
static GrpcFirestoreAdminStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcFirestoreAdminStub |
create(FirestoreAdminStubSettings settings) |
UnaryCallable<com.google.firestore.admin.v1.CreateIndexRequest,Operation> |
createIndexCallable() |
UnaryCallable<com.google.firestore.admin.v1.DeleteIndexRequest,Empty> |
deleteIndexCallable() |
UnaryCallable<com.google.firestore.admin.v1.ExportDocumentsRequest,Operation> |
exportDocumentsCallable() |
UnaryCallable<com.google.firestore.admin.v1.GetFieldRequest,com.google.firestore.admin.v1.Field> |
getFieldCallable() |
UnaryCallable<com.google.firestore.admin.v1.GetIndexRequest,com.google.firestore.admin.v1.Index> |
getIndexCallable() |
UnaryCallable<com.google.firestore.admin.v1.ImportDocumentsRequest,Operation> |
importDocumentsCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.firestore.admin.v1.ListFieldsRequest,com.google.firestore.admin.v1.ListFieldsResponse> |
listFieldsCallable() |
UnaryCallable<com.google.firestore.admin.v1.ListFieldsRequest,FirestoreAdminClient.ListFieldsPagedResponse> |
listFieldsPagedCallable() |
UnaryCallable<com.google.firestore.admin.v1.ListIndexesRequest,com.google.firestore.admin.v1.ListIndexesResponse> |
listIndexesCallable() |
UnaryCallable<com.google.firestore.admin.v1.ListIndexesRequest,FirestoreAdminClient.ListIndexesPagedResponse> |
listIndexesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.firestore.admin.v1.UpdateFieldRequest,Operation> |
updateFieldCallable() |
protected GrpcFirestoreAdminStub(FirestoreAdminStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcFirestoreAdminStub(FirestoreAdminStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcFirestoreAdminStub create(FirestoreAdminStubSettings settings) throws IOException
IOException
public static final GrpcFirestoreAdminStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcFirestoreAdminStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.firestore.admin.v1.CreateIndexRequest,Operation> createIndexCallable()
createIndexCallable
in class FirestoreAdminStub
public UnaryCallable<com.google.firestore.admin.v1.ListIndexesRequest,FirestoreAdminClient.ListIndexesPagedResponse> listIndexesPagedCallable()
listIndexesPagedCallable
in class FirestoreAdminStub
public UnaryCallable<com.google.firestore.admin.v1.ListIndexesRequest,com.google.firestore.admin.v1.ListIndexesResponse> listIndexesCallable()
listIndexesCallable
in class FirestoreAdminStub
public UnaryCallable<com.google.firestore.admin.v1.GetIndexRequest,com.google.firestore.admin.v1.Index> getIndexCallable()
getIndexCallable
in class FirestoreAdminStub
public UnaryCallable<com.google.firestore.admin.v1.DeleteIndexRequest,Empty> deleteIndexCallable()
deleteIndexCallable
in class FirestoreAdminStub
public UnaryCallable<com.google.firestore.admin.v1.ImportDocumentsRequest,Operation> importDocumentsCallable()
importDocumentsCallable
in class FirestoreAdminStub
public UnaryCallable<com.google.firestore.admin.v1.ExportDocumentsRequest,Operation> exportDocumentsCallable()
exportDocumentsCallable
in class FirestoreAdminStub
public UnaryCallable<com.google.firestore.admin.v1.GetFieldRequest,com.google.firestore.admin.v1.Field> getFieldCallable()
getFieldCallable
in class FirestoreAdminStub
public UnaryCallable<com.google.firestore.admin.v1.ListFieldsRequest,FirestoreAdminClient.ListFieldsPagedResponse> listFieldsPagedCallable()
listFieldsPagedCallable
in class FirestoreAdminStub
public UnaryCallable<com.google.firestore.admin.v1.ListFieldsRequest,com.google.firestore.admin.v1.ListFieldsResponse> listFieldsCallable()
listFieldsCallable
in class FirestoreAdminStub
public UnaryCallable<com.google.firestore.admin.v1.UpdateFieldRequest,Operation> updateFieldCallable()
updateFieldCallable
in class FirestoreAdminStub
public final void close()
close
in interface AutoCloseable
close
in class FirestoreAdminStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.