Class NodeGroupControllerStubSettings.Builder (4.37.0)

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

Builder for NodeGroupControllerStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > NodeGroupControllerStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(NodeGroupControllerStubSettings settings)

protected Builder(NodeGroupControllerStubSettings settings)
Parameter
NameDescription
settingsNodeGroupControllerStubSettings

Methods

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

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

build()

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

createNodeGroupOperationSettings()

public OperationCallSettings.Builder<CreateNodeGroupRequest,NodeGroup,NodeGroupOperationMetadata> createNodeGroupOperationSettings()

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

Returns
TypeDescription
Builder<CreateNodeGroupRequest,NodeGroup,NodeGroupOperationMetadata>

createNodeGroupSettings()

public UnaryCallSettings.Builder<CreateNodeGroupRequest,Operation> createNodeGroupSettings()

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

Returns
TypeDescription
Builder<CreateNodeGroupRequest,Operation>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getIamPolicySettings()

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

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

Returns
TypeDescription
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getNodeGroupSettings()

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

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

Returns
TypeDescription
Builder<GetNodeGroupRequest,NodeGroup>

resizeNodeGroupOperationSettings()

public OperationCallSettings.Builder<ResizeNodeGroupRequest,NodeGroup,NodeGroupOperationMetadata> resizeNodeGroupOperationSettings()

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

Returns
TypeDescription
Builder<ResizeNodeGroupRequest,NodeGroup,NodeGroupOperationMetadata>

resizeNodeGroupSettings()

public UnaryCallSettings.Builder<ResizeNodeGroupRequest,Operation> resizeNodeGroupSettings()

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

Returns
TypeDescription
Builder<ResizeNodeGroupRequest,Operation>

setIamPolicySettings()

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

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

Returns
TypeDescription
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

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