Class HttpJsonFoldersStub (1.47.0)

public class HttpJsonFoldersStub extends FoldersStub

REST stub implementation for the Folders service API.

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

Inheritance

java.lang.Object > FoldersStub > HttpJsonFoldersStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(FoldersStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonFoldersStub(FoldersStubSettings settings, ClientContext clientContext)

protected HttpJsonFoldersStub(FoldersStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonFoldersStub, 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

HttpJsonFoldersStub(FoldersStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonFoldersStub(FoldersStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonFoldersStub, 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 HttpJsonStubCallableFactory

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
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