Class TpuStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

        protected Builder​(com.google.api.gax.rpc.ClientContext clientContext)
    • Method Detail

      • applyToAllUnaryMethods

        public TpuStubSettings.Builder applyToAllUnaryMethods​(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.

      • unaryMethodSettingsBuilders

        public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>> unaryMethodSettingsBuilders()
      • getNodeSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNodeRequest,​Node> getNodeSettings()
        Returns the builder for the settings used for calls to getNode.
      • createNodeSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateNodeRequest,​com.google.longrunning.Operation> createNodeSettings()
        Returns the builder for the settings used for calls to createNode.
      • createNodeOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateNodeRequest,​Node,​OperationMetadata> createNodeOperationSettings()
        Returns the builder for the settings used for calls to createNode.
      • deleteNodeSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNodeRequest,​com.google.longrunning.Operation> deleteNodeSettings()
        Returns the builder for the settings used for calls to deleteNode.
      • deleteNodeOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteNodeRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteNodeOperationSettings()
        Returns the builder for the settings used for calls to deleteNode.
      • stopNodeSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<StopNodeRequest,​com.google.longrunning.Operation> stopNodeSettings()
        Returns the builder for the settings used for calls to stopNode.
      • stopNodeOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<StopNodeRequest,​Node,​OperationMetadata> stopNodeOperationSettings()
        Returns the builder for the settings used for calls to stopNode.
      • startNodeSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartNodeRequest,​com.google.longrunning.Operation> startNodeSettings()
        Returns the builder for the settings used for calls to startNode.
      • startNodeOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<StartNodeRequest,​Node,​OperationMetadata> startNodeOperationSettings()
        Returns the builder for the settings used for calls to startNode.
      • updateNodeSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateNodeRequest,​com.google.longrunning.Operation> updateNodeSettings()
        Returns the builder for the settings used for calls to updateNode.
      • updateNodeOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateNodeRequest,​Node,​OperationMetadata> updateNodeOperationSettings()
        Returns the builder for the settings used for calls to updateNode.
      • getAcceleratorTypeSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAcceleratorTypeRequest,​AcceleratorType> getAcceleratorTypeSettings()
        Returns the builder for the settings used for calls to getAcceleratorType.
      • getRuntimeVersionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRuntimeVersionRequest,​RuntimeVersion> getRuntimeVersionSettings()
        Returns the builder for the settings used for calls to getRuntimeVersion.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​TpuClient.ListLocationsPagedResponse> listLocationsSettings()
        Returns the builder for the settings used for calls to listLocations.
      • getLocationSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,​com.google.cloud.location.Location> getLocationSettings()
        Returns the builder for the settings used for calls to getLocation.