Class SessionTemplateControllerStubSettings.Builder (4.42.0)

See more code actions.
public static class SessionTemplateControllerStubSettings.Builder extends StubSettings.Builder<SessionTemplateControllerStubSettings,SessionTemplateControllerStubSettings.Builder>

Builder for SessionTemplateControllerStubSettings.

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>

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.

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.

listSessionTemplatesSettings()

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

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

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.