Class HttpJsonGkeHubMembershipServiceStub
- java.lang.Object
-
- com.google.cloud.gkehub.v1beta1.stub.GkeHubMembershipServiceStub
-
- com.google.cloud.gkehub.v1beta1.stub.HttpJsonGkeHubMembershipServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.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
Constructors Modifier Constructor Description protected
HttpJsonGkeHubMembershipServiceStub(GkeHubMembershipServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonGkeHubMembershipServiceStub, using the given settings.protected
HttpJsonGkeHubMembershipServiceStub(GkeHubMembershipServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonGkeHubMembershipServiceStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
awaitTermination(long duration, TimeUnit unit)
void
close()
static HttpJsonGkeHubMembershipServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static HttpJsonGkeHubMembershipServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
static HttpJsonGkeHubMembershipServiceStub
create(GkeHubMembershipServiceStubSettings settings)
com.google.api.gax.rpc.UnaryCallable<CreateMembershipRequest,com.google.longrunning.Operation>
createMembershipCallable()
com.google.api.gax.rpc.OperationCallable<CreateMembershipRequest,Membership,OperationMetadata>
createMembershipOperationCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteMembershipRequest,com.google.longrunning.Operation>
deleteMembershipCallable()
com.google.api.gax.rpc.OperationCallable<DeleteMembershipRequest,com.google.protobuf.Empty,OperationMetadata>
deleteMembershipOperationCallable()
com.google.api.gax.rpc.UnaryCallable<GenerateConnectManifestRequest,GenerateConnectManifestResponse>
generateConnectManifestCallable()
com.google.api.gax.rpc.UnaryCallable<GenerateExclusivityManifestRequest,GenerateExclusivityManifestResponse>
generateExclusivityManifestCallable()
com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub
getHttpJsonOperationsStub()
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicyCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationCallable()
com.google.api.gax.rpc.UnaryCallable<GetMembershipRequest,Membership>
getMembershipCallable()
static List<com.google.api.gax.httpjson.ApiMethodDescriptor>
getMethodDescriptors()
boolean
isShutdown()
boolean
isTerminated()
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
listLocationsCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,GkeHubMembershipServiceClient.ListLocationsPagedResponse>
listLocationsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListMembershipsRequest,ListMembershipsResponse>
listMembershipsCallable()
com.google.api.gax.rpc.UnaryCallable<ListMembershipsRequest,GkeHubMembershipServiceClient.ListMembershipsPagedResponse>
listMembershipsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicyCallable()
void
shutdown()
void
shutdownNow()
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsCallable()
com.google.api.gax.rpc.UnaryCallable<UpdateMembershipRequest,com.google.longrunning.Operation>
updateMembershipCallable()
com.google.api.gax.rpc.OperationCallable<UpdateMembershipRequest,Membership,OperationMetadata>
updateMembershipOperationCallable()
com.google.api.gax.rpc.UnaryCallable<ValidateExclusivityRequest,ValidateExclusivityResponse>
validateExclusivityCallable()
-
Methods inherited from class com.google.cloud.gkehub.v1beta1.stub.GkeHubMembershipServiceStub
getOperationsStub
-
-
-
-
Constructor Detail
-
HttpJsonGkeHubMembershipServiceStub
protected HttpJsonGkeHubMembershipServiceStub(GkeHubMembershipServiceStubSettings settings, com.google.api.gax.rpc.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, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.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 Detail
-
create
public static final HttpJsonGkeHubMembershipServiceStub create(GkeHubMembershipServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonGkeHubMembershipServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonGkeHubMembershipServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
- Overrides:
getHttpJsonOperationsStub
in classGkeHubMembershipServiceStub
-
listMembershipsCallable
public com.google.api.gax.rpc.UnaryCallable<ListMembershipsRequest,ListMembershipsResponse> listMembershipsCallable()
- Overrides:
listMembershipsCallable
in classGkeHubMembershipServiceStub
-
listMembershipsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListMembershipsRequest,GkeHubMembershipServiceClient.ListMembershipsPagedResponse> listMembershipsPagedCallable()
- Overrides:
listMembershipsPagedCallable
in classGkeHubMembershipServiceStub
-
getMembershipCallable
public com.google.api.gax.rpc.UnaryCallable<GetMembershipRequest,Membership> getMembershipCallable()
- Overrides:
getMembershipCallable
in classGkeHubMembershipServiceStub
-
createMembershipCallable
public com.google.api.gax.rpc.UnaryCallable<CreateMembershipRequest,com.google.longrunning.Operation> createMembershipCallable()
- Overrides:
createMembershipCallable
in classGkeHubMembershipServiceStub
-
createMembershipOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateMembershipRequest,Membership,OperationMetadata> createMembershipOperationCallable()
- Overrides:
createMembershipOperationCallable
in classGkeHubMembershipServiceStub
-
deleteMembershipCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteMembershipRequest,com.google.longrunning.Operation> deleteMembershipCallable()
- Overrides:
deleteMembershipCallable
in classGkeHubMembershipServiceStub
-
deleteMembershipOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteMembershipRequest,com.google.protobuf.Empty,OperationMetadata> deleteMembershipOperationCallable()
- Overrides:
deleteMembershipOperationCallable
in classGkeHubMembershipServiceStub
-
updateMembershipCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateMembershipRequest,com.google.longrunning.Operation> updateMembershipCallable()
- Overrides:
updateMembershipCallable
in classGkeHubMembershipServiceStub
-
updateMembershipOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateMembershipRequest,Membership,OperationMetadata> updateMembershipOperationCallable()
- Overrides:
updateMembershipOperationCallable
in classGkeHubMembershipServiceStub
-
generateConnectManifestCallable
public com.google.api.gax.rpc.UnaryCallable<GenerateConnectManifestRequest,GenerateConnectManifestResponse> generateConnectManifestCallable()
- Overrides:
generateConnectManifestCallable
in classGkeHubMembershipServiceStub
-
validateExclusivityCallable
public com.google.api.gax.rpc.UnaryCallable<ValidateExclusivityRequest,ValidateExclusivityResponse> validateExclusivityCallable()
- Overrides:
validateExclusivityCallable
in classGkeHubMembershipServiceStub
-
generateExclusivityManifestCallable
public com.google.api.gax.rpc.UnaryCallable<GenerateExclusivityManifestRequest,GenerateExclusivityManifestResponse> generateExclusivityManifestCallable()
- Overrides:
generateExclusivityManifestCallable
in classGkeHubMembershipServiceStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallable
in classGkeHubMembershipServiceStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,GkeHubMembershipServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallable
in classGkeHubMembershipServiceStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallable
in classGkeHubMembershipServiceStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classGkeHubMembershipServiceStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classGkeHubMembershipServiceStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallable
in classGkeHubMembershipServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classGkeHubMembershipServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-