Class NodeGroupsSettings.Builder (1.52.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
Name Description
clientContext ClientContext

Builder(NodeGroupsSettings settings)

protected Builder(NodeGroupsSettings settings)
Parameter
Name Description
settings NodeGroupsSettings

Builder(NodeGroupsStubSettings.Builder stubSettings)

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

Methods

addNodesOperationSettings()

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

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

Returns
Type Description
Builder<AddNodesNodeGroupRequest,Operation,Operation>

addNodesSettings()

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

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

Returns
Type Description
Builder<AddNodesNodeGroupRequest,Operation>

aggregatedListSettings()

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

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

Returns
Type Description
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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
NodeGroupsSettings.Builder

build()

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

deleteNodesOperationSettings()

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

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

Returns
Type Description
Builder<DeleteNodesNodeGroupRequest,Operation,Operation>

deleteNodesSettings()

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

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

Returns
Type Description
Builder<DeleteNodesNodeGroupRequest,Operation>

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteNodeGroupRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteNodeGroupRequest,Operation>

getIamPolicySettings()

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

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

Returns
Type Description
Builder<GetIamPolicyNodeGroupRequest,Policy>

getSettings()

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

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

Returns
Type Description
Builder<GetNodeGroupRequest,NodeGroup>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertNodeGroupRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertNodeGroupRequest,Operation>

listNodesSettings()

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

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

Returns
Type Description
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
Type Description
Builder<ListNodeGroupsRequest,NodeGroupList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
Type Description
Builder<PatchNodeGroupRequest,Operation,Operation>

patchSettings()

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

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

Returns
Type Description
Builder<PatchNodeGroupRequest,Operation>

setIamPolicySettings()

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

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

Returns
Type Description
Builder<SetIamPolicyNodeGroupRequest,Policy>

setNodeTemplateOperationSettings()

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

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

Returns
Type Description
Builder<SetNodeTemplateNodeGroupRequest,Operation,Operation>

setNodeTemplateSettings()

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

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

Returns
Type Description
Builder<SetNodeTemplateNodeGroupRequest,Operation>

simulateMaintenanceEventOperationSettings()

public OperationCallSettings.Builder<SimulateMaintenanceEventNodeGroupRequest,Operation,Operation> simulateMaintenanceEventOperationSettings()

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

Returns
Type Description
Builder<SimulateMaintenanceEventNodeGroupRequest,Operation,Operation>

simulateMaintenanceEventSettings()

public UnaryCallSettings.Builder<SimulateMaintenanceEventNodeGroupRequest,Operation> simulateMaintenanceEventSettings()

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

Returns
Type Description
Builder<SimulateMaintenanceEventNodeGroupRequest,Operation>

testIamPermissionsSettings()

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

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

Returns
Type Description
Builder<TestIamPermissionsNodeGroupRequest,TestPermissionsResponse>