@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,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcFirestoreAdminStub, using the given settings.
|
protected |
GrpcFirestoreAdminStub(FirestoreAdminStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.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(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcFirestoreAdminStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcFirestoreAdminStub |
create(FirestoreAdminStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateIndexRequest,com.google.longrunning.Operation> |
createIndexCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteIndexRequest,Empty> |
deleteIndexCallable() |
com.google.api.gax.rpc.UnaryCallable<ExportDocumentsRequest,com.google.longrunning.Operation> |
exportDocumentsCallable() |
com.google.api.gax.rpc.UnaryCallable<GetFieldRequest,Field> |
getFieldCallable() |
com.google.api.gax.rpc.UnaryCallable<GetIndexRequest,Index> |
getIndexCallable() |
com.google.api.gax.rpc.UnaryCallable<ImportDocumentsRequest,com.google.longrunning.Operation> |
importDocumentsCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListFieldsRequest,ListFieldsResponse> |
listFieldsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListFieldsRequest,FirestoreAdminClient.ListFieldsPagedResponse> |
listFieldsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListIndexesRequest,ListIndexesResponse> |
listIndexesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListIndexesRequest,FirestoreAdminClient.ListIndexesPagedResponse> |
listIndexesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateFieldRequest,com.google.longrunning.Operation> |
updateFieldCallable() |
protected GrpcFirestoreAdminStub(FirestoreAdminStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcFirestoreAdminStub(FirestoreAdminStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcFirestoreAdminStub create(FirestoreAdminStubSettings settings) throws IOException
IOException
public static final GrpcFirestoreAdminStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcFirestoreAdminStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallable<CreateIndexRequest,com.google.longrunning.Operation> createIndexCallable()
createIndexCallable
in class FirestoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<ListIndexesRequest,FirestoreAdminClient.ListIndexesPagedResponse> listIndexesPagedCallable()
listIndexesPagedCallable
in class FirestoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<ListIndexesRequest,ListIndexesResponse> listIndexesCallable()
listIndexesCallable
in class FirestoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<GetIndexRequest,Index> getIndexCallable()
getIndexCallable
in class FirestoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<DeleteIndexRequest,Empty> deleteIndexCallable()
deleteIndexCallable
in class FirestoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<ImportDocumentsRequest,com.google.longrunning.Operation> importDocumentsCallable()
importDocumentsCallable
in class FirestoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<ExportDocumentsRequest,com.google.longrunning.Operation> exportDocumentsCallable()
exportDocumentsCallable
in class FirestoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<GetFieldRequest,Field> getFieldCallable()
getFieldCallable
in class FirestoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<ListFieldsRequest,FirestoreAdminClient.ListFieldsPagedResponse> listFieldsPagedCallable()
listFieldsPagedCallable
in class FirestoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<ListFieldsRequest,ListFieldsResponse> listFieldsCallable()
listFieldsCallable
in class FirestoreAdminStub
public com.google.api.gax.rpc.UnaryCallable<UpdateFieldRequest,com.google.longrunning.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.