Class SessionTemplateControllerStubSettings.Builder (4.38.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
NameDescription
clientContextClientContext

Builder(SessionTemplateControllerStubSettings settings)

protected Builder(SessionTemplateControllerStubSettings settings)
Parameter
NameDescription
settingsSessionTemplateControllerStubSettings

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

build()

public SessionTemplateControllerStubSettings build()
Returns
TypeDescription
SessionTemplateControllerStubSettings
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>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateSessionTemplateRequest,SessionTemplate>