Class HttpJsonAssetServiceStub (3.4.1)

public class HttpJsonAssetServiceStub extends AssetServiceStub

REST stub implementation for the AssetService service API.

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

Inheritance

java.lang.Object > AssetServiceStub > HttpJsonAssetServiceStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonAssetServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonAssetServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonAssetServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonAssetServiceStub
Exceptions
TypeDescription
IOException

create(AssetServiceStubSettings settings)

public static final HttpJsonAssetServiceStub create(AssetServiceStubSettings settings)
Parameter
NameDescription
settingsAssetServiceStubSettings
Returns
TypeDescription
HttpJsonAssetServiceStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonAssetServiceStub, 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
NameDescription
settingsAssetServiceStubSettings
clientContextClientContext

HttpJsonAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonAssetServiceStub(AssetServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonAssetServiceStub, 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
NameDescription
settingsAssetServiceStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

analyzeIamPolicyCallable()

public UnaryCallable<AnalyzeIamPolicyRequest,AnalyzeIamPolicyResponse> analyzeIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<AnalyzeIamPolicyRequest,AnalyzeIamPolicyResponse>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

exportIamPolicyAnalysisCallable()

public UnaryCallable<ExportIamPolicyAnalysisRequest,Operation> exportIamPolicyAnalysisCallable()
Returns
TypeDescription
UnaryCallable<ExportIamPolicyAnalysisRequest,Operation>
Overrides

exportIamPolicyAnalysisOperationCallable()

public OperationCallable<ExportIamPolicyAnalysisRequest,ExportIamPolicyAnalysisResponse,ExportIamPolicyAnalysisRequest> exportIamPolicyAnalysisOperationCallable()
Returns
TypeDescription
OperationCallable<ExportIamPolicyAnalysisRequest,ExportIamPolicyAnalysisResponse,ExportIamPolicyAnalysisRequest>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()