Class EdgeContainerSettings.Builder (0.40.0)

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

Builder for EdgeContainerSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > EdgeContainerSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(EdgeContainerSettings settings)

protected Builder(EdgeContainerSettings settings)
Parameter
Name Description
settings EdgeContainerSettings

Builder(EdgeContainerStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createClusterOperationSettings()

public OperationCallSettings.Builder<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationSettings()

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

Returns
Type Description
Builder<CreateClusterRequest,Cluster,OperationMetadata>

createClusterSettings()

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

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

Returns
Type Description
Builder<CreateClusterRequest,Operation>

createNodePoolOperationSettings()

public OperationCallSettings.Builder<CreateNodePoolRequest,NodePool,OperationMetadata> createNodePoolOperationSettings()

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

Returns
Type Description
Builder<CreateNodePoolRequest,NodePool,OperationMetadata>

createNodePoolSettings()

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

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

Returns
Type Description
Builder<CreateNodePoolRequest,Operation>

createVpnConnectionOperationSettings()

public OperationCallSettings.Builder<CreateVpnConnectionRequest,VpnConnection,OperationMetadata> createVpnConnectionOperationSettings()

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

Returns
Type Description
Builder<CreateVpnConnectionRequest,VpnConnection,OperationMetadata>

createVpnConnectionSettings()

public UnaryCallSettings.Builder<CreateVpnConnectionRequest,Operation> createVpnConnectionSettings()

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

Returns
Type Description
Builder<CreateVpnConnectionRequest,Operation>

deleteClusterOperationSettings()

public OperationCallSettings.Builder<DeleteClusterRequest,Empty,OperationMetadata> deleteClusterOperationSettings()

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

Returns
Type Description
Builder<DeleteClusterRequest,Empty,OperationMetadata>

deleteClusterSettings()

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

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

Returns
Type Description
Builder<DeleteClusterRequest,Operation>

deleteNodePoolOperationSettings()

public OperationCallSettings.Builder<DeleteNodePoolRequest,Empty,OperationMetadata> deleteNodePoolOperationSettings()

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

Returns
Type Description
Builder<DeleteNodePoolRequest,Empty,OperationMetadata>

deleteNodePoolSettings()

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

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

Returns
Type Description
Builder<DeleteNodePoolRequest,Operation>

deleteVpnConnectionOperationSettings()

public OperationCallSettings.Builder<DeleteVpnConnectionRequest,Empty,OperationMetadata> deleteVpnConnectionOperationSettings()

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

Returns
Type Description
Builder<DeleteVpnConnectionRequest,Empty,OperationMetadata>

deleteVpnConnectionSettings()

public UnaryCallSettings.Builder<DeleteVpnConnectionRequest,Operation> deleteVpnConnectionSettings()

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

Returns
Type Description
Builder<DeleteVpnConnectionRequest,Operation>

generateAccessTokenSettings()

public UnaryCallSettings.Builder<GenerateAccessTokenRequest,GenerateAccessTokenResponse> generateAccessTokenSettings()

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

Returns
Type Description
Builder<GenerateAccessTokenRequest,GenerateAccessTokenResponse>

generateOfflineCredentialSettings()

public UnaryCallSettings.Builder<GenerateOfflineCredentialRequest,GenerateOfflineCredentialResponse> generateOfflineCredentialSettings()

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

Returns
Type Description
Builder<GenerateOfflineCredentialRequest,GenerateOfflineCredentialResponse>

getClusterSettings()

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

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

Returns
Type Description
Builder<GetClusterRequest,Cluster>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getMachineSettings()

public UnaryCallSettings.Builder<GetMachineRequest,Machine> getMachineSettings()

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

Returns
Type Description
Builder<GetMachineRequest,Machine>

getNodePoolSettings()

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

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

Returns
Type Description
Builder<GetNodePoolRequest,NodePool>

getServerConfigSettings()

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

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

Returns
Type Description
Builder<GetServerConfigRequest,ServerConfig>

getStubSettingsBuilder()

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

getVpnConnectionSettings()

public UnaryCallSettings.Builder<GetVpnConnectionRequest,VpnConnection> getVpnConnectionSettings()

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

Returns
Type Description
Builder<GetVpnConnectionRequest,VpnConnection>

listClustersSettings()

public PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse,EdgeContainerClient.ListClustersPagedResponse> listClustersSettings()

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

Returns
Type Description
Builder<ListClustersRequest,ListClustersResponse,ListClustersPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,EdgeContainerClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listMachinesSettings()

public PagedCallSettings.Builder<ListMachinesRequest,ListMachinesResponse,EdgeContainerClient.ListMachinesPagedResponse> listMachinesSettings()

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

Returns
Type Description
Builder<ListMachinesRequest,ListMachinesResponse,ListMachinesPagedResponse>

listNodePoolsSettings()

public PagedCallSettings.Builder<ListNodePoolsRequest,ListNodePoolsResponse,EdgeContainerClient.ListNodePoolsPagedResponse> listNodePoolsSettings()

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

Returns
Type Description
Builder<ListNodePoolsRequest,ListNodePoolsResponse,ListNodePoolsPagedResponse>

listVpnConnectionsSettings()

public PagedCallSettings.Builder<ListVpnConnectionsRequest,ListVpnConnectionsResponse,EdgeContainerClient.ListVpnConnectionsPagedResponse> listVpnConnectionsSettings()

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

Returns
Type Description
Builder<ListVpnConnectionsRequest,ListVpnConnectionsResponse,ListVpnConnectionsPagedResponse>

updateClusterOperationSettings()

public OperationCallSettings.Builder<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationSettings()

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

Returns
Type Description
Builder<UpdateClusterRequest,Cluster,OperationMetadata>

updateClusterSettings()

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

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

Returns
Type Description
Builder<UpdateClusterRequest,Operation>

updateNodePoolOperationSettings()

public OperationCallSettings.Builder<UpdateNodePoolRequest,NodePool,OperationMetadata> updateNodePoolOperationSettings()

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

Returns
Type Description
Builder<UpdateNodePoolRequest,NodePool,OperationMetadata>

updateNodePoolSettings()

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

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

Returns
Type Description
Builder<UpdateNodePoolRequest,Operation>

upgradeClusterOperationSettings()

public OperationCallSettings.Builder<UpgradeClusterRequest,Cluster,OperationMetadata> upgradeClusterOperationSettings()

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

Returns
Type Description
Builder<UpgradeClusterRequest,Cluster,OperationMetadata>

upgradeClusterSettings()

public UnaryCallSettings.Builder<UpgradeClusterRequest,Operation> upgradeClusterSettings()

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

Returns
Type Description
Builder<UpgradeClusterRequest,Operation>