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
createFeatureOperationSettings()
public OperationCallSettings.Builder<CreateFeatureRequest,Feature,OperationMetadata> createFeatureOperationSettings()
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 createFeature.
createFeatureSettings()
public UnaryCallSettings.Builder<CreateFeatureRequest,Operation> createFeatureSettings()
Returns the builder for the settings used for calls to createFeature.
deleteFeatureOperationSettings()
public OperationCallSettings.Builder<DeleteFeatureRequest,Empty,OperationMetadata> deleteFeatureOperationSettings()
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 deleteFeature.
deleteFeatureSettings()
public UnaryCallSettings.Builder<DeleteFeatureRequest,Operation> deleteFeatureSettings()
Returns the builder for the settings used for calls to deleteFeature.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getFeatureSettings()
public UnaryCallSettings.Builder<GetFeatureRequest,Feature> getFeatureSettings()
Returns the builder for the settings used for calls to getFeature.
listFeaturesSettings()
public PagedCallSettings.Builder<ListFeaturesRequest,ListFeaturesResponse,GkeHubClient.ListFeaturesPagedResponse> listFeaturesSettings()
Returns the builder for the settings used for calls to listFeatures.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
updateFeatureOperationSettings()
public OperationCallSettings.Builder<UpdateFeatureRequest,Feature,OperationMetadata> updateFeatureOperationSettings()
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 updateFeature.
updateFeatureSettings()
public UnaryCallSettings.Builder<UpdateFeatureRequest,Operation> updateFeatureSettings()
Returns the builder for the settings used for calls to updateFeature.