@Generated(value="by gapic-generator-java") public class GrpcFoldersStub extends FoldersStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcFoldersStub(FoldersStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcFoldersStub, using the given settings.
|
protected |
GrpcFoldersStub(FoldersStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcFoldersStub, using the given settings.
|
getHttpJsonOperationsStub
protected GrpcFoldersStub(FoldersStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcFoldersStub(FoldersStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcFoldersStub create(FoldersStubSettings settings) throws IOException
IOException
public static final GrpcFoldersStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcFoldersStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
getOperationsStub
in class FoldersStub
public UnaryCallable<GetFolderRequest,Folder> getFolderCallable()
getFolderCallable
in class FoldersStub
public UnaryCallable<ListFoldersRequest,ListFoldersResponse> listFoldersCallable()
listFoldersCallable
in class FoldersStub
public UnaryCallable<ListFoldersRequest,FoldersClient.ListFoldersPagedResponse> listFoldersPagedCallable()
listFoldersPagedCallable
in class FoldersStub
public UnaryCallable<SearchFoldersRequest,SearchFoldersResponse> searchFoldersCallable()
searchFoldersCallable
in class FoldersStub
public UnaryCallable<SearchFoldersRequest,FoldersClient.SearchFoldersPagedResponse> searchFoldersPagedCallable()
searchFoldersPagedCallable
in class FoldersStub
public UnaryCallable<CreateFolderRequest,Operation> createFolderCallable()
createFolderCallable
in class FoldersStub
public OperationCallable<CreateFolderRequest,Folder,CreateFolderMetadata> createFolderOperationCallable()
createFolderOperationCallable
in class FoldersStub
public UnaryCallable<UpdateFolderRequest,Operation> updateFolderCallable()
updateFolderCallable
in class FoldersStub
public OperationCallable<UpdateFolderRequest,Folder,UpdateFolderMetadata> updateFolderOperationCallable()
updateFolderOperationCallable
in class FoldersStub
public UnaryCallable<MoveFolderRequest,Operation> moveFolderCallable()
moveFolderCallable
in class FoldersStub
public OperationCallable<MoveFolderRequest,Folder,MoveFolderMetadata> moveFolderOperationCallable()
moveFolderOperationCallable
in class FoldersStub
public UnaryCallable<DeleteFolderRequest,Operation> deleteFolderCallable()
deleteFolderCallable
in class FoldersStub
public OperationCallable<DeleteFolderRequest,Folder,DeleteFolderMetadata> deleteFolderOperationCallable()
deleteFolderOperationCallable
in class FoldersStub
public UnaryCallable<UndeleteFolderRequest,Operation> undeleteFolderCallable()
undeleteFolderCallable
in class FoldersStub
public OperationCallable<UndeleteFolderRequest,Folder,UndeleteFolderMetadata> undeleteFolderOperationCallable()
undeleteFolderOperationCallable
in class FoldersStub
public UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable
in class FoldersStub
public UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable
in class FoldersStub
public UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable
in class FoldersStub
public final void close()
close
in interface AutoCloseable
close
in class FoldersStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.