public static class GkeHubStubSettings.Builder extends StubSettings.Builder<GkeHubStubSettings,GkeHubStubSettings.Builder>
Builder for GkeHubStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(GkeHubStubSettings settings)
protected Builder(GkeHubStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public GkeHubStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
build()
public GkeHubStubSettings build()
Overrides
createMembershipOperationSettings()
public OperationCallSettings.Builder<CreateMembershipRequest,Membership,OperationMetadata> createMembershipOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createMembership.
createMembershipSettings()
public UnaryCallSettings.Builder<CreateMembershipRequest,Operation> createMembershipSettings()
Returns the builder for the settings used for calls to createMembership.
deleteMembershipOperationSettings()
public OperationCallSettings.Builder<DeleteMembershipRequest,Empty,OperationMetadata> deleteMembershipOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteMembership.
deleteMembershipSettings()
public UnaryCallSettings.Builder<DeleteMembershipRequest,Operation> deleteMembershipSettings()
Returns the builder for the settings used for calls to deleteMembership.
generateConnectManifestSettings()
public UnaryCallSettings.Builder<GenerateConnectManifestRequest,GenerateConnectManifestResponse> generateConnectManifestSettings()
Returns the builder for the settings used for calls to generateConnectManifest.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getMembershipSettings()
public UnaryCallSettings.Builder<GetMembershipRequest,Membership> getMembershipSettings()
Returns the builder for the settings used for calls to getMembership.
initializeHubSettings()
public UnaryCallSettings.Builder<InitializeHubRequest,InitializeHubResponse> initializeHubSettings()
Returns the builder for the settings used for calls to initializeHub.
listMembershipsSettings()
public PagedCallSettings.Builder<ListMembershipsRequest,ListMembershipsResponse,GkeHubClient.ListMembershipsPagedResponse> listMembershipsSettings()
Returns the builder for the settings used for calls to listMemberships.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
updateMembershipOperationSettings()
public OperationCallSettings.Builder<UpdateMembershipRequest,Membership,OperationMetadata> updateMembershipOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to updateMembership.
updateMembershipSettings()
public UnaryCallSettings.Builder<UpdateMembershipRequest,Operation> updateMembershipSettings()
Returns the builder for the settings used for calls to updateMembership.