Class EdgeContainerSettings.Builder (0.18.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
NameDescription
clientContextClientContext

Builder(EdgeContainerSettings settings)

protected Builder(EdgeContainerSettings settings)
Parameter
NameDescription
settingsEdgeContainerSettings

Builder(EdgeContainerStubSettings.Builder stubSettings)

protected Builder(EdgeContainerStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsEdgeContainerStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
EdgeContainerSettings.Builder

build()

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

createClusterOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateClusterRequest,Cluster,OperationMetadata>

createClusterSettings()

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

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

Returns
TypeDescription
Builder<CreateClusterRequest,Operation>

createNodePoolOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateNodePoolRequest,NodePool,OperationMetadata>

createNodePoolSettings()

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

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

Returns
TypeDescription
Builder<CreateNodePoolRequest,Operation>

createVpnConnectionOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateVpnConnectionRequest,VpnConnection,OperationMetadata>

createVpnConnectionSettings()

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

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

Returns
TypeDescription
Builder<CreateVpnConnectionRequest,Operation>

deleteClusterOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteClusterRequest,Empty,OperationMetadata>

deleteClusterSettings()

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

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

Returns
TypeDescription
Builder<DeleteClusterRequest,Operation>

deleteNodePoolOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteNodePoolRequest,Empty,OperationMetadata>

deleteNodePoolSettings()

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

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

Returns
TypeDescription
Builder<DeleteNodePoolRequest,Operation>

deleteVpnConnectionOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteVpnConnectionRequest,Empty,OperationMetadata>

deleteVpnConnectionSettings()

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

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

Returns
TypeDescription
Builder<DeleteVpnConnectionRequest,Operation>

generateAccessTokenSettings()

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

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

Returns
TypeDescription
Builder<GenerateAccessTokenRequest,GenerateAccessTokenResponse>

getClusterSettings()

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

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

Returns
TypeDescription
Builder<GetClusterRequest,Cluster>

getMachineSettings()

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

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

Returns
TypeDescription
Builder<GetMachineRequest,Machine>

getNodePoolSettings()

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

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

Returns
TypeDescription
Builder<GetNodePoolRequest,NodePool>

getStubSettingsBuilder()

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

getVpnConnectionSettings()

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

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

Returns
TypeDescription
Builder<GetVpnConnectionRequest,VpnConnection>

listClustersSettings()

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

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

Returns
TypeDescription
Builder<ListClustersRequest,ListClustersResponse,ListClustersPagedResponse>

listMachinesSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListVpnConnectionsRequest,ListVpnConnectionsResponse,ListVpnConnectionsPagedResponse>

updateClusterOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateClusterRequest,Cluster,OperationMetadata>

updateClusterSettings()

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

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

Returns
TypeDescription
Builder<UpdateClusterRequest,Operation>

updateNodePoolOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateNodePoolRequest,NodePool,OperationMetadata>

updateNodePoolSettings()

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

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

Returns
TypeDescription
Builder<UpdateNodePoolRequest,Operation>