Class SessionTemplateControllerSettings.Builder (4.39.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
Name Description
clientContext ClientContext

Builder(SessionTemplateControllerSettings settings)

protected Builder(SessionTemplateControllerSettings settings)
Parameter
Name Description
settings SessionTemplateControllerSettings

Builder(SessionTemplateControllerStubSettings.Builder stubSettings)

protected Builder(SessionTemplateControllerStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings SessionTemplateControllerStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
SessionTemplateControllerSettings.Builder

build()

public SessionTemplateControllerSettings build()
Returns
Type Description
SessionTemplateControllerSettings
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>

getStubSettingsBuilder()

public SessionTemplateControllerStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
SessionTemplateControllerStubSettings.Builder

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>

updateSessionTemplateSettings()

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

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

Returns
Type Description
Builder<UpdateSessionTemplateRequest,SessionTemplate>