Class GkeHubSettings.Builder (1.45.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
Name Description
clientContext ClientContext

Builder(GkeHubSettings settings)

protected Builder(GkeHubSettings settings)
Parameter
Name Description
settings GkeHubSettings

Builder(GkeHubStubSettings.Builder stubSettings)

protected Builder(GkeHubStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings GkeHubStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
GkeHubSettings.Builder

build()

public GkeHubSettings build()
Returns
Type Description
GkeHubSettings
Overrides
Exceptions
Type Description
IOException

createFeatureOperationSettings()

public OperationCallSettings.Builder<CreateFeatureRequest,Feature,OperationMetadata> createFeatureOperationSettings()

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

Returns
Type Description
Builder<CreateFeatureRequest,Feature,OperationMetadata>

createFeatureSettings()

public UnaryCallSettings.Builder<CreateFeatureRequest,Operation> createFeatureSettings()

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

Returns
Type Description
Builder<CreateFeatureRequest,Operation>

createMembershipOperationSettings()

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

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

Returns
Type Description
Builder<CreateMembershipRequest,Membership,OperationMetadata>

createMembershipSettings()

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

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

Returns
Type Description
Builder<CreateMembershipRequest,Operation>

deleteFeatureOperationSettings()

public OperationCallSettings.Builder<DeleteFeatureRequest,Empty,OperationMetadata> deleteFeatureOperationSettings()

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

Returns
Type Description
Builder<DeleteFeatureRequest,Empty,OperationMetadata>

deleteFeatureSettings()

public UnaryCallSettings.Builder<DeleteFeatureRequest,Operation> deleteFeatureSettings()

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

Returns
Type Description
Builder<DeleteFeatureRequest,Operation>

deleteMembershipOperationSettings()

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

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

Returns
Type Description
Builder<DeleteMembershipRequest,Empty,OperationMetadata>

deleteMembershipSettings()

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

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

Returns
Type Description
Builder<DeleteMembershipRequest,Operation>

generateConnectManifestSettings()

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

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

Returns
Type Description
Builder<GenerateConnectManifestRequest,GenerateConnectManifestResponse>

getFeatureSettings()

public UnaryCallSettings.Builder<GetFeatureRequest,Feature> getFeatureSettings()

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

Returns
Type Description
Builder<GetFeatureRequest,Feature>

getMembershipSettings()

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

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

Returns
Type Description
Builder<GetMembershipRequest,Membership>

getStubSettingsBuilder()

public GkeHubStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
GkeHubStubSettings.Builder

listFeaturesSettings()

public PagedCallSettings.Builder<ListFeaturesRequest,ListFeaturesResponse,GkeHubClient.ListFeaturesPagedResponse> listFeaturesSettings()

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

Returns
Type Description
Builder<ListFeaturesRequest,ListFeaturesResponse,ListFeaturesPagedResponse>

listMembershipsSettings()

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

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

Returns
Type Description
Builder<ListMembershipsRequest,ListMembershipsResponse,ListMembershipsPagedResponse>

updateFeatureOperationSettings()

public OperationCallSettings.Builder<UpdateFeatureRequest,Feature,OperationMetadata> updateFeatureOperationSettings()

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

Returns
Type Description
Builder<UpdateFeatureRequest,Feature,OperationMetadata>

updateFeatureSettings()

public UnaryCallSettings.Builder<UpdateFeatureRequest,Operation> updateFeatureSettings()

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

Returns
Type Description
Builder<UpdateFeatureRequest,Operation>

updateMembershipOperationSettings()

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

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

Returns
Type Description
Builder<UpdateMembershipRequest,Membership,OperationMetadata>

updateMembershipSettings()

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

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

Returns
Type Description
Builder<UpdateMembershipRequest,Operation>