public static class InstanceTemplatesSettings.Builder extends ClientSettings.Builder<InstanceTemplatesSettings,InstanceTemplatesSettings.Builder>
Builder for InstanceTemplatesSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(InstanceTemplatesSettings settings)
protected Builder(InstanceTemplatesSettings settings)
Parameter
Builder(InstanceTemplatesStubSettings.Builder stubSettings)
protected Builder(InstanceTemplatesStubSettings.Builder stubSettings)
Parameter
Methods
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
Returns
build()
public InstanceTemplatesSettings build()
Returns
Overrides
Exceptions
deleteOperationSettings()
public OperationCallSettings.Builder<DeleteInstanceTemplateRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
Returns
deleteSettings()
public UnaryCallSettings.Builder<DeleteInstanceTemplateRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
Returns
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyInstanceTemplateRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns
getSettings()
public UnaryCallSettings.Builder<GetInstanceTemplateRequest,InstanceTemplate> getSettings()
Returns the builder for the settings used for calls to get.
Returns
getStubSettingsBuilder()
public InstanceTemplatesStubSettings.Builder getStubSettingsBuilder()
Returns
insertOperationSettings()
public OperationCallSettings.Builder<InsertInstanceTemplateRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
Returns
insertSettings()
public UnaryCallSettings.Builder<InsertInstanceTemplateRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
Returns
listSettings()
public PagedCallSettings.Builder<ListInstanceTemplatesRequest,InstanceTemplateList,InstanceTemplatesClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
Returns
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyInstanceTemplateRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsInstanceTemplateRequest,TestPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns