Class GkeHubStubSettings.Builder (1.42.0)

public static class GkeHubStubSettings.Builder extends StubSettings.Builder<GkeHubStubSettings,GkeHubStubSettings.Builder>

Builder for GkeHubStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > GkeHubStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(GkeHubStubSettings settings)

protected Builder(GkeHubStubSettings settings)
Parameter
Name Description
settings GkeHubStubSettings

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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
GkeHubStubSettings.Builder

build()

public GkeHubStubSettings build()
Returns
Type Description
GkeHubStubSettings
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>

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>

getFeatureSettings()

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

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

Returns
Type Description
Builder<GetFeatureRequest,Feature>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

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>