Class NodeTemplatesStubSettings.Builder (1.54.0)

public static class NodeTemplatesStubSettings.Builder extends StubSettings.Builder<NodeTemplatesStubSettings,NodeTemplatesStubSettings.Builder>

Builder for NodeTemplatesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > NodeTemplatesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(NodeTemplatesStubSettings settings)

protected Builder(NodeTemplatesStubSettings settings)
Parameter
Name Description
settings NodeTemplatesStubSettings

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 NodeTemplatesStubSettings.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
NodeTemplatesStubSettings.Builder

build()

public NodeTemplatesStubSettings build()
Returns
Type Description
NodeTemplatesStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>