Class EdgeContainerSettings
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings<EdgeContainerSettings>
-
- com.google.cloud.edgecontainer.v1.EdgeContainerSettings
-
@Generated("by gapic-generator-java") public class EdgeContainerSettings extends com.google.api.gax.rpc.ClientSettings<EdgeContainerSettings>
Settings class to configure an instance ofEdgeContainerClient
.The default instance has everything set to sensible defaults:
- The default service address (edgecontainer.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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();
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EdgeContainerSettings.Builder
Builder for EdgeContainerSettings.
-
Constructor Summary
Constructors Modifier Constructor Description protected
EdgeContainerSettings(EdgeContainerSettings.Builder settingsBuilder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings
getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
EdgeContainerSettings
protected EdgeContainerSettings(EdgeContainerSettings.Builder settingsBuilder) throws IOException
- Throws:
IOException
-
-
Method Detail
-
listClustersSettings
public com.google.api.gax.rpc.PagedCallSettings<ListClustersRequest,ListClustersResponse,EdgeContainerClient.ListClustersPagedResponse> listClustersSettings()
Returns the object with the settings used for calls to listClusters.
-
getClusterSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetClusterRequest,Cluster> getClusterSettings()
Returns the object with the settings used for calls to getCluster.
-
createClusterSettings
public com.google.api.gax.rpc.UnaryCallSettings<CreateClusterRequest,com.google.longrunning.Operation> createClusterSettings()
Returns the object with the settings used for calls to createCluster.
-
createClusterOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationSettings()
Returns the object with the settings used for calls to createCluster.
-
updateClusterSettings
public com.google.api.gax.rpc.UnaryCallSettings<UpdateClusterRequest,com.google.longrunning.Operation> updateClusterSettings()
Returns the object with the settings used for calls to updateCluster.
-
updateClusterOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationSettings()
Returns the object with the settings used for calls to updateCluster.
-
deleteClusterSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteClusterRequest,com.google.longrunning.Operation> deleteClusterSettings()
Returns the object with the settings used for calls to deleteCluster.
-
deleteClusterOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DeleteClusterRequest,com.google.protobuf.Empty,OperationMetadata> deleteClusterOperationSettings()
Returns the object with the settings used for calls to deleteCluster.
-
generateAccessTokenSettings
public com.google.api.gax.rpc.UnaryCallSettings<GenerateAccessTokenRequest,GenerateAccessTokenResponse> generateAccessTokenSettings()
Returns the object with the settings used for calls to generateAccessToken.
-
listNodePoolsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListNodePoolsRequest,ListNodePoolsResponse,EdgeContainerClient.ListNodePoolsPagedResponse> listNodePoolsSettings()
Returns the object with the settings used for calls to listNodePools.
-
getNodePoolSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetNodePoolRequest,NodePool> getNodePoolSettings()
Returns the object with the settings used for calls to getNodePool.
-
createNodePoolSettings
public com.google.api.gax.rpc.UnaryCallSettings<CreateNodePoolRequest,com.google.longrunning.Operation> createNodePoolSettings()
Returns the object with the settings used for calls to createNodePool.
-
createNodePoolOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<CreateNodePoolRequest,NodePool,OperationMetadata> createNodePoolOperationSettings()
Returns the object with the settings used for calls to createNodePool.
-
updateNodePoolSettings
public com.google.api.gax.rpc.UnaryCallSettings<UpdateNodePoolRequest,com.google.longrunning.Operation> updateNodePoolSettings()
Returns the object with the settings used for calls to updateNodePool.
-
updateNodePoolOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<UpdateNodePoolRequest,NodePool,OperationMetadata> updateNodePoolOperationSettings()
Returns the object with the settings used for calls to updateNodePool.
-
deleteNodePoolSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteNodePoolRequest,com.google.longrunning.Operation> deleteNodePoolSettings()
Returns the object with the settings used for calls to deleteNodePool.
-
deleteNodePoolOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DeleteNodePoolRequest,com.google.protobuf.Empty,OperationMetadata> deleteNodePoolOperationSettings()
Returns the object with the settings used for calls to deleteNodePool.
-
listMachinesSettings
public com.google.api.gax.rpc.PagedCallSettings<ListMachinesRequest,ListMachinesResponse,EdgeContainerClient.ListMachinesPagedResponse> listMachinesSettings()
Returns the object with the settings used for calls to listMachines.
-
getMachineSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetMachineRequest,Machine> getMachineSettings()
Returns the object with the settings used for calls to getMachine.
-
listVpnConnectionsSettings
public com.google.api.gax.rpc.PagedCallSettings<ListVpnConnectionsRequest,ListVpnConnectionsResponse,EdgeContainerClient.ListVpnConnectionsPagedResponse> listVpnConnectionsSettings()
Returns the object with the settings used for calls to listVpnConnections.
-
getVpnConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings<GetVpnConnectionRequest,VpnConnection> getVpnConnectionSettings()
Returns the object with the settings used for calls to getVpnConnection.
-
createVpnConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings<CreateVpnConnectionRequest,com.google.longrunning.Operation> createVpnConnectionSettings()
Returns the object with the settings used for calls to createVpnConnection.
-
createVpnConnectionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<CreateVpnConnectionRequest,VpnConnection,OperationMetadata> createVpnConnectionOperationSettings()
Returns the object with the settings used for calls to createVpnConnection.
-
deleteVpnConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings<DeleteVpnConnectionRequest,com.google.longrunning.Operation> deleteVpnConnectionSettings()
Returns the object with the settings used for calls to deleteVpnConnection.
-
deleteVpnConnectionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings<DeleteVpnConnectionRequest,com.google.protobuf.Empty,OperationMetadata> deleteVpnConnectionOperationSettings()
Returns the object with the settings used for calls to deleteVpnConnection.
-
create
public static final EdgeContainerSettings create(EdgeContainerStubSettings stub) throws IOException
- Throws:
IOException
-
defaultExecutorProviderBuilder
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
-
getDefaultEndpoint
public static String getDefaultEndpoint()
Returns the default service endpoint.
-
getDefaultServiceScopes
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
-
defaultCredentialsProviderBuilder
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
-
defaultGrpcTransportProviderBuilder
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
-
defaultHttpJsonTransportProviderBuilder
@BetaApi public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
-
defaultTransportChannelProvider
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
-
defaultApiClientHeaderProviderBuilder
@BetaApi("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()
-
newBuilder
public static EdgeContainerSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
-
newHttpJsonBuilder
@BetaApi public static EdgeContainerSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
-
newBuilder
public static EdgeContainerSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
-
toBuilder
public EdgeContainerSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.- Specified by:
toBuilder
in classcom.google.api.gax.rpc.ClientSettings<EdgeContainerSettings>
-
-