Class GrpcConfidentialComputingStub (0.16.0)

publicclass GrpcConfidentialComputingStubextendsConfidentialComputingStub

gRPC stub implementation for the ConfidentialComputing service API.

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

Inheritance

java.lang.Object > ConfidentialComputingStub > GrpcConfidentialComputingStub

Static Methods

create(ClientContext clientContext)

publicstaticfinalGrpcConfidentialComputingStubcreate(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcConfidentialComputingStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

publicstaticfinalGrpcConfidentialComputingStubcreate(ClientContextclientContext,GrpcStubCallableFactorycallableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcConfidentialComputingStub
Exceptions
Type Description
IOException

create(ConfidentialComputingStubSettings settings)

publicstaticfinalGrpcConfidentialComputingStubcreate(ConfidentialComputingStubSettingssettings)
Parameter
Name Description
settings ConfidentialComputingStubSettings
Returns
Type Description
GrpcConfidentialComputingStub
Exceptions
Type Description
IOException

Constructors

GrpcConfidentialComputingStub(ConfidentialComputingStubSettings settings, ClientContext clientContext)

protectedGrpcConfidentialComputingStub(ConfidentialComputingStubSettingssettings,ClientContextclientContext)

Constructs an instance of GrpcConfidentialComputingStub, 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 ConfidentialComputingStubSettings
clientContext ClientContext

GrpcConfidentialComputingStub(ConfidentialComputingStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protectedGrpcConfidentialComputingStub(ConfidentialComputingStubSettingssettings,ClientContextclientContext,GrpcStubCallableFactorycallableFactory)

Constructs an instance of GrpcConfidentialComputingStub, 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 ConfidentialComputingStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

publicbooleanawaitTermination(longduration,TimeUnitunit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

publicfinalvoidclose()
Overrides

createChallengeCallable()

publicUnaryCallable<CreateChallengeRequest,Challenge>createChallengeCallable()
Returns
Type Description
UnaryCallable<CreateChallengeRequest,Challenge>
Overrides

getLocationCallable()

publicUnaryCallable<GetLocationRequest,Location>getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

publicGrpcOperationsStubgetOperationsStub()
Returns
Type Description
GrpcOperationsStub

isShutdown()

publicbooleanisShutdown()
Returns
Type Description
boolean

isTerminated()

publicbooleanisTerminated()
Returns
Type Description
boolean

listLocationsCallable()

publicUnaryCallable<ListLocationsRequest,ListLocationsResponse>listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

publicUnaryCallable<ListLocationsRequest,ConfidentialComputingClient.ListLocationsPagedResponse>listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

shutdown()

publicvoidshutdown()

shutdownNow()

publicvoidshutdownNow()

verifyAttestationCallable()

publicUnaryCallable<VerifyAttestationRequest,VerifyAttestationResponse>verifyAttestationCallable()
Returns
Type Description
UnaryCallable<VerifyAttestationRequest,VerifyAttestationResponse>
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.