Package com.google.cloud.tpu.v1
Class TpuSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<TpuSettings,TpuSettings.Builder>
com.google.cloud.tpu.v1.TpuSettings.Builder
- Enclosing class:
- TpuSettings
public static class TpuSettings.Builder
extends ClientSettings.Builder<TpuSettings,TpuSettings.Builder>
Builder for TpuSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(TpuStubSettings.Builder stubSettings) protectedBuilder(TpuSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createNode.Returns the builder for the settings used for calls to createNode.Returns the builder for the settings used for calls to deleteNode.Returns the builder for the settings used for calls to deleteNode.Returns the builder for the settings used for calls to getAcceleratorType.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getNode.Returns the builder for the settings used for calls to getTensorFlowVersion.PagedCallSettings.Builder<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse, TpuClient.ListAcceleratorTypesPagedResponse> Returns the builder for the settings used for calls to listAcceleratorTypes.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, TpuClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.Returns the builder for the settings used for calls to listNodes.PagedCallSettings.Builder<ListTensorFlowVersionsRequest,ListTensorFlowVersionsResponse, TpuClient.ListTensorFlowVersionsPagedResponse> Returns the builder for the settings used for calls to listTensorFlowVersions.Returns the builder for the settings used for calls to reimageNode.Returns the builder for the settings used for calls to reimageNode.Returns the builder for the settings used for calls to startNode.Returns the builder for the settings used for calls to startNode.Returns the builder for the settings used for calls to stopNode.Returns the builder for the settings used for calls to stopNode.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public TpuSettings.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.
-
listNodesSettings
public PagedCallSettings.Builder<ListNodesRequest,ListNodesResponse, listNodesSettings()TpuClient.ListNodesPagedResponse> Returns the builder for the settings used for calls to listNodes. -
getNodeSettings
Returns the builder for the settings used for calls to getNode. -
createNodeSettings
Returns the builder for the settings used for calls to createNode. -
createNodeOperationSettings
public OperationCallSettings.Builder<CreateNodeRequest,Node, createNodeOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createNode. -
deleteNodeSettings
Returns the builder for the settings used for calls to deleteNode. -
deleteNodeOperationSettings
public OperationCallSettings.Builder<DeleteNodeRequest,Node, deleteNodeOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteNode. -
reimageNodeSettings
Returns the builder for the settings used for calls to reimageNode. -
reimageNodeOperationSettings
public OperationCallSettings.Builder<ReimageNodeRequest,Node, reimageNodeOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to reimageNode. -
stopNodeSettings
Returns the builder for the settings used for calls to stopNode. -
stopNodeOperationSettings
public OperationCallSettings.Builder<StopNodeRequest,Node, stopNodeOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to stopNode. -
startNodeSettings
Returns the builder for the settings used for calls to startNode. -
startNodeOperationSettings
public OperationCallSettings.Builder<StartNodeRequest,Node, startNodeOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to startNode. -
listTensorFlowVersionsSettings
public PagedCallSettings.Builder<ListTensorFlowVersionsRequest,ListTensorFlowVersionsResponse, listTensorFlowVersionsSettings()TpuClient.ListTensorFlowVersionsPagedResponse> Returns the builder for the settings used for calls to listTensorFlowVersions. -
getTensorFlowVersionSettings
public UnaryCallSettings.Builder<GetTensorFlowVersionRequest,TensorFlowVersion> getTensorFlowVersionSettings()Returns the builder for the settings used for calls to getTensorFlowVersion. -
listAcceleratorTypesSettings
public PagedCallSettings.Builder<ListAcceleratorTypesRequest,ListAcceleratorTypesResponse, listAcceleratorTypesSettings()TpuClient.ListAcceleratorTypesPagedResponse> Returns the builder for the settings used for calls to listAcceleratorTypes. -
getAcceleratorTypeSettings
public UnaryCallSettings.Builder<GetAcceleratorTypeRequest,AcceleratorType> getAcceleratorTypeSettings()Returns the builder for the settings used for calls to getAcceleratorType. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()TpuClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classClientSettings.Builder<TpuSettings,TpuSettings.Builder> - Throws:
IOException
-