- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public class GrpcGkeHubStub extends GkeHubStub
gRPC stub implementation for the GkeHub service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcGkeHubStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
GrpcGkeHubStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcGkeHubStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcGkeHubStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(GkeHubStubSettings settings)
public static final GrpcGkeHubStub create(GkeHubStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | GkeHubStubSettings |
Returns | |
---|---|
Type | Description |
GrpcGkeHubStub |
Exceptions | |
---|---|
Type | Description |
IOException |
Constructors
GrpcGkeHubStub(GkeHubStubSettings settings, ClientContext clientContext)
protected GrpcGkeHubStub(GkeHubStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcGkeHubStub, 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 | GkeHubStubSettings |
clientContext | ClientContext |
GrpcGkeHubStub(GkeHubStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcGkeHubStub(GkeHubStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcGkeHubStub, 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 | GkeHubStubSettings |
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()
createFeatureCallable()
public UnaryCallable<CreateFeatureRequest,Operation> createFeatureCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateFeatureRequest,Operation> |
createFeatureOperationCallable()
public OperationCallable<CreateFeatureRequest,Feature,OperationMetadata> createFeatureOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateFeatureRequest,Feature,OperationMetadata> |
createMembershipCallable()
public UnaryCallable<CreateMembershipRequest,Operation> createMembershipCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateMembershipRequest,Operation> |
createMembershipOperationCallable()
public OperationCallable<CreateMembershipRequest,Membership,OperationMetadata> createMembershipOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateMembershipRequest,Membership,OperationMetadata> |
deleteFeatureCallable()
public UnaryCallable<DeleteFeatureRequest,Operation> deleteFeatureCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteFeatureRequest,Operation> |
deleteFeatureOperationCallable()
public OperationCallable<DeleteFeatureRequest,Empty,OperationMetadata> deleteFeatureOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteFeatureRequest,Empty,OperationMetadata> |
deleteMembershipCallable()
public UnaryCallable<DeleteMembershipRequest,Operation> deleteMembershipCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteMembershipRequest,Operation> |
deleteMembershipOperationCallable()
public OperationCallable<DeleteMembershipRequest,Empty,OperationMetadata> deleteMembershipOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteMembershipRequest,Empty,OperationMetadata> |
generateConnectManifestCallable()
public UnaryCallable<GenerateConnectManifestRequest,GenerateConnectManifestResponse> generateConnectManifestCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GenerateConnectManifestRequest,GenerateConnectManifestResponse> |
getFeatureCallable()
public UnaryCallable<GetFeatureRequest,Feature> getFeatureCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetFeatureRequest,Feature> |
getMembershipCallable()
public UnaryCallable<GetMembershipRequest,Membership> getMembershipCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetMembershipRequest,Membership> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listFeaturesCallable()
public UnaryCallable<ListFeaturesRequest,ListFeaturesResponse> listFeaturesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListFeaturesRequest,ListFeaturesResponse> |
listFeaturesPagedCallable()
public UnaryCallable<ListFeaturesRequest,GkeHubClient.ListFeaturesPagedResponse> listFeaturesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListFeaturesRequest,ListFeaturesPagedResponse> |
listMembershipsCallable()
public UnaryCallable<ListMembershipsRequest,ListMembershipsResponse> listMembershipsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListMembershipsRequest,ListMembershipsResponse> |
listMembershipsPagedCallable()
public UnaryCallable<ListMembershipsRequest,GkeHubClient.ListMembershipsPagedResponse> listMembershipsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListMembershipsRequest,ListMembershipsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateFeatureCallable()
public UnaryCallable<UpdateFeatureRequest,Operation> updateFeatureCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateFeatureRequest,Operation> |
updateFeatureOperationCallable()
public OperationCallable<UpdateFeatureRequest,Feature,OperationMetadata> updateFeatureOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateFeatureRequest,Feature,OperationMetadata> |
updateMembershipCallable()
public UnaryCallable<UpdateMembershipRequest,Operation> updateMembershipCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateMembershipRequest,Operation> |
updateMembershipOperationCallable()
public OperationCallable<UpdateMembershipRequest,Membership,OperationMetadata> updateMembershipOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateMembershipRequest,Membership,OperationMetadata> |