Class HttpJsonGkeHubMembershipServiceStub
java.lang.Object
com.google.cloud.gkehub.v1beta1.stub.GkeHubMembershipServiceStub
com.google.cloud.gkehub.v1beta1.stub.HttpJsonGkeHubMembershipServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class HttpJsonGkeHubMembershipServiceStub
extends GkeHubMembershipServiceStub
REST stub implementation for the GkeHubMembershipService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonGkeHubMembershipServiceStub(GkeHubMembershipServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonGkeHubMembershipServiceStub, using the given settings.protectedHttpJsonGkeHubMembershipServiceStub(GkeHubMembershipServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonGkeHubMembershipServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonGkeHubMembershipServiceStubcreate(ClientContext clientContext) static final HttpJsonGkeHubMembershipServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonGkeHubMembershipServiceStubcreate(GkeHubMembershipServiceStubSettings settings) OperationCallable<DeleteMembershipRequest,com.google.protobuf.Empty, OperationMetadata> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.gkehub.v1beta1.stub.GkeHubMembershipServiceStub
getOperationsStub
-
Constructor Details
-
HttpJsonGkeHubMembershipServiceStub
protected HttpJsonGkeHubMembershipServiceStub(GkeHubMembershipServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonGkeHubMembershipServiceStub, 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.- Throws:
IOException
-
HttpJsonGkeHubMembershipServiceStub
protected HttpJsonGkeHubMembershipServiceStub(GkeHubMembershipServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonGkeHubMembershipServiceStub, 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.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonGkeHubMembershipServiceStub create(GkeHubMembershipServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonGkeHubMembershipServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonGkeHubMembershipServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classGkeHubMembershipServiceStub
-
listMembershipsCallable
- Overrides:
listMembershipsCallablein classGkeHubMembershipServiceStub
-
listMembershipsPagedCallable
public UnaryCallable<ListMembershipsRequest,GkeHubMembershipServiceClient.ListMembershipsPagedResponse> listMembershipsPagedCallable()- Overrides:
listMembershipsPagedCallablein classGkeHubMembershipServiceStub
-
getMembershipCallable
- Overrides:
getMembershipCallablein classGkeHubMembershipServiceStub
-
createMembershipCallable
- Overrides:
createMembershipCallablein classGkeHubMembershipServiceStub
-
createMembershipOperationCallable
public OperationCallable<CreateMembershipRequest,Membership, createMembershipOperationCallable()OperationMetadata> - Overrides:
createMembershipOperationCallablein classGkeHubMembershipServiceStub
-
deleteMembershipCallable
- Overrides:
deleteMembershipCallablein classGkeHubMembershipServiceStub
-
deleteMembershipOperationCallable
public OperationCallable<DeleteMembershipRequest,com.google.protobuf.Empty, deleteMembershipOperationCallable()OperationMetadata> - Overrides:
deleteMembershipOperationCallablein classGkeHubMembershipServiceStub
-
updateMembershipCallable
- Overrides:
updateMembershipCallablein classGkeHubMembershipServiceStub
-
updateMembershipOperationCallable
public OperationCallable<UpdateMembershipRequest,Membership, updateMembershipOperationCallable()OperationMetadata> - Overrides:
updateMembershipOperationCallablein classGkeHubMembershipServiceStub
-
generateConnectManifestCallable
public UnaryCallable<GenerateConnectManifestRequest,GenerateConnectManifestResponse> generateConnectManifestCallable()- Overrides:
generateConnectManifestCallablein classGkeHubMembershipServiceStub
-
validateExclusivityCallable
public UnaryCallable<ValidateExclusivityRequest,ValidateExclusivityResponse> validateExclusivityCallable()- Overrides:
validateExclusivityCallablein classGkeHubMembershipServiceStub
-
generateExclusivityManifestCallable
public UnaryCallable<GenerateExclusivityManifestRequest,GenerateExclusivityManifestResponse> generateExclusivityManifestCallable()- Overrides:
generateExclusivityManifestCallablein classGkeHubMembershipServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classGkeHubMembershipServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,GkeHubMembershipServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classGkeHubMembershipServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classGkeHubMembershipServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classGkeHubMembershipServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classGkeHubMembershipServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classGkeHubMembershipServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classGkeHubMembershipServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-