Package com.google.cloud.gkehub.v1.stub
Class HttpJsonGkeHubStub
java.lang.Object
com.google.cloud.gkehub.v1.stub.GkeHubStub
com.google.cloud.gkehub.v1.stub.HttpJsonGkeHubStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
REST stub implementation for the GkeHub service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonGkeHubStub(GkeHubStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonGkeHubStub, using the given settings.protectedHttpJsonGkeHubStub(GkeHubStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonGkeHubStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonGkeHubStubcreate(ClientContext clientContext) static final HttpJsonGkeHubStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonGkeHubStubcreate(GkeHubStubSettings settings) OperationCallable<DeleteFeatureRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteFleetRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteMembershipBindingRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteMembershipRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteMembershipRBACRoleBindingRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteScopeNamespaceRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteScopeRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteScopeRBACRoleBindingRequest,com.google.protobuf.Empty, OperationMetadata> UnaryCallable<GenerateMembershipRBACRoleBindingYAMLRequest,GenerateMembershipRBACRoleBindingYAMLResponse> static List<ApiMethodDescriptor>booleanbooleanUnaryCallable<ListMembershipRBACRoleBindingsRequest,GkeHubClient.ListMembershipRBACRoleBindingsPagedResponse> voidshutdown()voidMethods inherited from class com.google.cloud.gkehub.v1.stub.GkeHubStub
getOperationsStub
-
Constructor Details
-
HttpJsonGkeHubStub
protected HttpJsonGkeHubStub(GkeHubStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonGkeHubStub, 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
-
HttpJsonGkeHubStub
protected HttpJsonGkeHubStub(GkeHubStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonGkeHubStub, 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
- Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final HttpJsonGkeHubStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classGkeHubStub
-
listMembershipsCallable
- Overrides:
listMembershipsCallablein classGkeHubStub
-
listMembershipsPagedCallable
public UnaryCallable<ListMembershipsRequest,GkeHubClient.ListMembershipsPagedResponse> listMembershipsPagedCallable()- Overrides:
listMembershipsPagedCallablein classGkeHubStub
-
listBoundMembershipsCallable
public UnaryCallable<ListBoundMembershipsRequest,ListBoundMembershipsResponse> listBoundMembershipsCallable()- Overrides:
listBoundMembershipsCallablein classGkeHubStub
-
listBoundMembershipsPagedCallable
public UnaryCallable<ListBoundMembershipsRequest,GkeHubClient.ListBoundMembershipsPagedResponse> listBoundMembershipsPagedCallable()- Overrides:
listBoundMembershipsPagedCallablein classGkeHubStub
-
listFeaturesCallable
- Overrides:
listFeaturesCallablein classGkeHubStub
-
listFeaturesPagedCallable
public UnaryCallable<ListFeaturesRequest,GkeHubClient.ListFeaturesPagedResponse> listFeaturesPagedCallable()- Overrides:
listFeaturesPagedCallablein classGkeHubStub
-
getMembershipCallable
- Overrides:
getMembershipCallablein classGkeHubStub
-
getFeatureCallable
- Overrides:
getFeatureCallablein classGkeHubStub
-
createMembershipCallable
- Overrides:
createMembershipCallablein classGkeHubStub
-
createMembershipOperationCallable
public OperationCallable<CreateMembershipRequest,Membership, createMembershipOperationCallable()OperationMetadata> - Overrides:
createMembershipOperationCallablein classGkeHubStub
-
createFeatureCallable
- Overrides:
createFeatureCallablein classGkeHubStub
-
createFeatureOperationCallable
public OperationCallable<CreateFeatureRequest,Feature, createFeatureOperationCallable()OperationMetadata> - Overrides:
createFeatureOperationCallablein classGkeHubStub
-
deleteMembershipCallable
- Overrides:
deleteMembershipCallablein classGkeHubStub
-
deleteMembershipOperationCallable
public OperationCallable<DeleteMembershipRequest,com.google.protobuf.Empty, deleteMembershipOperationCallable()OperationMetadata> - Overrides:
deleteMembershipOperationCallablein classGkeHubStub
-
deleteFeatureCallable
- Overrides:
deleteFeatureCallablein classGkeHubStub
-
deleteFeatureOperationCallable
public OperationCallable<DeleteFeatureRequest,com.google.protobuf.Empty, deleteFeatureOperationCallable()OperationMetadata> - Overrides:
deleteFeatureOperationCallablein classGkeHubStub
-
updateMembershipCallable
- Overrides:
updateMembershipCallablein classGkeHubStub
-
updateMembershipOperationCallable
public OperationCallable<UpdateMembershipRequest,Membership, updateMembershipOperationCallable()OperationMetadata> - Overrides:
updateMembershipOperationCallablein classGkeHubStub
-
updateFeatureCallable
- Overrides:
updateFeatureCallablein classGkeHubStub
-
updateFeatureOperationCallable
public OperationCallable<UpdateFeatureRequest,Feature, updateFeatureOperationCallable()OperationMetadata> - Overrides:
updateFeatureOperationCallablein classGkeHubStub
-
generateConnectManifestCallable
public UnaryCallable<GenerateConnectManifestRequest,GenerateConnectManifestResponse> generateConnectManifestCallable()- Overrides:
generateConnectManifestCallablein classGkeHubStub
-
createFleetCallable
- Overrides:
createFleetCallablein classGkeHubStub
-
createFleetOperationCallable
- Overrides:
createFleetOperationCallablein classGkeHubStub
-
getFleetCallable
- Overrides:
getFleetCallablein classGkeHubStub
-
updateFleetCallable
- Overrides:
updateFleetCallablein classGkeHubStub
-
updateFleetOperationCallable
- Overrides:
updateFleetOperationCallablein classGkeHubStub
-
deleteFleetCallable
- Overrides:
deleteFleetCallablein classGkeHubStub
-
deleteFleetOperationCallable
public OperationCallable<DeleteFleetRequest,com.google.protobuf.Empty, deleteFleetOperationCallable()OperationMetadata> - Overrides:
deleteFleetOperationCallablein classGkeHubStub
-
listFleetsCallable
- Overrides:
listFleetsCallablein classGkeHubStub
-
listFleetsPagedCallable
public UnaryCallable<ListFleetsRequest,GkeHubClient.ListFleetsPagedResponse> listFleetsPagedCallable()- Overrides:
listFleetsPagedCallablein classGkeHubStub
-
getScopeNamespaceCallable
- Overrides:
getScopeNamespaceCallablein classGkeHubStub
-
createScopeNamespaceCallable
- Overrides:
createScopeNamespaceCallablein classGkeHubStub
-
createScopeNamespaceOperationCallable
public OperationCallable<CreateScopeNamespaceRequest,Namespace, createScopeNamespaceOperationCallable()OperationMetadata> - Overrides:
createScopeNamespaceOperationCallablein classGkeHubStub
-
updateScopeNamespaceCallable
- Overrides:
updateScopeNamespaceCallablein classGkeHubStub
-
updateScopeNamespaceOperationCallable
public OperationCallable<UpdateScopeNamespaceRequest,Namespace, updateScopeNamespaceOperationCallable()OperationMetadata> - Overrides:
updateScopeNamespaceOperationCallablein classGkeHubStub
-
deleteScopeNamespaceCallable
- Overrides:
deleteScopeNamespaceCallablein classGkeHubStub
-
deleteScopeNamespaceOperationCallable
public OperationCallable<DeleteScopeNamespaceRequest,com.google.protobuf.Empty, deleteScopeNamespaceOperationCallable()OperationMetadata> - Overrides:
deleteScopeNamespaceOperationCallablein classGkeHubStub
-
listScopeNamespacesCallable
public UnaryCallable<ListScopeNamespacesRequest,ListScopeNamespacesResponse> listScopeNamespacesCallable()- Overrides:
listScopeNamespacesCallablein classGkeHubStub
-
listScopeNamespacesPagedCallable
public UnaryCallable<ListScopeNamespacesRequest,GkeHubClient.ListScopeNamespacesPagedResponse> listScopeNamespacesPagedCallable()- Overrides:
listScopeNamespacesPagedCallablein classGkeHubStub
-
getScopeRBACRoleBindingCallable
public UnaryCallable<GetScopeRBACRoleBindingRequest,RBACRoleBinding> getScopeRBACRoleBindingCallable()- Overrides:
getScopeRBACRoleBindingCallablein classGkeHubStub
-
createScopeRBACRoleBindingCallable
public UnaryCallable<CreateScopeRBACRoleBindingRequest,Operation> createScopeRBACRoleBindingCallable()- Overrides:
createScopeRBACRoleBindingCallablein classGkeHubStub
-
createScopeRBACRoleBindingOperationCallable
public OperationCallable<CreateScopeRBACRoleBindingRequest,RBACRoleBinding, createScopeRBACRoleBindingOperationCallable()OperationMetadata> - Overrides:
createScopeRBACRoleBindingOperationCallablein classGkeHubStub
-
updateScopeRBACRoleBindingCallable
public UnaryCallable<UpdateScopeRBACRoleBindingRequest,Operation> updateScopeRBACRoleBindingCallable()- Overrides:
updateScopeRBACRoleBindingCallablein classGkeHubStub
-
updateScopeRBACRoleBindingOperationCallable
public OperationCallable<UpdateScopeRBACRoleBindingRequest,RBACRoleBinding, updateScopeRBACRoleBindingOperationCallable()OperationMetadata> - Overrides:
updateScopeRBACRoleBindingOperationCallablein classGkeHubStub
-
deleteScopeRBACRoleBindingCallable
public UnaryCallable<DeleteScopeRBACRoleBindingRequest,Operation> deleteScopeRBACRoleBindingCallable()- Overrides:
deleteScopeRBACRoleBindingCallablein classGkeHubStub
-
deleteScopeRBACRoleBindingOperationCallable
public OperationCallable<DeleteScopeRBACRoleBindingRequest,com.google.protobuf.Empty, deleteScopeRBACRoleBindingOperationCallable()OperationMetadata> - Overrides:
deleteScopeRBACRoleBindingOperationCallablein classGkeHubStub
-
listScopeRBACRoleBindingsCallable
public UnaryCallable<ListScopeRBACRoleBindingsRequest,ListScopeRBACRoleBindingsResponse> listScopeRBACRoleBindingsCallable()- Overrides:
listScopeRBACRoleBindingsCallablein classGkeHubStub
-
listScopeRBACRoleBindingsPagedCallable
public UnaryCallable<ListScopeRBACRoleBindingsRequest,GkeHubClient.ListScopeRBACRoleBindingsPagedResponse> listScopeRBACRoleBindingsPagedCallable()- Overrides:
listScopeRBACRoleBindingsPagedCallablein classGkeHubStub
-
getScopeCallable
- Overrides:
getScopeCallablein classGkeHubStub
-
createScopeCallable
- Overrides:
createScopeCallablein classGkeHubStub
-
createScopeOperationCallable
- Overrides:
createScopeOperationCallablein classGkeHubStub
-
updateScopeCallable
- Overrides:
updateScopeCallablein classGkeHubStub
-
updateScopeOperationCallable
- Overrides:
updateScopeOperationCallablein classGkeHubStub
-
deleteScopeCallable
- Overrides:
deleteScopeCallablein classGkeHubStub
-
deleteScopeOperationCallable
public OperationCallable<DeleteScopeRequest,com.google.protobuf.Empty, deleteScopeOperationCallable()OperationMetadata> - Overrides:
deleteScopeOperationCallablein classGkeHubStub
-
listScopesCallable
- Overrides:
listScopesCallablein classGkeHubStub
-
listScopesPagedCallable
public UnaryCallable<ListScopesRequest,GkeHubClient.ListScopesPagedResponse> listScopesPagedCallable()- Overrides:
listScopesPagedCallablein classGkeHubStub
-
listPermittedScopesCallable
public UnaryCallable<ListPermittedScopesRequest,ListPermittedScopesResponse> listPermittedScopesCallable()- Overrides:
listPermittedScopesCallablein classGkeHubStub
-
listPermittedScopesPagedCallable
public UnaryCallable<ListPermittedScopesRequest,GkeHubClient.ListPermittedScopesPagedResponse> listPermittedScopesPagedCallable()- Overrides:
listPermittedScopesPagedCallablein classGkeHubStub
-
getMembershipBindingCallable
- Overrides:
getMembershipBindingCallablein classGkeHubStub
-
createMembershipBindingCallable
- Overrides:
createMembershipBindingCallablein classGkeHubStub
-
createMembershipBindingOperationCallable
public OperationCallable<CreateMembershipBindingRequest,MembershipBinding, createMembershipBindingOperationCallable()OperationMetadata> - Overrides:
createMembershipBindingOperationCallablein classGkeHubStub
-
updateMembershipBindingCallable
- Overrides:
updateMembershipBindingCallablein classGkeHubStub
-
updateMembershipBindingOperationCallable
public OperationCallable<UpdateMembershipBindingRequest,MembershipBinding, updateMembershipBindingOperationCallable()OperationMetadata> - Overrides:
updateMembershipBindingOperationCallablein classGkeHubStub
-
deleteMembershipBindingCallable
- Overrides:
deleteMembershipBindingCallablein classGkeHubStub
-
deleteMembershipBindingOperationCallable
public OperationCallable<DeleteMembershipBindingRequest,com.google.protobuf.Empty, deleteMembershipBindingOperationCallable()OperationMetadata> - Overrides:
deleteMembershipBindingOperationCallablein classGkeHubStub
-
listMembershipBindingsCallable
public UnaryCallable<ListMembershipBindingsRequest,ListMembershipBindingsResponse> listMembershipBindingsCallable()- Overrides:
listMembershipBindingsCallablein classGkeHubStub
-
listMembershipBindingsPagedCallable
public UnaryCallable<ListMembershipBindingsRequest,GkeHubClient.ListMembershipBindingsPagedResponse> listMembershipBindingsPagedCallable()- Overrides:
listMembershipBindingsPagedCallablein classGkeHubStub
-
getMembershipRBACRoleBindingCallable
public UnaryCallable<GetMembershipRBACRoleBindingRequest,RBACRoleBinding> getMembershipRBACRoleBindingCallable()- Overrides:
getMembershipRBACRoleBindingCallablein classGkeHubStub
-
createMembershipRBACRoleBindingCallable
public UnaryCallable<CreateMembershipRBACRoleBindingRequest,Operation> createMembershipRBACRoleBindingCallable()- Overrides:
createMembershipRBACRoleBindingCallablein classGkeHubStub
-
createMembershipRBACRoleBindingOperationCallable
public OperationCallable<CreateMembershipRBACRoleBindingRequest,RBACRoleBinding, createMembershipRBACRoleBindingOperationCallable()OperationMetadata> - Overrides:
createMembershipRBACRoleBindingOperationCallablein classGkeHubStub
-
updateMembershipRBACRoleBindingCallable
public UnaryCallable<UpdateMembershipRBACRoleBindingRequest,Operation> updateMembershipRBACRoleBindingCallable()- Overrides:
updateMembershipRBACRoleBindingCallablein classGkeHubStub
-
updateMembershipRBACRoleBindingOperationCallable
public OperationCallable<UpdateMembershipRBACRoleBindingRequest,RBACRoleBinding, updateMembershipRBACRoleBindingOperationCallable()OperationMetadata> - Overrides:
updateMembershipRBACRoleBindingOperationCallablein classGkeHubStub
-
deleteMembershipRBACRoleBindingCallable
public UnaryCallable<DeleteMembershipRBACRoleBindingRequest,Operation> deleteMembershipRBACRoleBindingCallable()- Overrides:
deleteMembershipRBACRoleBindingCallablein classGkeHubStub
-
deleteMembershipRBACRoleBindingOperationCallable
public OperationCallable<DeleteMembershipRBACRoleBindingRequest,com.google.protobuf.Empty, deleteMembershipRBACRoleBindingOperationCallable()OperationMetadata> - Overrides:
deleteMembershipRBACRoleBindingOperationCallablein classGkeHubStub
-
listMembershipRBACRoleBindingsCallable
public UnaryCallable<ListMembershipRBACRoleBindingsRequest,ListMembershipRBACRoleBindingsResponse> listMembershipRBACRoleBindingsCallable()- Overrides:
listMembershipRBACRoleBindingsCallablein classGkeHubStub
-
listMembershipRBACRoleBindingsPagedCallable
public UnaryCallable<ListMembershipRBACRoleBindingsRequest,GkeHubClient.ListMembershipRBACRoleBindingsPagedResponse> listMembershipRBACRoleBindingsPagedCallable()- Overrides:
listMembershipRBACRoleBindingsPagedCallablein classGkeHubStub
-
generateMembershipRBACRoleBindingYAMLCallable
public UnaryCallable<GenerateMembershipRBACRoleBindingYAMLRequest,GenerateMembershipRBACRoleBindingYAMLResponse> generateMembershipRBACRoleBindingYAMLCallable()- Overrides:
generateMembershipRBACRoleBindingYAMLCallablein classGkeHubStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classGkeHubStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-