Class GkeHubStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<GkeHubStubSettings,GkeHubStubSettings.Builder>
-
- com.google.cloud.gkehub.v1alpha.stub.GkeHubStubSettings.Builder
-
- Enclosing class:
- GkeHubStubSettings
public static class GkeHubStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<GkeHubStubSettings,GkeHubStubSettings.Builder>
Builder for GkeHubStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(GkeHubStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GkeHubStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.GkeHubStubSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateFeatureRequest,Feature,OperationMetadata>
createFeatureOperationSettings()
Returns the builder for the settings used for calls to createFeature.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFeatureRequest,com.google.longrunning.Operation>
createFeatureSettings()
Returns the builder for the settings used for calls to createFeature.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteFeatureRequest,com.google.protobuf.Empty,OperationMetadata>
deleteFeatureOperationSettings()
Returns the builder for the settings used for calls to deleteFeature.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteFeatureRequest,com.google.longrunning.Operation>
deleteFeatureSettings()
Returns the builder for the settings used for calls to deleteFeature.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFeatureRequest,Feature>
getFeatureSettings()
Returns the builder for the settings used for calls to getFeature.com.google.api.gax.rpc.PagedCallSettings.Builder<ListFeaturesRequest,ListFeaturesResponse,GkeHubClient.ListFeaturesPagedResponse>
listFeaturesSettings()
Returns the builder for the settings used for calls to listFeatures.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateFeatureRequest,Feature,OperationMetadata>
updateFeatureOperationSettings()
Returns the builder for the settings used for calls to updateFeature.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFeatureRequest,com.google.longrunning.Operation>
updateFeatureSettings()
Returns the builder for the settings used for calls to updateFeature.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(GkeHubStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public GkeHubStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
listFeaturesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListFeaturesRequest,ListFeaturesResponse,GkeHubClient.ListFeaturesPagedResponse> listFeaturesSettings()
Returns the builder for the settings used for calls to listFeatures.
-
getFeatureSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFeatureRequest,Feature> getFeatureSettings()
Returns the builder for the settings used for calls to getFeature.
-
createFeatureSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFeatureRequest,com.google.longrunning.Operation> createFeatureSettings()
Returns the builder for the settings used for calls to createFeature.
-
createFeatureOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateFeatureRequest,Feature,OperationMetadata> createFeatureOperationSettings()
Returns the builder for the settings used for calls to createFeature.
-
deleteFeatureSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteFeatureRequest,com.google.longrunning.Operation> deleteFeatureSettings()
Returns the builder for the settings used for calls to deleteFeature.
-
deleteFeatureOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteFeatureRequest,com.google.protobuf.Empty,OperationMetadata> deleteFeatureOperationSettings()
Returns the builder for the settings used for calls to deleteFeature.
-
updateFeatureSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFeatureRequest,com.google.longrunning.Operation> updateFeatureSettings()
Returns the builder for the settings used for calls to updateFeature.
-
updateFeatureOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateFeatureRequest,Feature,OperationMetadata> updateFeatureOperationSettings()
Returns the builder for the settings used for calls to updateFeature.
-
build
public GkeHubStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<GkeHubStubSettings,GkeHubStubSettings.Builder>
- Throws:
IOException
-
-