Class NodeGroupsSettings.Builder (1.21.0)

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

Builder for NodeGroupsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > NodeGroupsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(NodeGroupsSettings settings)

protected Builder(NodeGroupsSettings settings)
Parameter
NameDescription
settingsNodeGroupsSettings

Builder(NodeGroupsStubSettings.Builder stubSettings)

protected Builder(NodeGroupsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsNodeGroupsStubSettings.Builder

Methods

addNodesOperationSettings()

public OperationCallSettings.Builder<AddNodesNodeGroupRequest,Operation,Operation> addNodesOperationSettings()

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

Returns
TypeDescription
Builder<AddNodesNodeGroupRequest,Operation,Operation>

addNodesSettings()

public UnaryCallSettings.Builder<AddNodesNodeGroupRequest,Operation> addNodesSettings()

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

Returns
TypeDescription
Builder<AddNodesNodeGroupRequest,Operation>

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListNodeGroupsRequest,NodeGroupAggregatedList,NodeGroupsClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns
TypeDescription
Builder<AggregatedListNodeGroupsRequest,NodeGroupAggregatedList,AggregatedListPagedResponse>

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

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

build()

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

deleteNodesOperationSettings()

public OperationCallSettings.Builder<DeleteNodesNodeGroupRequest,Operation,Operation> deleteNodesOperationSettings()

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

Returns
TypeDescription
Builder<DeleteNodesNodeGroupRequest,Operation,Operation>

deleteNodesSettings()

public UnaryCallSettings.Builder<DeleteNodesNodeGroupRequest,Operation> deleteNodesSettings()

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

Returns
TypeDescription
Builder<DeleteNodesNodeGroupRequest,Operation>

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteNodeGroupRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteNodeGroupRequest,Operation>

getIamPolicySettings()

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

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

Returns
TypeDescription
Builder<GetIamPolicyNodeGroupRequest,Policy>

getSettings()

public UnaryCallSettings.Builder<GetNodeGroupRequest,NodeGroup> getSettings()

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

Returns
TypeDescription
Builder<GetNodeGroupRequest,NodeGroup>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertNodeGroupRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertNodeGroupRequest,Operation>

listNodesSettings()

public PagedCallSettings.Builder<ListNodesNodeGroupsRequest,NodeGroupsListNodes,NodeGroupsClient.ListNodesPagedResponse> listNodesSettings()

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

Returns
TypeDescription
Builder<ListNodesNodeGroupsRequest,NodeGroupsListNodes,ListNodesPagedResponse>

listSettings()

public PagedCallSettings.Builder<ListNodeGroupsRequest,NodeGroupList,NodeGroupsClient.ListPagedResponse> listSettings()

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

Returns
TypeDescription
Builder<ListNodeGroupsRequest,NodeGroupList,ListPagedResponse>

patchOperationSettings()

public OperationCallSettings.Builder<PatchNodeGroupRequest,Operation,Operation> patchOperationSettings()

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

Returns
TypeDescription
Builder<PatchNodeGroupRequest,Operation,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchNodeGroupRequest,Operation> patchSettings()

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

Returns
TypeDescription
Builder<PatchNodeGroupRequest,Operation>

setIamPolicySettings()

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

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

Returns
TypeDescription
Builder<SetIamPolicyNodeGroupRequest,Policy>

setNodeTemplateOperationSettings()

public OperationCallSettings.Builder<SetNodeTemplateNodeGroupRequest,Operation,Operation> setNodeTemplateOperationSettings()

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

Returns
TypeDescription
Builder<SetNodeTemplateNodeGroupRequest,Operation,Operation>

setNodeTemplateSettings()

public UnaryCallSettings.Builder<SetNodeTemplateNodeGroupRequest,Operation> setNodeTemplateSettings()

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

Returns
TypeDescription
Builder<SetNodeTemplateNodeGroupRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsNodeGroupRequest,TestPermissionsResponse>