Class GkeHubSettings.Builder (1.22.0)

public static class GkeHubSettings.Builder extends ClientSettings.Builder<GkeHubSettings,GkeHubSettings.Builder>

Builder for GkeHubSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > GkeHubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(GkeHubSettings settings)

protected Builder(GkeHubSettings settings)
Parameter
NameDescription
settingsGkeHubSettings

Builder(GkeHubStubSettings.Builder stubSettings)

protected Builder(GkeHubStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsGkeHubStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public GkeHubSettings.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.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
GkeHubSettings.Builder

build()

public GkeHubSettings build()
Returns
TypeDescription
GkeHubSettings
Overrides
Exceptions
TypeDescription
IOException

createMembershipOperationSettings()

public OperationCallSettings.Builder<CreateMembershipRequest,Membership,OperationMetadata> createMembershipOperationSettings()

Returns the builder for the settings used for calls to createMembership.

Returns
TypeDescription
Builder<CreateMembershipRequest,Membership,OperationMetadata>

createMembershipSettings()

public UnaryCallSettings.Builder<CreateMembershipRequest,Operation> createMembershipSettings()

Returns the builder for the settings used for calls to createMembership.

Returns
TypeDescription
Builder<CreateMembershipRequest,Operation>

deleteMembershipOperationSettings()

public OperationCallSettings.Builder<DeleteMembershipRequest,Empty,OperationMetadata> deleteMembershipOperationSettings()

Returns the builder for the settings used for calls to deleteMembership.

Returns
TypeDescription
Builder<DeleteMembershipRequest,Empty,OperationMetadata>

deleteMembershipSettings()

public UnaryCallSettings.Builder<DeleteMembershipRequest,Operation> deleteMembershipSettings()

Returns the builder for the settings used for calls to deleteMembership.

Returns
TypeDescription
Builder<DeleteMembershipRequest,Operation>

generateConnectManifestSettings()

public UnaryCallSettings.Builder<GenerateConnectManifestRequest,GenerateConnectManifestResponse> generateConnectManifestSettings()

Returns the builder for the settings used for calls to generateConnectManifest.

Returns
TypeDescription
Builder<GenerateConnectManifestRequest,GenerateConnectManifestResponse>

getMembershipSettings()

public UnaryCallSettings.Builder<GetMembershipRequest,Membership> getMembershipSettings()

Returns the builder for the settings used for calls to getMembership.

Returns
TypeDescription
Builder<GetMembershipRequest,Membership>

getStubSettingsBuilder()

public GkeHubStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
GkeHubStubSettings.Builder

initializeHubSettings()

public UnaryCallSettings.Builder<InitializeHubRequest,InitializeHubResponse> initializeHubSettings()

Returns the builder for the settings used for calls to initializeHub.

Returns
TypeDescription
Builder<InitializeHubRequest,InitializeHubResponse>

listMembershipsSettings()

public PagedCallSettings.Builder<ListMembershipsRequest,ListMembershipsResponse,GkeHubClient.ListMembershipsPagedResponse> listMembershipsSettings()

Returns the builder for the settings used for calls to listMemberships.

Returns
TypeDescription
Builder<ListMembershipsRequest,ListMembershipsResponse,ListMembershipsPagedResponse>

updateMembershipOperationSettings()

public OperationCallSettings.Builder<UpdateMembershipRequest,Membership,OperationMetadata> updateMembershipOperationSettings()

Returns the builder for the settings used for calls to updateMembership.

Returns
TypeDescription
Builder<UpdateMembershipRequest,Membership,OperationMetadata>

updateMembershipSettings()

public UnaryCallSettings.Builder<UpdateMembershipRequest,Operation> updateMembershipSettings()

Returns the builder for the settings used for calls to updateMembership.

Returns
TypeDescription
Builder<UpdateMembershipRequest,Operation>