Class SessionTemplateControllerStubSettings.Builder (4.49.0)

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

Builder for SessionTemplateControllerStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SessionTemplateControllerStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SessionTemplateControllerStubSettings settings)

protected Builder(SessionTemplateControllerStubSettings settings)
Parameter
Name Description
settings SessionTemplateControllerStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

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.

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

build()

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

createSessionTemplateSettings()

public UnaryCallSettings.Builder<CreateSessionTemplateRequest,SessionTemplate> createSessionTemplateSettings()

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

Returns
Type Description
Builder<CreateSessionTemplateRequest,SessionTemplate>

deleteSessionTemplateSettings()

public UnaryCallSettings.Builder<DeleteSessionTemplateRequest,Empty> deleteSessionTemplateSettings()

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

Returns
Type Description
Builder<DeleteSessionTemplateRequest,Empty>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getSessionTemplateSettings()

public UnaryCallSettings.Builder<GetSessionTemplateRequest,SessionTemplate> getSessionTemplateSettings()

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

Returns
Type Description
Builder<GetSessionTemplateRequest,SessionTemplate>

listSessionTemplatesSettings()

public PagedCallSettings.Builder<ListSessionTemplatesRequest,ListSessionTemplatesResponse,SessionTemplateControllerClient.ListSessionTemplatesPagedResponse> listSessionTemplatesSettings()

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

Returns
Type Description
Builder<ListSessionTemplatesRequest,ListSessionTemplatesResponse,ListSessionTemplatesPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

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

updateSessionTemplateSettings()

public UnaryCallSettings.Builder<UpdateSessionTemplateRequest,SessionTemplate> updateSessionTemplateSettings()

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

Returns
Type Description
Builder<UpdateSessionTemplateRequest,SessionTemplate>