Class SessionTemplateControllerStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<SessionTemplateControllerStubSettings,SessionTemplateControllerStubSettings.Builder>
com.google.cloud.dataproc.v1.stub.SessionTemplateControllerStubSettings.Builder
- Enclosing class:
- SessionTemplateControllerStubSettings
public static class SessionTemplateControllerStubSettings.Builder
extends StubSettings.Builder<SessionTemplateControllerStubSettings,SessionTemplateControllerStubSettings.Builder>
Builder for SessionTemplateControllerStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(SessionTemplateControllerStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createSessionTemplate.UnaryCallSettings.Builder<DeleteSessionTemplateRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteSessionTemplate.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getSessionTemplate.PagedCallSettings.Builder<ListSessionTemplatesRequest,ListSessionTemplatesResponse, SessionTemplateControllerClient.ListSessionTemplatesPagedResponse> Returns the builder for the settings used for calls to listSessionTemplates.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateSessionTemplate.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public SessionTemplateControllerStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
createSessionTemplateSettings
public UnaryCallSettings.Builder<CreateSessionTemplateRequest,SessionTemplate> createSessionTemplateSettings()Returns the builder for the settings used for calls to createSessionTemplate. -
updateSessionTemplateSettings
public UnaryCallSettings.Builder<UpdateSessionTemplateRequest,SessionTemplate> updateSessionTemplateSettings()Returns the builder for the settings used for calls to updateSessionTemplate. -
getSessionTemplateSettings
public UnaryCallSettings.Builder<GetSessionTemplateRequest,SessionTemplate> getSessionTemplateSettings()Returns the builder for the settings used for calls to getSessionTemplate. -
listSessionTemplatesSettings
public PagedCallSettings.Builder<ListSessionTemplatesRequest,ListSessionTemplatesResponse, listSessionTemplatesSettings()SessionTemplateControllerClient.ListSessionTemplatesPagedResponse> Returns the builder for the settings used for calls to listSessionTemplates. -
deleteSessionTemplateSettings
public UnaryCallSettings.Builder<DeleteSessionTemplateRequest,com.google.protobuf.Empty> deleteSessionTemplateSettings()Returns the builder for the settings used for calls to deleteSessionTemplate. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
build
- Specified by:
buildin classStubSettings.Builder<SessionTemplateControllerStubSettings,SessionTemplateControllerStubSettings.Builder> - Throws:
IOException
-