Class NodeTemplatesSettings.Builder (1.42.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
NameDescription
clientContextClientContext

Builder(NodeTemplatesSettings settings)

protected Builder(NodeTemplatesSettings settings)
Parameter
NameDescription
settingsNodeTemplatesSettings

Builder(NodeTemplatesStubSettings.Builder stubSettings)

protected Builder(NodeTemplatesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsNodeTemplatesStubSettings.Builder

Methods

aggregatedListSettings()

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

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

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

build()

public NodeTemplatesSettings build()
Returns
TypeDescription
NodeTemplatesSettings
Overrides
Exceptions
TypeDescription
IOException

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteNodeTemplateRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteNodeTemplateRequest,Operation>

getIamPolicySettings()

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

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

Returns
TypeDescription
Builder<GetIamPolicyNodeTemplateRequest,Policy>

getSettings()

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

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

Returns
TypeDescription
Builder<GetNodeTemplateRequest,NodeTemplate>

getStubSettingsBuilder()

public NodeTemplatesStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
NodeTemplatesStubSettings.Builder

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertNodeTemplateRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertNodeTemplateRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListNodeTemplatesRequest,NodeTemplateList,ListPagedResponse>

setIamPolicySettings()

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

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

Returns
TypeDescription
Builder<SetIamPolicyNodeTemplateRequest,Policy>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsNodeTemplateRequest,TestPermissionsResponse>