Class GrpcFoldersStub (1.56.0)

public class GrpcFoldersStub extends FoldersStub

gRPC stub implementation for the Folders service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > FoldersStub > GrpcFoldersStub

Static Methods

create(ClientContext clientContext)

public static final GrpcFoldersStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcFoldersStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcFoldersStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcFoldersStub
Exceptions
Type Description
IOException

create(FoldersStubSettings settings)

public static final GrpcFoldersStub create(FoldersStubSettings settings)
Parameter
Name Description
settings FoldersStubSettings
Returns
Type Description
GrpcFoldersStub
Exceptions
Type Description
IOException

Constructors

GrpcFoldersStub(FoldersStubSettings settings, ClientContext clientContext)

protected GrpcFoldersStub(FoldersStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcFoldersStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings FoldersStubSettings
clientContext ClientContext

GrpcFoldersStub(FoldersStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcFoldersStub(FoldersStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcFoldersStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings FoldersStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createFolderCallable()

public UnaryCallable<CreateFolderRequest,Operation> createFolderCallable()
Returns
Type Description
UnaryCallable<CreateFolderRequest,Operation>
Overrides

createFolderOperationCallable()

public OperationCallable<CreateFolderRequest,Folder,CreateFolderMetadata> createFolderOperationCallable()
Returns
Type Description
OperationCallable<CreateFolderRequest,Folder,CreateFolderMetadata>
Overrides

deleteFolderCallable()

public UnaryCallable<DeleteFolderRequest,Operation> deleteFolderCallable()
Returns
Type Description
UnaryCallable<DeleteFolderRequest,Operation>
Overrides

deleteFolderOperationCallable()

public OperationCallable<DeleteFolderRequest,Folder,DeleteFolderMetadata> deleteFolderOperationCallable()
Returns
Type Description
OperationCallable<DeleteFolderRequest,Folder,DeleteFolderMetadata>
Overrides

getFolderCallable()

public UnaryCallable<GetFolderRequest,Folder> getFolderCallable()
Returns
Type Description
UnaryCallable<GetFolderRequest,Folder>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listFoldersCallable()

public UnaryCallable<ListFoldersRequest,ListFoldersResponse> listFoldersCallable()
Returns
Type Description
UnaryCallable<ListFoldersRequest,ListFoldersResponse>
Overrides

listFoldersPagedCallable()

public UnaryCallable<ListFoldersRequest,FoldersClient.ListFoldersPagedResponse> listFoldersPagedCallable()
Returns
Type Description
UnaryCallable<ListFoldersRequest,ListFoldersPagedResponse>
Overrides

moveFolderCallable()

public UnaryCallable<MoveFolderRequest,Operation> moveFolderCallable()
Returns
Type Description
UnaryCallable<MoveFolderRequest,Operation>
Overrides

moveFolderOperationCallable()

public OperationCallable<MoveFolderRequest,Folder,MoveFolderMetadata> moveFolderOperationCallable()
Returns
Type Description
OperationCallable<MoveFolderRequest,Folder,MoveFolderMetadata>
Overrides

searchFoldersCallable()

public UnaryCallable<SearchFoldersRequest,SearchFoldersResponse> searchFoldersCallable()
Returns
Type Description
UnaryCallable<SearchFoldersRequest,SearchFoldersResponse>
Overrides

searchFoldersPagedCallable()

public UnaryCallable<SearchFoldersRequest,FoldersClient.SearchFoldersPagedResponse> searchFoldersPagedCallable()
Returns
Type Description
UnaryCallable<SearchFoldersRequest,SearchFoldersPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

undeleteFolderCallable()

public UnaryCallable<UndeleteFolderRequest,Operation> undeleteFolderCallable()
Returns
Type Description
UnaryCallable<UndeleteFolderRequest,Operation>
Overrides

undeleteFolderOperationCallable()

public OperationCallable<UndeleteFolderRequest,Folder,UndeleteFolderMetadata> undeleteFolderOperationCallable()
Returns
Type Description
OperationCallable<UndeleteFolderRequest,Folder,UndeleteFolderMetadata>
Overrides

updateFolderCallable()

public UnaryCallable<UpdateFolderRequest,Operation> updateFolderCallable()
Returns
Type Description
UnaryCallable<UpdateFolderRequest,Operation>
Overrides

updateFolderOperationCallable()

public OperationCallable<UpdateFolderRequest,Folder,UpdateFolderMetadata> updateFolderOperationCallable()
Returns
Type Description
OperationCallable<UpdateFolderRequest,Folder,UpdateFolderMetadata>
Overrides