Class SpannerSettings.Builder

    • Method Detail

      • applyToAllUnaryMethods

        public SpannerSettings.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.

      • createSessionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSessionRequest,​Session> createSessionSettings()
        Returns the builder for the settings used for calls to createSession.
      • getSessionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSessionRequest,​Session> getSessionSettings()
        Returns the builder for the settings used for calls to getSession.
      • deleteSessionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSessionRequest,​com.google.protobuf.Empty> deleteSessionSettings()
        Returns the builder for the settings used for calls to deleteSession.
      • executeSqlSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExecuteSqlRequest,​ResultSet> executeSqlSettings()
        Returns the builder for the settings used for calls to executeSql.
      • executeStreamingSqlSettings

        public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<ExecuteSqlRequest,​PartialResultSet> executeStreamingSqlSettings()
        Returns the builder for the settings used for calls to executeStreamingSql.
      • executeBatchDmlSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExecuteBatchDmlRequest,​ExecuteBatchDmlResponse> executeBatchDmlSettings()
        Returns the builder for the settings used for calls to executeBatchDml.
      • readSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ReadRequest,​ResultSet> readSettings()
        Returns the builder for the settings used for calls to read.
      • streamingReadSettings

        public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<ReadRequest,​PartialResultSet> streamingReadSettings()
        Returns the builder for the settings used for calls to streamingRead.
      • beginTransactionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<BeginTransactionRequest,​Transaction> beginTransactionSettings()
        Returns the builder for the settings used for calls to beginTransaction.
      • commitSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CommitRequest,​CommitResponse> commitSettings()
        Returns the builder for the settings used for calls to commit.
      • rollbackSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<RollbackRequest,​com.google.protobuf.Empty> rollbackSettings()
        Returns the builder for the settings used for calls to rollback.
      • partitionQuerySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<PartitionQueryRequest,​PartitionResponse> partitionQuerySettings()
        Returns the builder for the settings used for calls to partitionQuery.
      • partitionReadSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<PartitionReadRequest,​PartitionResponse> partitionReadSettings()
        Returns the builder for the settings used for calls to partitionRead.