Class GrpcSSERealmServiceStub (0.96.0)

public class GrpcSSERealmServiceStub extends SSERealmServiceStub

gRPC stub implementation for the SSERealmService service API.

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

Inheritance

java.lang.Object > SSERealmServiceStub > GrpcSSERealmServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(SSERealmServiceStubSettings settings)

public static final GrpcSSERealmServiceStub create(SSERealmServiceStubSettings settings)
Parameter
Name Description
settings SSERealmServiceStubSettings
Returns
Type Description
GrpcSSERealmServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcSSERealmServiceStub(SSERealmServiceStubSettings settings, ClientContext clientContext)

protected GrpcSSERealmServiceStub(SSERealmServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcSSERealmServiceStub, 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 SSERealmServiceStubSettings
clientContext ClientContext

GrpcSSERealmServiceStub(SSERealmServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcSSERealmServiceStub(SSERealmServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

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

createSACAttachmentCallable()

public UnaryCallable<CreateSACAttachmentRequest,Operation> createSACAttachmentCallable()
Returns
Type Description
UnaryCallable<CreateSACAttachmentRequest,Operation>
Overrides

createSACAttachmentOperationCallable()

public OperationCallable<CreateSACAttachmentRequest,SACAttachment,OperationMetadata> createSACAttachmentOperationCallable()
Returns
Type Description
OperationCallable<CreateSACAttachmentRequest,SACAttachment,OperationMetadata>
Overrides

createSACRealmCallable()

public UnaryCallable<CreateSACRealmRequest,Operation> createSACRealmCallable()
Returns
Type Description
UnaryCallable<CreateSACRealmRequest,Operation>
Overrides

createSACRealmOperationCallable()

public OperationCallable<CreateSACRealmRequest,SACRealm,OperationMetadata> createSACRealmOperationCallable()
Returns
Type Description
OperationCallable<CreateSACRealmRequest,SACRealm,OperationMetadata>
Overrides

deleteSACAttachmentCallable()

public UnaryCallable<DeleteSACAttachmentRequest,Operation> deleteSACAttachmentCallable()
Returns
Type Description
UnaryCallable<DeleteSACAttachmentRequest,Operation>
Overrides

deleteSACAttachmentOperationCallable()

public OperationCallable<DeleteSACAttachmentRequest,Empty,OperationMetadata> deleteSACAttachmentOperationCallable()
Returns
Type Description
OperationCallable<DeleteSACAttachmentRequest,Empty,OperationMetadata>
Overrides

deleteSACRealmCallable()

public UnaryCallable<DeleteSACRealmRequest,Operation> deleteSACRealmCallable()
Returns
Type Description
UnaryCallable<DeleteSACRealmRequest,Operation>
Overrides

deleteSACRealmOperationCallable()

public OperationCallable<DeleteSACRealmRequest,Empty,OperationMetadata> deleteSACRealmOperationCallable()
Returns
Type Description
OperationCallable<DeleteSACRealmRequest,Empty,OperationMetadata>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getSACAttachmentCallable()

public UnaryCallable<GetSACAttachmentRequest,SACAttachment> getSACAttachmentCallable()
Returns
Type Description
UnaryCallable<GetSACAttachmentRequest,SACAttachment>
Overrides

getSACRealmCallable()

public UnaryCallable<GetSACRealmRequest,SACRealm> getSACRealmCallable()
Returns
Type Description
UnaryCallable<GetSACRealmRequest,SACRealm>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listLocationsCallable()

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

listLocationsPagedCallable()

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

listSACAttachmentsCallable()

public UnaryCallable<ListSACAttachmentsRequest,ListSACAttachmentsResponse> listSACAttachmentsCallable()
Returns
Type Description
UnaryCallable<ListSACAttachmentsRequest,ListSACAttachmentsResponse>
Overrides

listSACAttachmentsPagedCallable()

public UnaryCallable<ListSACAttachmentsRequest,SSERealmServiceClient.ListSACAttachmentsPagedResponse> listSACAttachmentsPagedCallable()
Returns
Type Description
UnaryCallable<ListSACAttachmentsRequest,ListSACAttachmentsPagedResponse>
Overrides

listSACRealmsCallable()

public UnaryCallable<ListSACRealmsRequest,ListSACRealmsResponse> listSACRealmsCallable()
Returns
Type Description
UnaryCallable<ListSACRealmsRequest,ListSACRealmsResponse>
Overrides

listSACRealmsPagedCallable()

public UnaryCallable<ListSACRealmsRequest,SSERealmServiceClient.ListSACRealmsPagedResponse> listSACRealmsPagedCallable()
Returns
Type Description
UnaryCallable<ListSACRealmsRequest,ListSACRealmsPagedResponse>
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