Class InstanceTemplatesSettings.Builder (1.61.0)

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

Builder for InstanceTemplatesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > InstanceTemplatesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(InstanceTemplatesSettings settings)

protected Builder(InstanceTemplatesSettings settings)
Parameter
Name Description
settings InstanceTemplatesSettings

Builder(InstanceTemplatesStubSettings.Builder stubSettings)

protected Builder(InstanceTemplatesStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings InstanceTemplatesStubSettings.Builder

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListInstanceTemplatesRequest,InstanceTemplateAggregatedList,InstanceTemplatesClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListInstanceTemplatesRequest,InstanceTemplateAggregatedList,AggregatedListPagedResponse>

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

public InstanceTemplatesSettings.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
InstanceTemplatesSettings.Builder

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteInstanceTemplateRequest,Operation,Operation> deleteOperationSettings()

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

Returns
Type Description
Builder<DeleteInstanceTemplateRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteInstanceTemplateRequest,Operation> deleteSettings()

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

Returns
Type Description
Builder<DeleteInstanceTemplateRequest,Operation>

getIamPolicySettings()

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

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

Returns
Type Description
Builder<GetIamPolicyInstanceTemplateRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetInstanceTemplateRequest,InstanceTemplate> getSettings()

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

Returns
Type Description
Builder<GetInstanceTemplateRequest,InstanceTemplate>

getStubSettingsBuilder()

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

insertOperationSettings()

public OperationCallSettings.Builder<InsertInstanceTemplateRequest,Operation,Operation> insertOperationSettings()

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

Returns
Type Description
Builder<InsertInstanceTemplateRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertInstanceTemplateRequest,Operation> insertSettings()

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

Returns
Type Description
Builder<InsertInstanceTemplateRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListInstanceTemplatesRequest,InstanceTemplateList,InstanceTemplatesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListInstanceTemplatesRequest,InstanceTemplateList,ListPagedResponse>

setIamPolicySettings()

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

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

Returns
Type Description
Builder<SetIamPolicyInstanceTemplateRequest,Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsInstanceTemplateRequest,TestPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<TestIamPermissionsInstanceTemplateRequest,TestPermissionsResponse>