Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class HttpJsonServiceAttachmentsStub extends ServiceAttachmentsStub
REST stub implementation for the ServiceAttachments service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonServiceAttachmentsStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonServiceAttachmentsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(ServiceAttachmentsStubSettings settings)
public static final HttpJsonServiceAttachmentsStub create(ServiceAttachmentsStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonServiceAttachmentsStub(ServiceAttachmentsStubSettings settings, ClientContext clientContext)
protected HttpJsonServiceAttachmentsStub(ServiceAttachmentsStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonServiceAttachmentsStub, 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.
HttpJsonServiceAttachmentsStub(ServiceAttachmentsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonServiceAttachmentsStub(ServiceAttachmentsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonServiceAttachmentsStub, 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.
Methods
aggregatedListCallable()
public UnaryCallable<AggregatedListServiceAttachmentsRequest,ServiceAttachmentAggregatedList> aggregatedListCallable()
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListServiceAttachmentsRequest,ServiceAttachmentsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteServiceAttachmentRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteServiceAttachmentRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetServiceAttachmentRequest,ServiceAttachment> getCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyServiceAttachmentRequest,Policy> getIamPolicyCallable()
Overrides
insertCallable()
public UnaryCallable<InsertServiceAttachmentRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertServiceAttachmentRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListServiceAttachmentsRequest,ServiceAttachmentList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListServiceAttachmentsRequest,ServiceAttachmentsClient.ListPagedResponse> listPagedCallable()
Overrides
patchCallable()
public UnaryCallable<PatchServiceAttachmentRequest,Operation> patchCallable()
Overrides
patchOperationCallable()
public OperationCallable<PatchServiceAttachmentRequest,Operation,Operation> patchOperationCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyServiceAttachmentRequest,Policy> setIamPolicyCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsServiceAttachmentRequest,TestPermissionsResponse> testIamPermissionsCallable()
Overrides