Class NodeTemplatesStubSettings.Builder (1.12.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
NameDescription
clientContextClientContext

Builder(NodeTemplatesStubSettings settings)

protected Builder(NodeTemplatesStubSettings settings)
Parameter
NameDescription
settingsNodeTemplatesStubSettings

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

build()

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

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>

unaryMethodSettingsBuilders()

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