Class SessionTemplateControllerSettings.Builder (4.33.0)

public static class SessionTemplateControllerSettings.Builder extends ClientSettings.Builder<SessionTemplateControllerSettings,SessionTemplateControllerSettings.Builder>

Builder for SessionTemplateControllerSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > SessionTemplateControllerSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(SessionTemplateControllerSettings settings)

protected Builder(SessionTemplateControllerSettings settings)
Parameter
NameDescription
settingsSessionTemplateControllerSettings

Builder(SessionTemplateControllerStubSettings.Builder stubSettings)

protected Builder(SessionTemplateControllerStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsSessionTemplateControllerStubSettings.Builder

Methods

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

public SessionTemplateControllerSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
SessionTemplateControllerSettings.Builder

build()

public SessionTemplateControllerSettings build()
Returns
TypeDescription
SessionTemplateControllerSettings
Overrides
Exceptions
TypeDescription
IOException

createSessionTemplateSettings()

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

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

Returns
TypeDescription
Builder<CreateSessionTemplateRequest,SessionTemplate>

deleteSessionTemplateSettings()

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

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

Returns
TypeDescription
Builder<DeleteSessionTemplateRequest,Empty>

getIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<GetSessionTemplateRequest,SessionTemplate>

getStubSettingsBuilder()

public SessionTemplateControllerStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
SessionTemplateControllerStubSettings.Builder

listSessionTemplatesSettings()

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

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

Returns
TypeDescription
Builder<ListSessionTemplatesRequest,ListSessionTemplatesResponse,ListSessionTemplatesPagedResponse>

setIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateSessionTemplateSettings()

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

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

Returns
TypeDescription
Builder<UpdateSessionTemplateRequest,SessionTemplate>