Class NodeTemplatesSettings.Builder (1.56.0)

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

Builder for NodeTemplatesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > NodeTemplatesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(NodeTemplatesSettings settings)

protected Builder(NodeTemplatesSettings settings)
Parameter
Name Description
settings NodeTemplatesSettings

Builder(NodeTemplatesStubSettings.Builder stubSettings)

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

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListNodeTemplatesRequest,NodeTemplateAggregatedList,NodeTemplatesClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
Type Description
Builder<AggregatedListNodeTemplatesRequest,NodeTemplateAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteNodeTemplateRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteNodeTemplateRequest,Operation>

getIamPolicySettings()

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

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

Returns
Type Description
Builder<GetIamPolicyNodeTemplateRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetNodeTemplateRequest,NodeTemplate> getSettings()

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

Returns
Type Description
Builder<GetNodeTemplateRequest,NodeTemplate>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertNodeTemplateRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertNodeTemplateRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListNodeTemplatesRequest,NodeTemplateList,NodeTemplatesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListNodeTemplatesRequest,NodeTemplateList,ListPagedResponse>

setIamPolicySettings()

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

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

Returns
Type Description
Builder<SetIamPolicyNodeTemplateRequest,Policy>

testIamPermissionsSettings()

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

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

Returns
Type Description
Builder<TestIamPermissionsNodeTemplateRequest,TestPermissionsResponse>