Class ClusterManagerStubSettings.Builder (2.17.0)

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

Builder for ClusterManagerStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ClusterManagerStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ClusterManagerStubSettings settings)

protected Builder(ClusterManagerStubSettings settings)
Parameter
NameDescription
settingsClusterManagerStubSettings

Methods

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

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

build()

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

cancelOperationSettings()

public UnaryCallSettings.Builder<CancelOperationRequest,Empty> cancelOperationSettings()

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

Returns
TypeDescription
Builder<CancelOperationRequest,Empty>

completeIPRotationSettings()

public UnaryCallSettings.Builder<CompleteIPRotationRequest,Operation> completeIPRotationSettings()

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

Returns
TypeDescription
Builder<CompleteIPRotationRequest,Operation>

completeNodePoolUpgradeSettings()

public UnaryCallSettings.Builder<CompleteNodePoolUpgradeRequest,Empty> completeNodePoolUpgradeSettings()

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

Returns
TypeDescription
Builder<CompleteNodePoolUpgradeRequest,Empty>

createClusterSettings()

public UnaryCallSettings.Builder<CreateClusterRequest,Operation> createClusterSettings()

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

Returns
TypeDescription
Builder<CreateClusterRequest,Operation>

createNodePoolSettings()

public UnaryCallSettings.Builder<CreateNodePoolRequest,Operation> createNodePoolSettings()

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

Returns
TypeDescription
Builder<CreateNodePoolRequest,Operation>

deleteClusterSettings()

public UnaryCallSettings.Builder<DeleteClusterRequest,Operation> deleteClusterSettings()

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

Returns
TypeDescription
Builder<DeleteClusterRequest,Operation>

deleteNodePoolSettings()

public UnaryCallSettings.Builder<DeleteNodePoolRequest,Operation> deleteNodePoolSettings()

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

Returns
TypeDescription
Builder<DeleteNodePoolRequest,Operation>

getClusterSettings()

public UnaryCallSettings.Builder<GetClusterRequest,Cluster> getClusterSettings()

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

Returns
TypeDescription
Builder<GetClusterRequest,Cluster>

getJSONWebKeysSettings()

public UnaryCallSettings.Builder<GetJSONWebKeysRequest,GetJSONWebKeysResponse> getJSONWebKeysSettings()

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

Returns
TypeDescription
Builder<GetJSONWebKeysRequest,GetJSONWebKeysResponse>

getNodePoolSettings()

public UnaryCallSettings.Builder<GetNodePoolRequest,NodePool> getNodePoolSettings()

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

Returns
TypeDescription
Builder<GetNodePoolRequest,NodePool>

getOperationSettings()

public UnaryCallSettings.Builder<GetOperationRequest,Operation> getOperationSettings()

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

Returns
TypeDescription
Builder<GetOperationRequest,Operation>

getServerConfigSettings()

public UnaryCallSettings.Builder<GetServerConfigRequest,ServerConfig> getServerConfigSettings()

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

Returns
TypeDescription
Builder<GetServerConfigRequest,ServerConfig>

listClustersSettings()

public UnaryCallSettings.Builder<ListClustersRequest,ListClustersResponse> listClustersSettings()

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

Returns
TypeDescription
Builder<ListClustersRequest,ListClustersResponse>

listNodePoolsSettings()

public UnaryCallSettings.Builder<ListNodePoolsRequest,ListNodePoolsResponse> listNodePoolsSettings()

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

Returns
TypeDescription
Builder<ListNodePoolsRequest,ListNodePoolsResponse>

listOperationsSettings()

public UnaryCallSettings.Builder<ListOperationsRequest,ListOperationsResponse> listOperationsSettings()

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

Returns
TypeDescription
Builder<ListOperationsRequest,ListOperationsResponse>

listUsableSubnetworksSettings()

public PagedCallSettings.Builder<ListUsableSubnetworksRequest,ListUsableSubnetworksResponse,ClusterManagerClient.ListUsableSubnetworksPagedResponse> listUsableSubnetworksSettings()

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

Returns
TypeDescription
Builder<ListUsableSubnetworksRequest,ListUsableSubnetworksResponse,ListUsableSubnetworksPagedResponse>

rollbackNodePoolUpgradeSettings()

public UnaryCallSettings.Builder<RollbackNodePoolUpgradeRequest,Operation> rollbackNodePoolUpgradeSettings()

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

Returns
TypeDescription
Builder<RollbackNodePoolUpgradeRequest,Operation>

setAddonsConfigSettings()

public UnaryCallSettings.Builder<SetAddonsConfigRequest,Operation> setAddonsConfigSettings()

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

Returns
TypeDescription
Builder<SetAddonsConfigRequest,Operation>

setLabelsSettings()

public UnaryCallSettings.Builder<SetLabelsRequest,Operation> setLabelsSettings()

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

Returns
TypeDescription
Builder<SetLabelsRequest,Operation>

setLegacyAbacSettings()

public UnaryCallSettings.Builder<SetLegacyAbacRequest,Operation> setLegacyAbacSettings()

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

Returns
TypeDescription
Builder<SetLegacyAbacRequest,Operation>

setLocationsSettings() (deprecated)

public UnaryCallSettings.Builder<SetLocationsRequest,Operation> setLocationsSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
TypeDescription
Builder<SetLocationsRequest,Operation>

setLoggingServiceSettings()

public UnaryCallSettings.Builder<SetLoggingServiceRequest,Operation> setLoggingServiceSettings()

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

Returns
TypeDescription
Builder<SetLoggingServiceRequest,Operation>

setMaintenancePolicySettings()

public UnaryCallSettings.Builder<SetMaintenancePolicyRequest,Operation> setMaintenancePolicySettings()

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

Returns
TypeDescription
Builder<SetMaintenancePolicyRequest,Operation>

setMasterAuthSettings()

public UnaryCallSettings.Builder<SetMasterAuthRequest,Operation> setMasterAuthSettings()

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

Returns
TypeDescription
Builder<SetMasterAuthRequest,Operation>

setMonitoringServiceSettings()

public UnaryCallSettings.Builder<SetMonitoringServiceRequest,Operation> setMonitoringServiceSettings()

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

Returns
TypeDescription
Builder<SetMonitoringServiceRequest,Operation>

setNetworkPolicySettings()

public UnaryCallSettings.Builder<SetNetworkPolicyRequest,Operation> setNetworkPolicySettings()

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

Returns
TypeDescription
Builder<SetNetworkPolicyRequest,Operation>

setNodePoolAutoscalingSettings()

public UnaryCallSettings.Builder<SetNodePoolAutoscalingRequest,Operation> setNodePoolAutoscalingSettings()

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

Returns
TypeDescription
Builder<SetNodePoolAutoscalingRequest,Operation>

setNodePoolManagementSettings()

public UnaryCallSettings.Builder<SetNodePoolManagementRequest,Operation> setNodePoolManagementSettings()

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

Returns
TypeDescription
Builder<SetNodePoolManagementRequest,Operation>

setNodePoolSizeSettings()

public UnaryCallSettings.Builder<SetNodePoolSizeRequest,Operation> setNodePoolSizeSettings()

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

Returns
TypeDescription
Builder<SetNodePoolSizeRequest,Operation>

startIPRotationSettings()

public UnaryCallSettings.Builder<StartIPRotationRequest,Operation> startIPRotationSettings()

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

Returns
TypeDescription
Builder<StartIPRotationRequest,Operation>

unaryMethodSettingsBuilders()

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

updateClusterSettings()

public UnaryCallSettings.Builder<UpdateClusterRequest,Operation> updateClusterSettings()

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

Returns
TypeDescription
Builder<UpdateClusterRequest,Operation>

updateMasterSettings()

public UnaryCallSettings.Builder<UpdateMasterRequest,Operation> updateMasterSettings()

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

Returns
TypeDescription
Builder<UpdateMasterRequest,Operation>

updateNodePoolSettings()

public UnaryCallSettings.Builder<UpdateNodePoolRequest,Operation> updateNodePoolSettings()

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

Returns
TypeDescription
Builder<UpdateNodePoolRequest,Operation>