public class HttpJsonNetworkAttachmentsStub extends NetworkAttachmentsStub
REST stub implementation for the NetworkAttachments service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonNetworkAttachmentsStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonNetworkAttachmentsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(NetworkAttachmentsStubSettings settings)
public static final HttpJsonNetworkAttachmentsStub create(NetworkAttachmentsStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonNetworkAttachmentsStub(NetworkAttachmentsStubSettings settings, ClientContext clientContext)
protected HttpJsonNetworkAttachmentsStub(NetworkAttachmentsStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonNetworkAttachmentsStub, 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.
HttpJsonNetworkAttachmentsStub(NetworkAttachmentsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonNetworkAttachmentsStub(NetworkAttachmentsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonNetworkAttachmentsStub, 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<AggregatedListNetworkAttachmentsRequest,NetworkAttachmentAggregatedList> aggregatedListCallable()
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListNetworkAttachmentsRequest,NetworkAttachmentsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteNetworkAttachmentRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteNetworkAttachmentRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetNetworkAttachmentRequest,NetworkAttachment> getCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyNetworkAttachmentRequest,Policy> getIamPolicyCallable()
Overrides
insertCallable()
public UnaryCallable<InsertNetworkAttachmentRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertNetworkAttachmentRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListNetworkAttachmentsRequest,NetworkAttachmentList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListNetworkAttachmentsRequest,NetworkAttachmentsClient.ListPagedResponse> listPagedCallable()
Overrides
patchCallable()
public UnaryCallable<PatchNetworkAttachmentRequest,Operation> patchCallable()
Overrides
patchOperationCallable()
public OperationCallable<PatchNetworkAttachmentRequest,Operation,Operation> patchOperationCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyNetworkAttachmentRequest,Policy> setIamPolicyCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsNetworkAttachmentRequest,TestPermissionsResponse> testIamPermissionsCallable()
Overrides