@Generated(value="by gapic-generator-java") public class EdgeContainerSettings extends com.google.api.gax.rpc.ClientSettings<EdgeContainerSettings>
EdgeContainerClient.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of getCluster to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
EdgeContainerSettings.Builder edgeContainerSettingsBuilder = EdgeContainerSettings.newBuilder();
edgeContainerSettingsBuilder
.getClusterSettings()
.setRetrySettings(
edgeContainerSettingsBuilder
.getClusterSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
EdgeContainerSettings edgeContainerSettings = edgeContainerSettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
EdgeContainerSettings.Builder
Builder for EdgeContainerSettings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
EdgeContainerSettings(EdgeContainerSettings.Builder settingsBuilder) |
| Modifier and Type | Method and Description |
|---|---|
static EdgeContainerSettings |
create(EdgeContainerStubSettings stub) |
com.google.api.gax.rpc.OperationCallSettings<CreateClusterRequest,Cluster,OperationMetadata> |
createClusterOperationSettings()
Returns the object with the settings used for calls to createCluster.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateClusterRequest,com.google.longrunning.Operation> |
createClusterSettings()
Returns the object with the settings used for calls to createCluster.
|
com.google.api.gax.rpc.OperationCallSettings<CreateNodePoolRequest,NodePool,OperationMetadata> |
createNodePoolOperationSettings()
Returns the object with the settings used for calls to createNodePool.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateNodePoolRequest,com.google.longrunning.Operation> |
createNodePoolSettings()
Returns the object with the settings used for calls to createNodePool.
|
com.google.api.gax.rpc.OperationCallSettings<CreateVpnConnectionRequest,VpnConnection,OperationMetadata> |
createVpnConnectionOperationSettings()
Returns the object with the settings used for calls to createVpnConnection.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateVpnConnectionRequest,com.google.longrunning.Operation> |
createVpnConnectionSettings()
Returns the object with the settings used for calls to createVpnConnection.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
|
static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder |
defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.OperationCallSettings<DeleteClusterRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteClusterOperationSettings()
Returns the object with the settings used for calls to deleteCluster.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteClusterRequest,com.google.longrunning.Operation> |
deleteClusterSettings()
Returns the object with the settings used for calls to deleteCluster.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteNodePoolRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteNodePoolOperationSettings()
Returns the object with the settings used for calls to deleteNodePool.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteNodePoolRequest,com.google.longrunning.Operation> |
deleteNodePoolSettings()
Returns the object with the settings used for calls to deleteNodePool.
|
com.google.api.gax.rpc.OperationCallSettings<DeleteVpnConnectionRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteVpnConnectionOperationSettings()
Returns the object with the settings used for calls to deleteVpnConnection.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteVpnConnectionRequest,com.google.longrunning.Operation> |
deleteVpnConnectionSettings()
Returns the object with the settings used for calls to deleteVpnConnection.
|
com.google.api.gax.rpc.UnaryCallSettings<GenerateAccessTokenRequest,GenerateAccessTokenResponse> |
generateAccessTokenSettings()
Returns the object with the settings used for calls to generateAccessToken.
|
com.google.api.gax.rpc.UnaryCallSettings<GetClusterRequest,Cluster> |
getClusterSettings()
Returns the object with the settings used for calls to getCluster.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetMachineRequest,Machine> |
getMachineSettings()
Returns the object with the settings used for calls to getMachine.
|
com.google.api.gax.rpc.UnaryCallSettings<GetNodePoolRequest,NodePool> |
getNodePoolSettings()
Returns the object with the settings used for calls to getNodePool.
|
com.google.api.gax.rpc.UnaryCallSettings<GetVpnConnectionRequest,VpnConnection> |
getVpnConnectionSettings()
Returns the object with the settings used for calls to getVpnConnection.
|
com.google.api.gax.rpc.PagedCallSettings<ListClustersRequest,ListClustersResponse,EdgeContainerClient.ListClustersPagedResponse> |
listClustersSettings()
Returns the object with the settings used for calls to listClusters.
|
com.google.api.gax.rpc.PagedCallSettings<ListMachinesRequest,ListMachinesResponse,EdgeContainerClient.ListMachinesPagedResponse> |
listMachinesSettings()
Returns the object with the settings used for calls to listMachines.
|
com.google.api.gax.rpc.PagedCallSettings<ListNodePoolsRequest,ListNodePoolsResponse,EdgeContainerClient.ListNodePoolsPagedResponse> |
listNodePoolsSettings()
Returns the object with the settings used for calls to listNodePools.
|
com.google.api.gax.rpc.PagedCallSettings<ListVpnConnectionsRequest,ListVpnConnectionsResponse,EdgeContainerClient.ListVpnConnectionsPagedResponse> |
listVpnConnectionsSettings()
Returns the object with the settings used for calls to listVpnConnections.
|
static EdgeContainerSettings.Builder |
newBuilder()
Returns a new gRPC builder for this class.
|
static EdgeContainerSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
static EdgeContainerSettings.Builder |
newHttpJsonBuilder()
Returns a new REST builder for this class.
|
EdgeContainerSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateClusterRequest,Cluster,OperationMetadata> |
updateClusterOperationSettings()
Returns the object with the settings used for calls to updateCluster.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateClusterRequest,com.google.longrunning.Operation> |
updateClusterSettings()
Returns the object with the settings used for calls to updateCluster.
|
com.google.api.gax.rpc.OperationCallSettings<UpdateNodePoolRequest,NodePool,OperationMetadata> |
updateNodePoolOperationSettings()
Returns the object with the settings used for calls to updateNodePool.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateNodePoolRequest,com.google.longrunning.Operation> |
updateNodePoolSettings()
Returns the object with the settings used for calls to updateNodePool.
|
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toStringprotected EdgeContainerSettings(EdgeContainerSettings.Builder settingsBuilder) throws IOException
IOExceptionpublic com.google.api.gax.rpc.PagedCallSettings<ListClustersRequest,ListClustersResponse,EdgeContainerClient.ListClustersPagedResponse> listClustersSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetClusterRequest,Cluster> getClusterSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateClusterRequest,com.google.longrunning.Operation> createClusterSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateClusterRequest,com.google.longrunning.Operation> updateClusterSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteClusterRequest,com.google.longrunning.Operation> deleteClusterSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteClusterRequest,com.google.protobuf.Empty,OperationMetadata> deleteClusterOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GenerateAccessTokenRequest,GenerateAccessTokenResponse> generateAccessTokenSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListNodePoolsRequest,ListNodePoolsResponse,EdgeContainerClient.ListNodePoolsPagedResponse> listNodePoolsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetNodePoolRequest,NodePool> getNodePoolSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateNodePoolRequest,com.google.longrunning.Operation> createNodePoolSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateNodePoolRequest,NodePool,OperationMetadata> createNodePoolOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateNodePoolRequest,com.google.longrunning.Operation> updateNodePoolSettings()
public com.google.api.gax.rpc.OperationCallSettings<UpdateNodePoolRequest,NodePool,OperationMetadata> updateNodePoolOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteNodePoolRequest,com.google.longrunning.Operation> deleteNodePoolSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteNodePoolRequest,com.google.protobuf.Empty,OperationMetadata> deleteNodePoolOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListMachinesRequest,ListMachinesResponse,EdgeContainerClient.ListMachinesPagedResponse> listMachinesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetMachineRequest,Machine> getMachineSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListVpnConnectionsRequest,ListVpnConnectionsResponse,EdgeContainerClient.ListVpnConnectionsPagedResponse> listVpnConnectionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetVpnConnectionRequest,VpnConnection> getVpnConnectionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateVpnConnectionRequest,com.google.longrunning.Operation> createVpnConnectionSettings()
public com.google.api.gax.rpc.OperationCallSettings<CreateVpnConnectionRequest,VpnConnection,OperationMetadata> createVpnConnectionOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteVpnConnectionRequest,com.google.longrunning.Operation> deleteVpnConnectionSettings()
public com.google.api.gax.rpc.OperationCallSettings<DeleteVpnConnectionRequest,com.google.protobuf.Empty,OperationMetadata> deleteVpnConnectionOperationSettings()
public static final EdgeContainerSettings create(EdgeContainerStubSettings stub) throws IOException
IOExceptionpublic static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
@BetaApi public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static EdgeContainerSettings.Builder newBuilder()
@BetaApi public static EdgeContainerSettings.Builder newHttpJsonBuilder()
public static EdgeContainerSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public EdgeContainerSettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.ClientSettings<EdgeContainerSettings>Copyright © 2023 Google LLC. All rights reserved.